From: ceriel Date: Thu, 10 Oct 1991 15:00:43 +0000 (+0000) Subject: Added proto.libf77 X-Git-Tag: release-5-5~749 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=bade2375b5ebbdc4c11c964373ba244db960e18c;p=ack.git Added proto.libf77 --- diff --git a/mach/proto/libg/.distr b/mach/proto/libg/.distr index a0876cf41..e411a18b0 100644 --- a/mach/proto/libg/.distr +++ b/mach/proto/libg/.distr @@ -5,6 +5,7 @@ proto.libdb proto.libpc proto.libcc proto.libm2 +proto.libf77 proto.libsys proto.sysmon proto.libcc.ansi diff --git a/mach/proto/libg/proto.libf77 b/mach/proto/libg/proto.libf77 new file mode 100644 index 000000000..d7cb7acf9 --- /dev/null +++ b/mach/proto/libg/proto.libf77 @@ -0,0 +1,51 @@ +# $Header$ + +#PARAMS do not remove this line! + +#MACH_PARAMS do not remove this line! + +SRC_DIR = $(SRC_HOME)/lang/fortran/lib + +.SUFFIXES: .o .e .c .m .s + +.c.o .c.m .c.s .e.o .e.m .e.s: + $(MACH) $(MACHFL) -DSkip_f2c_Undefs -ansi -DNON_UNIX_STDIO -wo -c $< + +fake: +all: copy tail + +copy: + ( cd $(SRC_DIR) ; tar cf - LIST `cat LIST` ) | \ + tar xf - + +tail: + for i in `cat LIST` ; \ + do cd $$i ; \ + rm -f OLIST ; \ + sed 's/\.[ce]/.$(SUF)/' < LIST | sed '/\.h/D' > OLIST ; \ + make -f ../Makefile `cat OLIST` ; \ + cd .. ; \ + for j in `cat $$i/OLIST` ; \ + do echo $$i/$$j >> OLIST ; \ + done ; \ + done + $(AR) r tail_f77 `cat OLIST` + $(RANLIB) tail_f77 + +install: all + cp tail_f77 $(TARGET_HOME)/lib/$(MACH)/tail_f77 + $(RANLIB) $(TARGET_HOME)/lib/$(MACH)/tail_f77 + +cmp: all + -cmp tail_f77 $(TARGET_HOME)/lib/$(MACH)/tail_f77 + +clean: + -rm -f *.old *.[ce$(SUF)] tail* head* OLIST + -rm -rf `cat LIST` + -rm -f LIST + +opr: + @echo "nothing to be printed" + +pr: + @echo "nothing to be printed"