dhcpcd: Note update to 9.4.1
[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}/ld.bfd
31 LINKS+= ${BINDIR}/objformat ${BINDIR}/ld.gold
32 LINKS+= ${BINDIR}/objformat ${BINDIR}/nm
33 LINKS+= ${BINDIR}/objformat ${BINDIR}/objcopy
34 LINKS+= ${BINDIR}/objformat ${BINDIR}/objdump
35 LINKS+= ${BINDIR}/objformat ${BINDIR}/ranlib
36 LINKS+= ${BINDIR}/objformat ${BINDIR}/readelf
37 LINKS+= ${BINDIR}/objformat ${BINDIR}/size
38 LINKS+= ${BINDIR}/objformat ${BINDIR}/strings
39 LINKS+= ${BINDIR}/objformat ${BINDIR}/strip
40
41 # These will exec /usr/libexec/${CCVER}/<name>
42 #
43 LINKS+= ${BINDIR}/objformat ${BINDIR}/CC
44 LINKS+= ${BINDIR}/objformat ${BINDIR}/cpp
45 LINKS+= ${BINDIR}/objformat ${BINDIR}/c++
46 LINKS+= ${BINDIR}/objformat ${BINDIR}/cc
47 LINKS+= ${BINDIR}/objformat ${BINDIR}/g++
48 LINKS+= ${BINDIR}/objformat ${BINDIR}/gcc
49 LINKS+= ${BINDIR}/objformat ${BINDIR}/gcov
50
51 .include <bsd.prog.mk>