1# $FreeBSD: src/usr.bin/objformat/Makefile,v 1.15 1999/12/24 15:18:19 green Exp $ 2 3PROG= objformat 4NOSHARED?= YES 5 6.if defined(TARGET_ARCH) 7CFLAGS+= -DTARGET_ARCH="${TARGET_ARCH}" 8.endif 9 10.if defined(OBJFORMAT_BUILTIN_CCVER_DEFAULT) 11CFLAGS+= -DCCVER_DEFAULT="\"${OBJFORMAT_BUILTIN_CCVER_DEFAULT}\"" 12.endif 13.if defined(OBJFORMAT_BUILTIN_BINUTILSVER_DEFAULT) 14CFLAGS+= -DBINUTILSVER_DEFAULT="\"${OBJFORMAT_BUILTIN_BINUTILSVER_DEFAULT}\"" 15.endif 16.if defined(TOOLS_PREFIX) 17CFLAGS+= -DOBJFORMAT_PATH_DEFAULT="\"${TOOLS_PREFIX}\"" 18.elif defined(OBJFORMAT_BUILTIN_PATH_DEFAULT) 19CFLAGS+= -DOBJFORMAT_PATH_DEFAULT="\"${OBJFORMAT_BUILTIN_PATH_DEFAULT}\"" 20.endif 21# These will exec /usr/libexec/${BINUTILSVER}/<objformat>/<name> 22# 23LINKS+= ${BINDIR}/objformat ${BINDIR}/addr2line 24LINKS+= ${BINDIR}/objformat ${BINDIR}/ar 25LINKS+= ${BINDIR}/objformat ${BINDIR}/as 26LINKS+= ${BINDIR}/objformat ${BINDIR}/c++filt 27LINKS+= ${BINDIR}/objformat ${BINDIR}/elfedit 28LINKS+= ${BINDIR}/objformat ${BINDIR}/gprof 29LINKS+= ${BINDIR}/objformat ${BINDIR}/ld 30LINKS+= ${BINDIR}/objformat ${BINDIR}/ld.bfd 31LINKS+= ${BINDIR}/objformat ${BINDIR}/ld.gold 32LINKS+= ${BINDIR}/objformat ${BINDIR}/nm 33LINKS+= ${BINDIR}/objformat ${BINDIR}/objcopy 34LINKS+= ${BINDIR}/objformat ${BINDIR}/objdump 35LINKS+= ${BINDIR}/objformat ${BINDIR}/ranlib 36LINKS+= ${BINDIR}/objformat ${BINDIR}/readelf 37LINKS+= ${BINDIR}/objformat ${BINDIR}/size 38LINKS+= ${BINDIR}/objformat ${BINDIR}/strings 39LINKS+= ${BINDIR}/objformat ${BINDIR}/strip 40 41# These will exec /usr/libexec/${CCVER}/<name> 42# 43LINKS+= ${BINDIR}/objformat ${BINDIR}/CC 44LINKS+= ${BINDIR}/objformat ${BINDIR}/cpp 45LINKS+= ${BINDIR}/objformat ${BINDIR}/c++ 46LINKS+= ${BINDIR}/objformat ${BINDIR}/cc 47LINKS+= ${BINDIR}/objformat ${BINDIR}/g++ 48LINKS+= ${BINDIR}/objformat ${BINDIR}/gcc 49LINKS+= ${BINDIR}/objformat ${BINDIR}/gcov 50 51.include <bsd.prog.mk> 52