elfcopy: enable PE and EFI support

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Ed Maste 2016-02-12 21:15:31 +00:00
parent c1da297433
commit 715f438b42

View File

@ -17,13 +17,14 @@ CLEANFILES+= objcopy.1
PROG= elfcopy
.endif
SRCS= archive.c ascii.c binary.c main.c sections.c segments.c symbols.c
SRCS= archive.c ascii.c binary.c main.c pe.c sections.c segments.c symbols.c
WARNS?= 5
LIBADD= archive elftc elf
LIBADD= archive elftc elf pe
CFLAGS+=-I${ELFTCDIR}/libelftc -I${ELFTCDIR}/common
CFLAGS+=-I${ELFTCDIR}/libelftc -I${ELFTCDIR}/libpe -I${ELFTCDIR}/common
CFLAGS+=-DWITH_PE=1
MAN= ${PROG}.1 strip.1