diff options
author | jtb <jtb> | 2001-02-02 00:23:49 +0000 |
---|---|---|
committer | jtb <jtb> | 2001-02-02 00:23:49 +0000 |
commit | eb056db8245ae973768f8865909445f989969fd7 (patch) | |
tree | 1a25f8f6c5a3cdb8eedc545afafe16f4f48795a4 /math/quadpack/files | |
parent | cca52f6b0b898fb92b85b02cb8dbe85669327d7c (diff) | |
download | pkgsrc-eb056db8245ae973768f8865909445f989969fd7.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/quadpack/files')
-rw-r--r-- | math/quadpack/files/Makefile | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/math/quadpack/files/Makefile b/math/quadpack/files/Makefile index 20efa3af9df..a22ea3a0725 100644 --- a/math/quadpack/files/Makefile +++ b/math/quadpack/files/Makefile @@ -1,12 +1,10 @@ LIB = quadpack LIBDIR = ${PREFIX}/lib -FORTRAN = %%FORTRAN%% -FFLAGS = -O3 -all: lib$(LIB) +all: lib$(LIB).a -OBJ= dqag.o dqage.o dqagi.o dqagie.o dqagp.o dqagpe.o dqags.o \ +OBJS = dqag.o dqage.o dqagi.o dqagie.o dqagp.o dqagpe.o dqags.o \ dqagse.o dqawc.o dqawce.o dqawf.o dqawfe.o dqawo.o \ dqawoe.o dqaws.o dqawse.o dqc25c.o dqc25f.o dqc25s.o \ dqcheb.o dqelg.o dqk15.o dqk15i.o dqk15w.o dqk21.o \ @@ -18,15 +16,12 @@ OBJ= dqag.o dqage.o dqagi.o dqagie.o dqagp.o dqagpe.o dqags.o \ qk31.o qk41.o qk51.o qk61.o qmomo.o qng.o qpsrt.o \ qwgtc.o qwgtf.o qwgts.o -lib$(LIB): $(OBJ) - @$(LIBTOOL) --mode=link $(FORTRAN) $(FFLAGS) \ - -O -o lib$(LIB).la $(OBJ:.o=.lo) -rpath $(LIBDIR) --version-info 0:0 +lib$(LIB).a: $(OBJS) + $(AR) cru $@ $? + $(RANLIB) $@ -.f.o: - @$(LIBTOOL) --mode=compile $(FORTRAN) $(FFLAGS) -c $*.f - -install: lib$(LIB) - @$(LIBTOOL) --mode=install install -c lib$(LIB).la $(LIBDIR) +install: lib$(LIB).a + $(BSD_INSTALL_DATA) $? $(LIBDIR) clean: - rm -rf *.o *.lo .libs lib$(LIB).la + rm -f *.o lib$(LIB).a |