]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - usr.bin/nm/Makefile
Update to bmake-20240108
[FreeBSD/FreeBSD.git] / usr.bin / nm / Makefile
1
2 .include <src.opts.mk>
3
4 PACKAGE=        elftoolchain
5
6 ELFTCDIR=       ${SRCTOP}/contrib/elftoolchain
7 NMDIR=          ${ELFTCDIR}/nm
8
9 .PATH: ${NMDIR}
10
11 PROG=   nm
12
13 LIBADD= dwarf elftc elf
14
15 .if ${MK_CASPER} != "no" && !defined(BOOTSTRAPPING) && !defined(NXB_TARGET)
16 LIBADD+=        casper
17 LIBADD+=        cap_fileargs
18 CFLAGS+=        -DWITH_CASPER
19 .endif
20
21 CFLAGS+=-I${ELFTCDIR}/libelftc -I${ELFTCDIR}/common
22
23 .include <bsd.prog.mk>