d6e03c9b6d
This means we can (assuming an a.out gdb is present) debug a.out kernels and crashdumps with gdb -aout.
28 lines
742 B
Makefile
28 lines
742 B
Makefile
# $FreeBSD$
|
|
|
|
PROG= objformat
|
|
NOMAN= not yet
|
|
CFLAGS+= -DMAIN
|
|
|
|
.if ${OBJFORMAT} == elf
|
|
CFLAGS+= -DFREEBSD_ELF
|
|
.else
|
|
CFLAGS+= -DFREEBSD_AOUT
|
|
.endif
|
|
|
|
LINKS+= ${BINDIR}/objformat ${BINDIR}/addr2line
|
|
LINKS+= ${BINDIR}/objformat ${BINDIR}/ar
|
|
LINKS+= ${BINDIR}/objformat ${BINDIR}/as
|
|
LINKS+= ${BINDIR}/objformat ${BINDIR}/c++filt
|
|
LINKS+= ${BINDIR}/objformat ${BINDIR}/gdb
|
|
LINKS+= ${BINDIR}/objformat ${BINDIR}/ld
|
|
LINKS+= ${BINDIR}/objformat ${BINDIR}/nm
|
|
LINKS+= ${BINDIR}/objformat ${BINDIR}/objcopy
|
|
LINKS+= ${BINDIR}/objformat ${BINDIR}/objdump
|
|
LINKS+= ${BINDIR}/objformat ${BINDIR}/ranlib
|
|
LINKS+= ${BINDIR}/objformat ${BINDIR}/size
|
|
LINKS+= ${BINDIR}/objformat ${BINDIR}/strings
|
|
LINKS+= ${BINDIR}/objformat ${BINDIR}/strip
|
|
|
|
.include <bsd.prog.mk>
|