aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2001-12-18 03:21:49 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2001-12-18 03:21:49 +0000
commit3dbb6175cdf615bd4095fc178b457136cb109e30 (patch)
treeda528c153dd32200ba03c5fa65e0ffbabeec459d
parent523a651a6f5a16cbda0b7a12527c3a5355ed69d8 (diff)
Notes
-rw-r--r--gnu/usr.bin/cc/f771/Makefile52
1 files changed, 52 insertions, 0 deletions
diff --git a/gnu/usr.bin/cc/f771/Makefile b/gnu/usr.bin/cc/f771/Makefile
new file mode 100644
index 000000000000..5e97d14c492f
--- /dev/null
+++ b/gnu/usr.bin/cc/f771/Makefile
@@ -0,0 +1,52 @@
+# $FreeBSD$
+
+.include "${.CURDIR}/../Makefile.inc"
+
+.PATH: ${GCCDIR}/f
+
+PROG= f771
+SRCS= bad.c bit.c bld.c com.c data.c equiv.c expr.c global.c implic.c info.c \
+ intrin.c lab.c lex.c malloc.c name.c parse.c proj.c src.c st.c sta.c \
+ stb.c stc.c std.c ste.c storag.c stp.c str.c sts.c stt.c stu.c stv.c \
+ stw.c symbol.c target.c top.c type.c version.c where.c
+BINDIR= /usr/libexec
+NOMAN=
+
+CFLAGS+= -I${GCCDIR}/f -I.
+
+DPADD= ${LIBCC_INT}
+LDADD= ${LIBCC_INT}
+
+build-tools: fini
+
+# The use of ``proj+%BT.o'' is to get around bogus dependacy information
+# created for build-tools sources.
+fini: fini.o proj+%BT.o # ${GCCDIR}/safe-ctype.c
+ ${CC} -static ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${.ALLSRC}
+
+proj+%BT.o: proj.c
+ ${CC} ${CFLAGS} -o ${.TARGET} -c ${.ALLSRC}
+
+CLEANFILES+= fini fini.o proj+%BT.o
+
+#-----------------------------------------------------------------------
+# str-* gunk
+
+.for i in 1t 2t fo io nq op ot
+.ORDER: str-$i.h str-$i.j
+str-$i.j str-$i.h: str-$i.fin fini
+ ./fini ${GCCDIR}/f/str-$i.fin str-$i.j str-$i.h
+
+FINIHDRS+= str-$i.j str-$i.h
+.endfor
+
+CLEANFILES+= ${FINIHDRS}
+
+.include <bsd.prog.mk>
+
+#-----------------------------------------------------------------------
+# Fixups.
+
+.if !exists(${DEPENDFILE})
+${OBJS:Nproj.o} ${DEPENDFILE}: ${FINIHDRS}
+.endif