Replace binutils 2.24 with latest binutils 2.27.
[dragonfly.git] / gnu / usr.bin / binutils224 / as / Makefile.inc0
blob963c7e182f28023443c493892f4692befb09d1e4
1 .include "${.CURDIR}/../../Makefile.inc0"
2 .include "${.CURDIR}/../../Makefile.inc1"
4 RELTOP:= ../${RELTOP}
5 .PATH: ${SRCDIR}/gas ${SRCDIR}/gas/config ${.CURDIR}/..
7 TARGET_OS?=     dragonfly
9 PROG=   as
10 MFILE=  as${MANPAGEVER}.1
11 MAN=    ${MFILE}
12 SRCS+=  app.c                   \
13         as.c                    \
14         atof-generic.c          \
15         compress-debug.c        \
16         cond.c                  \
17         depend.c                \
18         dwarf2dbg.c             \
19         dw2gencfi.c             \
20         ecoff.c                 \
21         ehopt.c                 \
22         expr.c                  \
23         flonum-copy.c           \
24         flonum-konst.c          \
25         flonum-mult.c           \
26         frags.c                 \
27         hash.c                  \
28         input-file.c            \
29         input-scrub.c           \
30         listing.c               \
31         literal.c               \
32         macro.c                 \
33         messages.c              \
34         output-file.c           \
35         read.c                  \
36         remap.c                 \
37         sb.c                    \
38         stabs.c                 \
39         subsegs.c               \
40         symbols.c               \
41         write.c
43 WARNS=  1
44 CFLAGS+= -I${SRCDIR}/gas -I${SRCDIR}/gas/config -I${SRCDIR} -I${.CURDIR}/..
45 CFLAGS+= -I${SRCDIR}/bfd -I${.OBJDIR}/../../libbfd
46 CFLAGS+= -DTARGET_ALIAS=\"${TARGET_ALIAS}\"
47 CFLAGS+= -DTARGET_CANONICAL=\"${TARGET_CANONICAL}\"
48 CFLAGS+= -DTARGET_CPU=\"${TARGET_CPU}\"
49 CFLAGS+= -DDEFAULT_ARCH=\"${DEFAULT_ARCH}\"
50 CFLAGS+= -DTARGET_OS=\"${TARGET_OS}\"
51 CFLAGS+= "-DEMULATIONS=${EMULATIONS}"
52 CFLAGS+= -DDEFAULT_EMULATION=\"${DEFAULT_EMULATION}\"
53 CFLAGS+= -DTE_DragonFly
54 NOSHARED?=      yes
56 DPADD+= ${RELTOP}/libopcodes/libopcodes.a
57 LDADD+= ${RELTOP}/libopcodes/libopcodes.a
59 ${MFILE}: ${SRCDIR}/gas/doc/as.1
60         cp ${.ALLSRC} ${.TARGET}
62 CLEANFILES+=    ${MFILE}
64 .if defined(IS_PRIMARY)
65 MLINKS+=        ${MFILE} as.1
66 .endif