freebsd-dev/usr.bin/objformat/Makefile
Peter Wemm d6e03c9b6d Add objformat links for gdb and (while we're at it) c++filt.
This means we can (assuming an a.out gdb is present) debug a.out kernels
and crashdumps with gdb -aout.
1998-10-15 00:19:08 +00:00

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>