1.include "../../Makefile.inc1" 2.include "../Makefile.block2" 3 4.PATH: ${SRCDIR}/binutils ${SRCDIR}/binutils/doc 5 6PROG= nm 7SRCS= nm.c 8MFILE= nm${MANPAGEVER}.1 9MAN= ${MFILE} 10LDADD= ${STD_LDADD} -lz 11 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) 15.undef NOSHARED 16.endif 17 18${MFILE}: ${SRCDIR}/binutils/doc/nm.1 19 cp ${.ALLSRC} ${.TARGET} 20 21CLEANFILES+= ${MFILE} 22 23.if defined(IS_PRIMARY) 24MLINKS+= ${MFILE} nm.1 25.endif 26 27.include <bsd.prog.mk> 28