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