1 # $FreeBSD: src/gnu/usr.bin/cc/f771/Makefile,v 1.10 2004/01/11 20:45:46 ru Exp $
2 # $DragonFly: src/gnu/usr.bin/cc3/f771/Attic/Makefile,v 1.4 2004/02/02 23:35:11 dillon Exp $
4 .include "${.CURDIR}/../Makefile.inc"
6 CFLAGS+= -I${.CURDIR}/../config
8 .PATH: ${GCCDIR}/gcc/f ${GCCDIR}/gcc
11 SRCS= bad.c bit.c bld.c com.c data.c equiv.c expr.c global.c implic.c info.c \
12 intrin.c lab.c lex.c malloc.c name.c parse.c src.c st.c sta.c \
13 stb.c stc.c std.c ste.c storag.c stp.c str.c sts.c stt.c stu.c stv.c \
14 stw.c symbol.c target.c top.c type.c where.c main.c
17 CFLAGS+= -I${GCCDIR}/gcc/f -I.
24 ${CC} -static ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${.ALLSRC}
26 CLEANFILES= fini fini.o
28 #-----------------------------------------------------------------------
31 .for i in 1t 2t fo io nq op ot
32 .ORDER: str-$i.h str-$i.j
33 str-$i.j str-$i.h: str-$i.fin fini
34 ./fini ${GCCDIR}/gcc/f/str-$i.fin str-$i.j str-$i.h
36 FINIHDRS+= str-$i.j str-$i.h
39 SRCS+= ${FINIHDRS:M*.h}
40 CLEANFILES+= ${FINIHDRS}
42 .include <bsd.prog.mk>