e936391783
ELF, but still I think this is the best way to get them into the shell's search path.
26 lines
654 B
Makefile
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>
|