Deleted Added
full compact
Makefile (256281) Makefile (267734)
1# $FreeBSD: stable/10/gnu/usr.bin/binutils/libbfd/Makefile 218822 2011-02-18 20:54:12Z dim $
1# $FreeBSD: stable/10/gnu/usr.bin/binutils/libbfd/Makefile 267734 2014-06-22 16:48:21Z gavin $
2
3.include "../Makefile.inc0"
4
5.PATH: ${SRCDIR}/bfd ${SRCDIR}/opcodes
6
7LIB= bfd
8SRCS+= archive.c \
9 archive64.c \

--- 69 unchanged lines hidden (view full) ---

79CFLAGS+= -DDEFAULT_VECTOR=${DEFAULT_VECTOR}
80CFLAGS+= -DDEBUGDIR="NULL"
81
82# XXX:DEO should grab BFD_VERSION_DATE from ${VERSION}...
83bfdver.h: Makefile
84 echo '#define BFD_VERSION 217500000' > ${.TARGET}
85 echo '#define BFD_VERSION_DATE 20070703' >> ${.TARGET}
86 echo '#define BFD_VERSION_STRING ${VERSION}' >> ${.TARGET}
2
3.include "../Makefile.inc0"
4
5.PATH: ${SRCDIR}/bfd ${SRCDIR}/opcodes
6
7LIB= bfd
8SRCS+= archive.c \
9 archive64.c \

--- 69 unchanged lines hidden (view full) ---

79CFLAGS+= -DDEFAULT_VECTOR=${DEFAULT_VECTOR}
80CFLAGS+= -DDEBUGDIR="NULL"
81
82# XXX:DEO should grab BFD_VERSION_DATE from ${VERSION}...
83bfdver.h: Makefile
84 echo '#define BFD_VERSION 217500000' > ${.TARGET}
85 echo '#define BFD_VERSION_DATE 20070703' >> ${.TARGET}
86 echo '#define BFD_VERSION_STRING ${VERSION}' >> ${.TARGET}
87 echo '#define REPORT_BUGS_TO "<http://www.freebsd.org/send-pr.html>"' >> ${.TARGET}
87 echo '#define REPORT_BUGS_TO "<http://www.freebsd.org/support.html>"' >> ${.TARGET}
88
89targmatch.h: targmatch.sed config.bfd
90 sed -f ${.ALLSRC:M*.sed} ${.ALLSRC:M*.bfd} > ${.TARGET}
91
92config.h: config.h.fbsd
93.if ${TARGET_ARCH} == "i386"
94 sed -e 's,!!TRAD_HEADER!!,"hosts/i386bsd.h",g' ${.ALLSRC} > ${.TARGET}
95.else
96 sed -e 's,!!TRAD_HEADER!!,,g' ${.ALLSRC} > ${.TARGET}
97.endif
98
99CLEANFILES+= elf32-target.h elf64-target.h
100elf32-target.h: elfxx-target.h
101 sed -e s/NN/32/g ${.ALLSRC} > ${.TARGET}
102
103elf64-target.h: elfxx-target.h
104 sed -e s/NN/64/g ${.ALLSRC} > ${.TARGET}
105
106.include <bsd.lib.mk>
88
89targmatch.h: targmatch.sed config.bfd
90 sed -f ${.ALLSRC:M*.sed} ${.ALLSRC:M*.bfd} > ${.TARGET}
91
92config.h: config.h.fbsd
93.if ${TARGET_ARCH} == "i386"
94 sed -e 's,!!TRAD_HEADER!!,"hosts/i386bsd.h",g' ${.ALLSRC} > ${.TARGET}
95.else
96 sed -e 's,!!TRAD_HEADER!!,,g' ${.ALLSRC} > ${.TARGET}
97.endif
98
99CLEANFILES+= elf32-target.h elf64-target.h
100elf32-target.h: elfxx-target.h
101 sed -e s/NN/32/g ${.ALLSRC} > ${.TARGET}
102
103elf64-target.h: elfxx-target.h
104 sed -e s/NN/64/g ${.ALLSRC} > ${.TARGET}
105
106.include <bsd.lib.mk>