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