freebsd-nq/usr.bin/objformat/Makefile
John Polstra e936391783 Add links to addr2line, objcopy, and objdump. These exist only for
ELF, but still I think this is the best way to get them into the
shell's search path.
1998-09-16 04:11:15 +00:00

26 lines
654 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}/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>