freebsd-src/usr.bin/strings/Makefile
Lexi Winter 328110da26 Move toolchain utils to -toolchain package
Move LLVM ar, nm, and size.  Also move elftoolchain strings, which
should have already been there.

The remaining LLVM utilities (including strings) stay in -clang for now
since they're links to other executables.

Reviewed by:	des, dim
Differential Revision:	https://reviews.freebsd.org/D51583
2025-07-28 17:29:29 +01:00

21 lines
369 B
Makefile

.include <src.opts.mk>
PACKAGE= toolchain
ELFTCDIR= ${SRCTOP}/contrib/elftoolchain
.PATH: ${ELFTCDIR}/strings
PROG= strings
LIBADD= elftc elf
.if ${MK_CASPER} != "no" && !defined(BOOTSTRAPPING) && !defined(NXB_TARGET)
LIBADD+= casper
LIBADD+= cap_fileargs
CFLAGS+= -DWITH_CASPER
.endif
CFLAGS+=-I${ELFTCDIR}/libelftc -I${ELFTCDIR}/common
.include <bsd.prog.mk>