aboutsummaryrefslogtreecommitdiff
path: root/lib/libpe/Makefile
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2016-02-12 21:12:47 +0000
committerEd Maste <emaste@FreeBSD.org>2016-02-12 21:12:47 +0000
commitc1da297433fb59835d18e704982748c1404b2542 (patch)
treea21f3ce3a6083f92907d99d0e7f3b716ab9166e0 /lib/libpe/Makefile
parenta4a7c8254c77304e3645de9320176e589de2bfc0 (diff)
downloadsrc-c1da297433fb59835d18e704982748c1404b2542.tar.gz
src-c1da297433fb59835d18e704982748c1404b2542.zip
Add libpe for elfcopy(1) PE/COFF support
Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/head/; revision=295581
Diffstat (limited to 'lib/libpe/Makefile')
-rw-r--r--lib/libpe/Makefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/lib/libpe/Makefile b/lib/libpe/Makefile
new file mode 100644
index 000000000000..877b331d1013
--- /dev/null
+++ b/lib/libpe/Makefile
@@ -0,0 +1,34 @@
+# $FreeBSD$
+.include <bsd.own.mk>
+
+INTERNALLIB=
+
+ELFTCDIR= ${.CURDIR}/../../contrib/elftoolchain
+
+.PATH: ${ELFTCDIR}/libpe
+
+LIB= pe
+
+SRCS= libpe_buffer.c \
+ libpe_coff.c \
+ libpe_dos.c \
+ libpe_init.c \
+ libpe_rich.c \
+ libpe_section.c \
+ libpe_utils.c \
+ pe_buffer.c \
+ pe_cntl.c \
+ pe_coff.c \
+ pe_dos.c \
+ pe_flag.c \
+ pe_init.c \
+ pe_rich.c \
+ pe_section.c \
+ pe_symtab.c \
+ pe_update.c
+
+CFLAGS+=-I${ELFTCDIR}/libpe -I${ELFTCDIR}/common
+
+MAN=
+
+.include <bsd.lib.mk>