version 1.1, 1996/09/09 13:34:01
|
version 1.2, 1996/11/22 17:05:53
|
|
|
# definitions of some fortran functions that are missing under F2C/Linux. | # definitions of some fortran functions that are missing under F2C/Linux. |
# | # |
# $Log$ | # $Log$ |
|
# Revision 1.2 1996/11/22 17:05:53 saw |
|
# (SAW) Add routines for porting to Linux and AIX |
|
# |
# Revision 1.1 1996/09/09 13:34:01 saw | # Revision 1.1 1996/09/09 13:34:01 saw |
# Initial revision | # Initial revision |
# | # |
NEWSTYLE=1 | NEWSTYLE=1 |
include $(Csoft)/etc/Makefile | include $(Csoft)/etc/Makefile |
| |
libsources = f2c_wrappers.f |
ifeq ($(ARCH),AIX) |
|
libsources = bit_wrappers.f |
sources = $(libsources) |
install-dirs := lib |
|
else |
lib_targets := $(patsubst %.f, libport.a(%.o), $(sources)) |
|
|
|
|
|
ifeq ($(ARCH),Linux) | ifeq ($(ARCH),Linux) |
|
libsources = bit_wrappers.f misc_wrappers.f trig_wrappers.f |
install-dirs := lib | install-dirs := lib |
else | else |
|
libsources = |
install-dirs := | install-dirs := |
endif | endif |
|
endif |
|
|
|
sources = $(libsources) |
|
|
|
lib_targets := $(patsubst %.f, libport.a(%.o), $(sources)) |
| |
#default: | #default: |
# @echo "nothing to make" | # @echo "nothing to make" |
| |
#ifdef NFSDIRECTORY |
ifdef NFSDIRECTORY |
#%.f : $(NFSDIRECTORY)/ENGINE/%.f |
../%.f : $(NFSDIRECTORY)/PORT/%.f |
# ln -s $< $@ |
ln -s $< $@ |
#.PRECIOUS: %.f |
|
#endif |
.PRECIOUS: ../%.f |
|
endif |
| |
include $(sources:.f=.d) | include $(sources:.f=.d) |