[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / src / usr.sbin / btrace

File: [local] / src / usr.sbin / btrace / Makefile (download)

Revision 1.2, Mon Sep 6 13:37:50 2021 UTC (2 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, HEAD
Changes since 1.1: +2 -2 lines

we do not build binaries -g by default

# $OpenBSD: Makefile,v 1.2 2021/09/06 13:37:50 deraadt 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>