diff options
author | emaste <emaste@FreeBSD.org> | 2016-02-12 21:15:31 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2016-02-12 21:15:31 +0000 |
commit | 5e2392fbf9eeeee4d3dfc91390f7fa4a7ea99eac (patch) | |
tree | c567663b464704375c3ae15f286b05bcdfb6fb5f /usr.bin | |
parent | 3c199a1603840b41f079ef2a95ca07b300fbd844 (diff) | |
download | FreeBSD-src-5e2392fbf9eeeee4d3dfc91390f7fa4a7ea99eac.zip FreeBSD-src-5e2392fbf9eeeee4d3dfc91390f7fa4a7ea99eac.tar.gz |
elfcopy: enable PE and EFI support
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/elfcopy/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/elfcopy/Makefile b/usr.bin/elfcopy/Makefile index dc6dd47..0800a0c 100644 --- a/usr.bin/elfcopy/Makefile +++ b/usr.bin/elfcopy/Makefile @@ -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 |