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