1 .include "../../Makefile.inc1"
2 .include "../Makefile.block2"
4 .PATH: ${SRCDIR}/binutils ${SRCDIR}/binutils/doc
8 MFILE= nm${MANPAGEVER}.1
10 LDADD= ${STD_LDADD} -lz
12 # link-time optimization requires dlopen() which means nm cannot be built
13 # statically and also support -plugin, not even for cross-tools.
14 .if !defined(REALLY_NOSHARED)
18 ${MFILE}: ${SRCDIR}/binutils/doc/nm.1
19 cp ${.ALLSRC} ${.TARGET}
23 .if defined(IS_PRIMARY)
24 MLINKS+= ${MFILE} nm.1
27 .include <bsd.prog.mk>