binutils 2.22: Activate building in world
[dragonfly.git] / usr.bin / objformat / Makefile
CommitLineData
984263bc
MD
1# $FreeBSD: src/usr.bin/objformat/Makefile,v 1.15 1999/12/24 15:18:19 green Exp $
2
3PROG= objformat
984263bc 4NOSHARED?= YES
ee3181ae 5
17030342
MD
6.if defined(TARGET_ARCH)
7CFLAGS+= -DTARGET_ARCH="${TARGET_ARCH}"
8.endif
984263bc 9
65b1133a
JS
10.if defined(OBJFORMAT_BUILTIN_CCVER_DEFAULT)
11CFLAGS+= -DCCVER_DEFAULT="\"${OBJFORMAT_BUILTIN_CCVER_DEFAULT}\""
f29fb17d 12.endif
65b1133a
JS
13.if defined(OBJFORMAT_BUILTIN_BINUTILSVER_DEFAULT)
14CFLAGS+= -DBINUTILSVER_DEFAULT="\"${OBJFORMAT_BUILTIN_BINUTILSVER_DEFAULT}\""
f29fb17d 15.endif
3c0aa72e
SS
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
91b13002 21# These will exec /usr/libexec/${BINUTILSVER}/<objformat>/<name>
4806ab2e 22#
984263bc
MD
23LINKS+= ${BINDIR}/objformat ${BINDIR}/addr2line
24LINKS+= ${BINDIR}/objformat ${BINDIR}/ar
25LINKS+= ${BINDIR}/objformat ${BINDIR}/as
82100819 26LINKS+= ${BINDIR}/objformat ${BINDIR}/c++filt
053919c0 27LINKS+= ${BINDIR}/objformat ${BINDIR}/elfedit
9e66a35c 28LINKS+= ${BINDIR}/objformat ${BINDIR}/gprof
37c5a0db 29LINKS+= ${BINDIR}/objformat ${BINDIR}/incremental-dump
984263bc
MD
30LINKS+= ${BINDIR}/objformat ${BINDIR}/ld
31LINKS+= ${BINDIR}/objformat ${BINDIR}/nm
32LINKS+= ${BINDIR}/objformat ${BINDIR}/objcopy
33LINKS+= ${BINDIR}/objformat ${BINDIR}/objdump
34LINKS+= ${BINDIR}/objformat ${BINDIR}/ranlib
cf93bb17 35LINKS+= ${BINDIR}/objformat ${BINDIR}/readelf
984263bc
MD
36LINKS+= ${BINDIR}/objformat ${BINDIR}/size
37LINKS+= ${BINDIR}/objformat ${BINDIR}/strings
38LINKS+= ${BINDIR}/objformat ${BINDIR}/strip
39
91b13002 40# These will exec /usr/bin/${CCVER}/<name>
4806ab2e 41#
91b13002 42LINKS+= ${BINDIR}/objformat ${BINDIR}/CC
4806ab2e
MD
43LINKS+= ${BINDIR}/objformat ${BINDIR}/cpp
44LINKS+= ${BINDIR}/objformat ${BINDIR}/c++
45LINKS+= ${BINDIR}/objformat ${BINDIR}/cc
4806ab2e
MD
46LINKS+= ${BINDIR}/objformat ${BINDIR}/g++
47LINKS+= ${BINDIR}/objformat ${BINDIR}/gcc
48LINKS+= ${BINDIR}/objformat ${BINDIR}/gcov
49
984263bc 50.include <bsd.prog.mk>