Deleted Added
full compact
Makefile (100177) Makefile (103780)
1# $FreeBSD: head/gnu/usr.bin/binutils/libbfd/Makefile 100177 2002-07-16 16:10:39Z mike $
1# $FreeBSD: head/gnu/usr.bin/binutils/libbfd/Makefile 103780 2002-09-22 05:29:37Z obrien $
2
3.include "../Makefile.inc0"
4
5.PATH: ${SRCDIR}/bfd ${SRCDIR}/opcodes
6
7LIB= bfd
8SRCS+= archive.c archive64.c archures.c bfd.c binary.c cache.c \
9 coffgen.c corefile.c elf.c elf-eh-frame.c elf-strtab.c format.c \

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

14WARNS= 2
15.endif
16CFLAGS+= -I${SRCDIR}/bfd
17CFLAGS+= -DBFD_VERSION=\"${VERSION_DATE}\" -DBFD_VERSION_DATE=${VERSION_DATE}
18CFLAGS+= -DBFD_VERSION_STRING=\"${VERSION}\"
19INTERNALLIB= true
20CLEANFILES+= config.h targmatch.h
21
2
3.include "../Makefile.inc0"
4
5.PATH: ${SRCDIR}/bfd ${SRCDIR}/opcodes
6
7LIB= bfd
8SRCS+= archive.c archive64.c archures.c bfd.c binary.c cache.c \
9 coffgen.c corefile.c elf.c elf-eh-frame.c elf-strtab.c format.c \

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

14WARNS= 2
15.endif
16CFLAGS+= -I${SRCDIR}/bfd
17CFLAGS+= -DBFD_VERSION=\"${VERSION_DATE}\" -DBFD_VERSION_DATE=${VERSION_DATE}
18CFLAGS+= -DBFD_VERSION_STRING=\"${VERSION}\"
19INTERNALLIB= true
20CLEANFILES+= config.h targmatch.h
21
22# If set, BINUTILSDISTDIR is the path to a directory containing the full GNU
23# binutils release. FreeBSD only distributes the bits that are required to
24# build native architectures. BINUTILSDISTDIR is needed to build cross tools.
25.if defined(BINUTILSDISTDIR) && exists(${BINUTILSDISTDIR})
26.PATH: ${BINUTILSDISTDIR}/bfd ${BINUTILSDISTDIR}/opcodes
27CFLAGS+= -I${BINUTILSDISTDIR}/bfd -I${BINUTILSDISTDIR}/include -I.
28.endif
29
30SELARCH=
22SELARCH=
31.if ${BINUTIL_ARCH} == "sparc64"
23.if ${TARGET_ARCH} == "sparc64"
32SELARCH= &bfd_sparc_arch
33.else
34.for _a in ${ARCHS}
35.if ${SELARCH} == ""
36SELARCH+= &bfd_${_a}_arch
37.else
38SELARCH+= ,&bfd_${_a}_arch
39.endif

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

50.endif
51.endfor
52CFLAGS+= -DSELECT_VECS="${SELVEC}"
53
54targmatch.h: targmatch.sed config.bfd
55 sed -f ${.ALLSRC:M*.sed} ${.ALLSRC:M*.bfd} > ${.TARGET}
56
57config.h: config.h.fbsd
24SELARCH= &bfd_sparc_arch
25.else
26.for _a in ${ARCHS}
27.if ${SELARCH} == ""
28SELARCH+= &bfd_${_a}_arch
29.else
30SELARCH+= ,&bfd_${_a}_arch
31.endif

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

42.endif
43.endfor
44CFLAGS+= -DSELECT_VECS="${SELVEC}"
45
46targmatch.h: targmatch.sed config.bfd
47 sed -f ${.ALLSRC:M*.sed} ${.ALLSRC:M*.bfd} > ${.TARGET}
48
49config.h: config.h.fbsd
58.if ${BINUTIL_ARCH} == "i386"
50.if ${TARGET_ARCH} == "i386"
59 sed -e 's,!!TRAD_HEADER!!,"hosts/i386bsd.h",g' ${.ALLSRC} > ${.TARGET}
60.else
61 sed -e 's,!!TRAD_HEADER!!,,g' ${.ALLSRC} > ${.TARGET}
62.endif
63
64.include <bsd.lib.mk>
51 sed -e 's,!!TRAD_HEADER!!,"hosts/i386bsd.h",g' ${.ALLSRC} > ${.TARGET}
52.else
53 sed -e 's,!!TRAD_HEADER!!,,g' ${.ALLSRC} > ${.TARGET}
54.endif
55
56.include <bsd.lib.mk>