1 # $FreeBSD: src/gnu/usr.bin/cc/f771/Makefile,v 1.5.2.1 2000/07/04 05:39:50 obrien Exp $
2 # $DragonFly: src/gnu/usr.bin/cc/f771/Attic/Makefile,v 1.5 2004/02/02 05:43:12 dillon Exp $
4 .include "${.CURDIR}/../Makefile.inc"
9 SRCS= 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 proj.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 version.c where.c
15 CFLAGS+= -I${GCCDIR}/f -I.
22 # The use of ``proj+%BT.o'' is to get around bogus dependacy information
23 # created for build-tools sources.
24 fini: fini.o proj+%BT.o
25 ${CC} -static ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${.ALLSRC}
28 ${CC} ${CFLAGS} -o ${.TARGET} -c ${.ALLSRC}
30 CLEANFILES+= fini fini.o proj+%BT.o
32 #-----------------------------------------------------------------------
35 .for i in 1t 2t fo io nq op ot
36 .ORDER: str-$i.h str-$i.j
37 str-$i.j str-$i.h: str-$i.fin fini
38 ./fini ${GCCDIR}/f/str-$i.fin str-$i.j str-$i.h
40 FINIHDRS+= str-$i.j str-$i.h
43 CLEANFILES+= ${FINIHDRS}
45 .include <bsd.prog.mk>
47 #-----------------------------------------------------------------------
50 .if !exists(${DEPENDFILE})
51 ${OBJS:Nproj.o} ${DEPENDFILE}: ${FINIHDRS}