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.3 2004/01/16 07:45:22 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
13 BINDIR= /usr/libexec/gcc2
16 CFLAGS+= -I${GCCDIR}/f -I.
23 # The use of ``proj+%BT.o'' is to get around bogus dependacy information
24 # created for build-tools sources.
25 fini: fini.o proj+%BT.o
26 ${CC} -static ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${.ALLSRC}
29 ${CC} ${CFLAGS} -o ${.TARGET} -c ${.ALLSRC}
31 CLEANFILES+= fini fini.o proj+%BT.o
33 #-----------------------------------------------------------------------
36 .for i in 1t 2t fo io nq op ot
37 .ORDER: str-$i.h str-$i.j
38 str-$i.j str-$i.h: str-$i.fin fini
39 ./fini ${GCCDIR}/f/str-$i.fin str-$i.j str-$i.h
41 FINIHDRS+= str-$i.j str-$i.h
44 CLEANFILES+= ${FINIHDRS}
46 .include <bsd.prog.mk>
48 #-----------------------------------------------------------------------
51 .if !exists(${DEPENDFILE})
52 ${OBJS:Nproj.o} ${DEPENDFILE}: ${FINIHDRS}