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