binutils214 stage 2/4.
[dragonfly.git] / gnu / usr.bin / cc3 / f771 / Makefile
CommitLineData
74fbd2f0 1# $FreeBSD: src/gnu/usr.bin/cc/f771/Makefile,v 1.10 2004/01/11 20:45:46 ru Exp $
17030342 2# $DragonFly: src/gnu/usr.bin/cc3/f771/Attic/Makefile,v 1.3 2004/02/02 05:43:12 dillon Exp $
74fbd2f0
DR
3
4.include "${.CURDIR}/../Makefile.inc"
5
6.PATH: ${GCCDIR}/f ${GCCDIR}
7
8PROG= f771
9SRCS= bad.c bit.c bld.c com.c data.c equiv.c expr.c global.c implic.c info.c \
10 intrin.c lab.c lex.c malloc.c name.c parse.c src.c st.c sta.c \
11 stb.c stc.c std.c ste.c storag.c stp.c str.c sts.c stt.c stu.c stv.c \
12 stw.c symbol.c target.c top.c type.c where.c main.c
74fbd2f0
DR
13NOMAN=
14
15CFLAGS+= -I${GCCDIR}/f -I.
16
17DPADD= ${LIBCC_INT}
18LDADD= ${LIBCC_INT}
19
20build-tools: fini
21fini: fini.o
22 ${CC} -static ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${.ALLSRC}
23
24CLEANFILES= fini fini.o
25
26#-----------------------------------------------------------------------
27# str-* gunk
28
29.for i in 1t 2t fo io nq op ot
30.ORDER: str-$i.h str-$i.j
31str-$i.j str-$i.h: str-$i.fin fini
32 ./fini ${GCCDIR}/f/str-$i.fin str-$i.j str-$i.h
33
34FINIHDRS+= str-$i.j str-$i.h
35.endfor
36
37SRCS+= ${FINIHDRS:M*.h}
38CLEANFILES+= ${FINIHDRS}
39
40.include <bsd.prog.mk>