Merge from vendor branch OPENSSL:
[dragonfly/vkernel-mp.git] / usr.bin / objformat / Makefile
blobbae523b0fba49a1401002827dc35d63f2069a52d
1 # $FreeBSD: src/usr.bin/objformat/Makefile,v 1.15 1999/12/24 15:18:19 green Exp $
2 # $DragonFly: src/usr.bin/objformat/Makefile,v 1.9 2005/12/21 17:43:17 joerg Exp $
4 PROG= objformat
5 CFLAGS+= -Wall
6 NOSHARED?= YES
7 .if defined(TARGET_ARCH)
8 CFLAGS+= -DTARGET_ARCH="${TARGET_ARCH}"
9 .endif
11 .if defined(OBJFORMAT_BUILTIN_CCVER_DEFAULT)
12 CFLAGS+= -DCCVER_DEFAULT="\"${OBJFORMAT_BUILTIN_CCVER_DEFAULT}\""
13 .endif
14 .if defined(OBJFORMAT_BUILTIN_BINUTILSVER_DEFAULT)
15 CFLAGS+= -DBINUTILSVER_DEFAULT="\"${OBJFORMAT_BUILTIN_BINUTILSVER_DEFAULT}\""
16 .endif
17 # These will exec /usr/libexec/${BINUTILSVER}/<objformat>/<name>
19 LINKS+= ${BINDIR}/objformat ${BINDIR}/addr2line
20 LINKS+= ${BINDIR}/objformat ${BINDIR}/ar
21 LINKS+= ${BINDIR}/objformat ${BINDIR}/as
22 LINKS+= ${BINDIR}/objformat ${BINDIR}/gasp
23 LINKS+= ${BINDIR}/objformat ${BINDIR}/ld
24 LINKS+= ${BINDIR}/objformat ${BINDIR}/nm
25 LINKS+= ${BINDIR}/objformat ${BINDIR}/objcopy
26 LINKS+= ${BINDIR}/objformat ${BINDIR}/objdump
27 LINKS+= ${BINDIR}/objformat ${BINDIR}/ranlib
28 LINKS+= ${BINDIR}/objformat ${BINDIR}/size
29 LINKS+= ${BINDIR}/objformat ${BINDIR}/strings
30 LINKS+= ${BINDIR}/objformat ${BINDIR}/strip
32 # These will exec /usr/bin/${CCVER}/<name>
34 LINKS+= ${BINDIR}/objformat ${BINDIR}/CC
35 LINKS+= ${BINDIR}/objformat ${BINDIR}/cpp
36 LINKS+= ${BINDIR}/objformat ${BINDIR}/c++
37 LINKS+= ${BINDIR}/objformat ${BINDIR}/c++filt
38 LINKS+= ${BINDIR}/objformat ${BINDIR}/cc
39 LINKS+= ${BINDIR}/objformat ${BINDIR}/f77
40 LINKS+= ${BINDIR}/objformat ${BINDIR}/g77
41 LINKS+= ${BINDIR}/objformat ${BINDIR}/g++
42 LINKS+= ${BINDIR}/objformat ${BINDIR}/gcc
43 LINKS+= ${BINDIR}/objformat ${BINDIR}/gcov
45 .include <bsd.prog.mk>