blob: a8974c79a6be2210278dbe0f82e0a59a32f6c7d2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# $OpenBSD: Makefile,v 1.1 2020/01/21 16:24:55 mpi Exp $
PROG= btrace
MAN= bt.5 btrace.8
SRCS= bt_parse.y btrace.c ksyms.c map.c printf.c
# Use syscall names generated from sys/kern/makesyscalls.sh
SRCS+= syscalls.c
CFLAGS+= -DPTRACE -DKTRACE -DACCOUNTING -DNFSCLIENT -DSYSVSHM -DSYSVSEM
CFLAGS+= -DSYSVMSG
.PATH: ${.CURDIR}/../../sys/kern
CFLAGS+= -W -Wall -Wstrict-prototypes -Wno-unused -Wunused-variable
CFLAGS+= -I${.CURDIR}
LDADD+= -lelf
DPADD+= ${LIBELF}
DEBUG?= -g
.include <bsd.prog.mk>
|