elfcopy: enable PE and EFI support
Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
c1da297433
commit
715f438b42
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user