summaryrefslogtreecommitdiff
path: root/math/dfftpack/files
diff options
context:
space:
mode:
authorjtb <jtb>2001-02-02 00:23:49 +0000
committerjtb <jtb>2001-02-02 00:23:49 +0000
commit59032323a218fd887fca2afdb2cf4d7950577186 (patch)
tree1a25f8f6c5a3cdb8eedc545afafe16f4f48795a4 /math/dfftpack/files
parentd7347c65a01c3694fd5a9bd196e65bc58e13788e (diff)
downloadpkgsrc-59032323a218fd887fca2afdb2cf4d7950577186.tar.gz
Don't build shared Fortran libraries. They're too problematic.
Strictly numerical libraries, like fftpack, work fine, but some which make use of Fortran I/O have problems resolving symbols. This is a known problem with g77/f2c.
Diffstat (limited to 'math/dfftpack/files')
-rw-r--r--math/dfftpack/files/Makefile17
1 files changed, 7 insertions, 10 deletions
diff --git a/math/dfftpack/files/Makefile b/math/dfftpack/files/Makefile
index c215fee96e2..849b4f5a253 100644
--- a/math/dfftpack/files/Makefile
+++ b/math/dfftpack/files/Makefile
@@ -2,7 +2,7 @@ LIB = dfftpack
LIBDIR = ${PREFIX}/lib
-all: lib$(LIB).la
+all: lib$(LIB).a
OBJS = zfftb.o cfftb1.o zfftf.o cfftf1.o zffti.o cffti1.o dcosqb.o \
cosqb1.o dcosqf.o cosqf1.o dcosqi.o dcost.o dcosti.o ezfft1.o \
@@ -12,15 +12,12 @@ OBJS = zfftb.o cfftb1.o zfftf.o cfftf1.o zffti.o cffti1.o dcosqb.o \
radf5.o radfg.o dfftb.o rfftb1.o dfftf.o rfftf1.o dffti.o \
rffti1.o dsinqb.o dsinqf.o dsinqi.o dsint.o sint1.o dsinti.o
-lib$(LIB).la: $(OBJS)
- $(LIBTOOL) --mode=link $(FC) $(FFLAGS) -o $@ $(OBJS:.o=.lo) \
- -rpath $(LIBDIR) --version-info 0:0
+lib$(LIB).a: $(OBJS)
+ $(AR) cru $@ $?
+ $(RANLIB) $@
-.f.o:
- $(LIBTOOL) --mode=compile $(FC) $(FFLAGS) -c $*.f
-
-install: lib$(LIB).la
- $(LIBTOOL) --mode=install $(BSD_INSTALL_DATA) $? $(LIBDIR)
+install: lib$(LIB).a
+ $(BSD_INSTALL_DATA) $? $(LIBDIR)
clean:
- rm -rf *.o *.lo .libs lib$(LIB).la
+ rm -f *.o lib$(LIB).a