Deleted Added
sdiff udiff text old ( 38892 ) new ( 44360 )
full compact
1#
2# $Id: Makefile,v 1.5 1998/06/04 06:50:57 bde Exp $
3#
4
5.include "../Makefile.inc0"
6
7.PATH: ${SRCDIR}/bfd
8
9LIB= bfd
10SRCS+= archive.c archures.c bfd.c binary.c cache.c \
11 coffgen.c corefile.c elf.c format.c hash.c ihex.c \
12 init.c libbfd.c linker.c opncls.c reloc.c section.c \
13 srec.c stab-syms.c stabs.c syms.c targets.c tekhex.c \
14 targmatch.h dwarf2.c
15CFLAGS+= -I${SRCDIR}/bfd
16NOPROFILE= true
17NOPIC= true
18INTERNALLIB= true
19INTERNALSTATICLIB=true
20CLEANFILES+= targmatch.h
21
22SELARCH=
23.for _a in ${ARCHS}
24.if ${SELARCH} == ""
25SELARCH+=&bfd_${_a}_arch
26.else
27SELARCH+=,&bfd_${_a}_arch
28.endif
29.endfor
30CFLAGS+= -DSELECT_ARCHITECTURES="${SELARCH}"
31
32SELVEC=
33.for _v in ${VECS}
34.if ${SELVEC} == ""
35SELVEC+=&${_v}
36.else
37SELVEC+=,&${_v}
38.endif
39.endfor
40CFLAGS+= -DSELECT_VECS="${SELVEC}"
41
42targmatch.h: targmatch.sed config.bfd
43 sed -f ${.ALLSRC:M*.sed} ${.ALLSRC:M*.bfd} > ${.TARGET}
44
45.include <bsd.lib.mk>