Remove fortran from base.
[dragonfly.git] / usr.bin / objformat / Makefile
blobc4e8487a172fd31d760f7c43950cb62f6fcca9aa
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.13 2008/05/14 15:02:48 hasso Exp $
4 PROG= objformat
5 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 .if defined(TOOLS_PREFIX)
18 CFLAGS+= -DOBJFORMAT_PATH_DEFAULT="\"${TOOLS_PREFIX}\""
19 .elif defined(OBJFORMAT_BUILTIN_PATH_DEFAULT)
20 CFLAGS+= -DOBJFORMAT_PATH_DEFAULT="\"${OBJFORMAT_BUILTIN_PATH_DEFAULT}\""
21 .endif
22 # These will exec /usr/libexec/${BINUTILSVER}/<objformat>/<name>
24 LINKS+= ${BINDIR}/objformat ${BINDIR}/addr2line
25 LINKS+= ${BINDIR}/objformat ${BINDIR}/ar
26 LINKS+= ${BINDIR}/objformat ${BINDIR}/as
27 LINKS+= ${BINDIR}/objformat ${BINDIR}/gasp
28 LINKS+= ${BINDIR}/objformat ${BINDIR}/ld
29 LINKS+= ${BINDIR}/objformat ${BINDIR}/nm
30 LINKS+= ${BINDIR}/objformat ${BINDIR}/objcopy
31 LINKS+= ${BINDIR}/objformat ${BINDIR}/objdump
32 LINKS+= ${BINDIR}/objformat ${BINDIR}/ranlib
33 LINKS+= ${BINDIR}/objformat ${BINDIR}/size
34 LINKS+= ${BINDIR}/objformat ${BINDIR}/strings
35 LINKS+= ${BINDIR}/objformat ${BINDIR}/strip
37 # These will exec /usr/bin/${CCVER}/<name>
39 LINKS+= ${BINDIR}/objformat ${BINDIR}/CC
40 LINKS+= ${BINDIR}/objformat ${BINDIR}/cpp
41 LINKS+= ${BINDIR}/objformat ${BINDIR}/c++
42 LINKS+= ${BINDIR}/objformat ${BINDIR}/c++filt
43 LINKS+= ${BINDIR}/objformat ${BINDIR}/cc
44 LINKS+= ${BINDIR}/objformat ${BINDIR}/g++
45 LINKS+= ${BINDIR}/objformat ${BINDIR}/gcc
46 LINKS+= ${BINDIR}/objformat ${BINDIR}/gcov
48 .include <bsd.prog.mk>