5 ELFTCDIR= ${SRCTOP}/contrib/elftoolchain
6 ELFCOPYDIR= ${ELFTCDIR}/elfcopy
10 .if ${MK_ELFCOPY_AS_OBJCOPY} != "no"
13 sed -e 's/\.Dt ELFCOPY 1/.Dt OBJCOPY 1/' \
14 -e 's/\.Nm elfcopy/.Nm objcopy/' < ${.ALLSRC} > ${.TARGET}
15 CLEANFILES+= objcopy.1
20 SRCS= archive.c ascii.c binary.c main.c pe.c sections.c segments.c symbols.c
24 LIBADD= archive elftc elf pe
26 CFLAGS+=-I${ELFTCDIR}/libelftc -I${ELFTCDIR}/libpe -I${ELFTCDIR}/common
29 MAN= ${PROG}.1 strip.1
31 LINKS= ${BINDIR}/${PROG} ${BINDIR}/strip
33 .include <bsd.prog.mk>