1.include "../../Makefile.inc1" 2.include "../Makefile.block2" 3 4.PATH: ${SRCDIR}/binutils ${SRCDIR}/binutils/doc 5 6PROG= strip 7SRCS= objcopy.c is-strip.c rename.c ${WRITE_DEBUG_SRCS} 8MFILE= strip${MANPAGEVER}.1 9MAN= ${MFILE} 10LDADD= ${STD_LDADD} -lz 11# install(1) might call strip(1) on itself 12INSTALLFLAGS= -S 13 14DEBUG_SRCS= rddbg.c debug.c stabs.c ieee.c rdcoff.c 15WRITE_DEBUG_SRCS= ${DEBUG_SRCS} wrstabs.c 16 17${MFILE}: ${SRCDIR}/binutils/doc/strip.1 18 cp ${.ALLSRC} ${.TARGET} 19 20CLEANFILES+= ${MFILE} 21 22.if defined(IS_PRIMARY) 23MLINKS+= ${MFILE} strip.1 24.endif 25 26.include <bsd.prog.mk> 27