Author: emaste
Date: Fri Feb 12 21:15:31 2016
New Revision: 295582
URL: https://svnweb.freebsd.org/changeset/base/295582

Log:
  elfcopy: enable PE and EFI support
  
  Sponsored by: The FreeBSD Foundation

Modified:
  head/usr.bin/elfcopy/Makefile

Modified: head/usr.bin/elfcopy/Makefile
==============================================================================
--- head/usr.bin/elfcopy/Makefile       Fri Feb 12 21:12:47 2016        
(r295581)
+++ head/usr.bin/elfcopy/Makefile       Fri Feb 12 21:15:31 2016        
(r295582)
@@ -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
 
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to