summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1999-04-18 09:33:25 +0000
committerobrien <obrien@FreeBSD.org>1999-04-18 09:33:25 +0000
commitf5af675abee23e3f3dca50d925e46e0357238af8 (patch)
tree44f8890f31020ff6d0d70a5d0051b4d538d39373
parent5a2a7a621f948d8aab6a7d6dec77f1e9c9eeb79e (diff)
downloadFreeBSD-src-f5af675abee23e3f3dca50d925e46e0357238af8.zip
FreeBSD-src-f5af675abee23e3f3dca50d925e46e0357238af8.tar.gz
Add the EGCS g77 FORTRAN compiler.
-rw-r--r--gnu/usr.bin/cc/f771/Makefile46
1 files changed, 46 insertions, 0 deletions
diff --git a/gnu/usr.bin/cc/f771/Makefile b/gnu/usr.bin/cc/f771/Makefile
new file mode 100644
index 0000000..6b6ad78
--- /dev/null
+++ b/gnu/usr.bin/cc/f771/Makefile
@@ -0,0 +1,46 @@
+# $Id: Makefile,v 1.6 1999/03/05 04:55:03 obrien Exp $
+
+.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=
+DPADD= ${LIBCC_INT}
+LDADD= ${LIBCC_INT}
+
+CFLAGS+= -I${GCCDIR}/f -I.
+
+build-tools: fini
+
+fini: fini.o proj.o
+ ${CC} -static ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${.ALLSRC}
+
+CLEANFILES+= fini
+
+#-----------------------------------------------------------------------
+# 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
OpenPOWER on IntegriCloud