1991-10-10 15:00:43 +00:00
|
|
|
# $Header$
|
|
|
|
|
|
|
|
#PARAMS do not remove this line!
|
|
|
|
|
|
|
|
#MACH_PARAMS do not remove this line!
|
|
|
|
|
|
|
|
SRC_DIR = $(SRC_HOME)/lang/fortran/lib
|
|
|
|
|
1992-07-28 08:28:48 +00:00
|
|
|
.SUFFIXES: .o .e .c .m .s .so
|
1991-10-10 15:00:43 +00:00
|
|
|
|
1992-07-28 08:28:48 +00:00
|
|
|
.c.o .c.m .c.s .c.so .e.o .e.m .e.s .e.so:
|
1993-10-07 10:56:25 +00:00
|
|
|
$(MACH) $(MACHFL) -LIB -DSkip_f2c_Undefs -ansi -DNON_UNIX_STDIO -wo -c $<
|
1991-10-10 15:00:43 +00:00
|
|
|
|
|
|
|
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
|
1991-10-16 17:57:53 +00:00
|
|
|
$(ASAR) r tail_f77 `cat OLIST`
|
1991-10-10 15:00:43 +00:00
|
|
|
$(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"
|