aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/gdb/bfd/Makefile
blob: e474809ad6f38729319626f184a0bf7402af5463 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
LIB = bfd

GDBDIR=	${.CURDIR}/../../../../contrib/gdb
.PATH:	${GDBDIR}/bfd

SRCS =	libbfd.c opncls.c bfd.c archive.c targets.c cache.c \
	 archures.c coff-i386.c aout32.c \
	 srec.c \
	 ecoff.c ecofflink.c \
	 coffgen.c format.c \
	 section.c syms.c stab-syms.c reloc.c init.c \
	 trad-core.c \
	 i386aout.c \
	 i386freebsd.c i386bsd.c \
	 cpu-i386.c \
	 elf.c \
	 hash.c linker.c corefile.c binary.c \
	 tekhex.c ihex.c

CFLAGS+= -I${.CURDIR}/. -I${.CURDIR}/../gdb/.
CFLAGS+= -DDEFAULT_VECTOR=i386freebsd_vec \
	 -DSELECT_VECS='&i386freebsd_vec,&i386bsd_vec' \
         -DSELECT_ARCHITECTURES='&bfd_i386_arch' -DTRAD_CORE

NOPROFILE=no
NOPIC=no

install:
	@echo -n

.include <bsd.lib.mk>