diff options
author | jtb <jtb> | 2001-02-02 00:23:49 +0000 |
---|---|---|
committer | jtb <jtb> | 2001-02-02 00:23:49 +0000 |
commit | 59032323a218fd887fca2afdb2cf4d7950577186 (patch) | |
tree | 1a25f8f6c5a3cdb8eedc545afafe16f4f48795a4 /math/fftpack/files/Makefile | |
parent | d7347c65a01c3694fd5a9bd196e65bc58e13788e (diff) | |
download | pkgsrc-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/fftpack/files/Makefile')
-rw-r--r-- | math/fftpack/files/Makefile | 23 |
1 files changed, 7 insertions, 16 deletions
diff --git a/math/fftpack/files/Makefile b/math/fftpack/files/Makefile index c99278b9442..fd444e41daa 100644 --- a/math/fftpack/files/Makefile +++ b/math/fftpack/files/Makefile @@ -2,13 +2,7 @@ LIB = fftpack LIBDIR = ${PREFIX}/lib -.if $(FC)=="f77" || $(FC)=="g77" -FOPTS=-funroll-loops -O2 -.else -FOPTS=-O2 -.endif - -all: lib$(LIB).la +all: lib$(LIB).a OBJS = cfftb.o cosqf1.o passb2.o radb2.o radfg.o \ sinqi.o cfftb1.o cosqi.o passb3.o radb3.o rfftb.o \ @@ -20,15 +14,12 @@ OBJS = cfftb.o cosqf1.o passb2.o radb2.o radfg.o \ ezffti.o passf4.o radf4.o sinqb.o cosqf.o passb.o \ passf5.o radf5.o sinqf.o -lib$(LIB).la: $(OBJS) - $(LIBTOOL) --mode=link $(FC) $(FFLAGS) $(FOPTS) \ - -o $@ $(OBJS:.o=.lo) -rpath $(LIBDIR) --version-info 0:0 - -.f.o: - $(LIBTOOL) --mode=compile $(FC) $(FFLAGS) $(FOPTS) -c $< +lib$(LIB).a: $(OBJS) + $(AR) cru $@ $? + $(RANLIB) $@ -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 |