Deleted Added
full compact
Makefile (92257) Makefile (96513)
1# $FreeBSD: head/gnu/usr.bin/binutils/libbfd/Makefile 92257 2002-03-14 02:24:25Z obrien $
1# $FreeBSD: head/gnu/usr.bin/binutils/libbfd/Makefile 96513 2002-05-13 11:09:07Z ru $
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 \
10 hash.c ihex.c init.c libbfd.c linker.c merge.c opncls.c reloc.c \
11 section.c srec.c stab-syms.c stabs.c syms.c targets.c tekhex.c \
12 targmatch.h dwarf1.c dwarf2.c config.h
13.if (${TARGET_ARCH} == "alpha")
14WARNS= 2
15.endif
16CFLAGS+= -I${SRCDIR}/bfd
17CFLAGS+= -DBFD_VERSION=\"${VERSION_DATE}\" -DBFD_VERSION_DATE=${VERSION_DATE}
18CFLAGS+= -DBFD_VERSION_STRING=\"${VERSION}\"
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 \
10 hash.c ihex.c init.c libbfd.c linker.c merge.c opncls.c reloc.c \
11 section.c srec.c stab-syms.c stabs.c syms.c targets.c tekhex.c \
12 targmatch.h dwarf1.c dwarf2.c config.h
13.if (${TARGET_ARCH} == "alpha")
14WARNS= 2
15.endif
16CFLAGS+= -I${SRCDIR}/bfd
17CFLAGS+= -DBFD_VERSION=\"${VERSION_DATE}\" -DBFD_VERSION_DATE=${VERSION_DATE}
18CFLAGS+= -DBFD_VERSION_STRING=\"${VERSION}\"
19NOPROFILE= true
20NOPIC= true
21INTERNALLIB= true
19INTERNALLIB= true
22INTERNALSTATICLIB=true
23CLEANFILES+= config.h targmatch.h
24
25# If set, BINUTILSDISTDIR is the path to a directory containing the full GNU
26# binutils release. FreeBSD only distributes the bits that are required to
27# build native architectures. BINUTILSDISTDIR is needed to build cross tools.
28.if defined(BINUTILSDISTDIR) && exists(${BINUTILSDISTDIR})
29.PATH: ${BINUTILSDISTDIR}/bfd ${BINUTILSDISTDIR}/opcodes
30CFLAGS+= -I${BINUTILSDISTDIR}/bfd -I${BINUTILSDISTDIR}/include -I.

--- 37 unchanged lines hidden ---
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.

--- 37 unchanged lines hidden ---