mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-22 17:24:23 +01:00
ea2fdd1095
using the sources in /usr/src/contrib/gdb. This is based on /usr/ports/devel/gdb. 2.2 candidate ?
32 lines
689 B
Makefile
32 lines
689 B
Makefile
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>
|