Makefile (298401) | Makefile (301476) |
---|---|
1# $FreeBSD: head/usr.bin/elfcopy/Makefile 298401 2016-04-21 12:58:29Z emaste $ | 1# $FreeBSD: head/usr.bin/elfcopy/Makefile 301476 2016-06-05 23:34:19Z bdrewery $ |
2 3.include <src.opts.mk> 4 5ELFTCDIR= ${SRCTOP}/contrib/elftoolchain 6ELFCOPYDIR= ${ELFTCDIR}/elfcopy 7 8.PATH: ${ELFCOPYDIR} 9 --- 15 unchanged lines hidden (view full) --- 25 26CFLAGS+=-I${ELFTCDIR}/libelftc -I${ELFTCDIR}/libpe -I${ELFTCDIR}/common 27CFLAGS+=-DWITH_PE=1 28 29MAN= ${PROG}.1 strip.1 30 31LINKS= ${BINDIR}/${PROG} ${BINDIR}/strip 32 | 2 3.include <src.opts.mk> 4 5ELFTCDIR= ${SRCTOP}/contrib/elftoolchain 6ELFCOPYDIR= ${ELFTCDIR}/elfcopy 7 8.PATH: ${ELFCOPYDIR} 9 --- 15 unchanged lines hidden (view full) --- 25 26CFLAGS+=-I${ELFTCDIR}/libelftc -I${ELFTCDIR}/libpe -I${ELFTCDIR}/common 27CFLAGS+=-DWITH_PE=1 28 29MAN= ${PROG}.1 strip.1 30 31LINKS= ${BINDIR}/${PROG} ${BINDIR}/strip 32 |
33# This same hack is in lib/libelf/Makefile and usr.bin/readelf/Makefile 34# We need to link against the correct version of these files. One 35# solution is to include ../../sys in the include path. This causes 36# problems when a header file in sys depends on a file in another 37# part of the tree, e.g. a machine dependent header. 38# 39SRCS+= sys/elf_common.h 40CLEANDIRS= sys 41CFLAGS+= -I. 42sys/elf_common.h: ${SRCTOP}/sys/${.TARGET} .NOMETA 43 mkdir -p ${.OBJDIR}/sys 44 ln -sf ${.ALLSRC} ${.TARGET} 45 |
|
33.include <bsd.prog.mk> | 46.include <bsd.prog.mk> |