summaryrefslogtreecommitdiff
path: root/math/meschach/files
diff options
context:
space:
mode:
authorjtb <jtb@pkgsrc.org>2000-12-11 01:37:01 +0000
committerjtb <jtb@pkgsrc.org>2000-12-11 01:37:01 +0000
commit6a970c0e33e3b907406f41854aeba67f7f8b507d (patch)
treefe57382f471f367ff8c30326e2461fe61fab0212 /math/meschach/files
parent221a36c39da48c8cc0313fecebf42d326b005966 (diff)
downloadpkgsrc-6a970c0e33e3b907406f41854aeba67f7f8b507d.tar.gz
Use --version-info 0:0 . Shortened the Makefile for the torture tests.
Diffstat (limited to 'math/meschach/files')
-rw-r--r--math/meschach/files/makefile.in7
-rw-r--r--math/meschach/files/makefile.test35
2 files changed, 9 insertions, 33 deletions
diff --git a/math/meschach/files/makefile.in b/math/meschach/files/makefile.in
index 93e4fc17e58..0ad92c4f0a3 100644
--- a/math/meschach/files/makefile.in
+++ b/math/meschach/files/makefile.in
@@ -16,10 +16,11 @@ OBJ = copy.o err.o matrixio.o memory.o vecop.o matop.o pxop.o \
zqrfctr.o zgivens.o zhessen.o zschur.o conjgrad.o lanczos.o \
arnoldi.o
-all: libmeschach
+all: libmeschach.la
-libmeschach: $(OBJ)
- @$(LIBTOOL) $(CC) -O -o libmeschach.la $(OBJ:.o=.lo) -rpath $(LIBDIR)
+libmeschach.la: $(OBJ)
+ @$(LIBTOOL) $(CC) -O -o $@ $(OBJ:.o=.lo) \
+ -rpath $(LIBDIR) --version-info 0:0
install:
@$(LIBTOOL) --mode=install install -c libmeschach.la $(LIBDIR)
diff --git a/math/meschach/files/makefile.test b/math/meschach/files/makefile.test
index bad8b0dcff5..73e4ea2ed7c 100644
--- a/math/meschach/files/makefile.test
+++ b/math/meschach/files/makefile.test
@@ -2,39 +2,14 @@ LIBS = -L%%PREFIX%%/lib -lmeschach -lm
CFLAGS = -I%%PREFIX%%/include -O2 -ansi
-TORTURE = torture.o sptort.o ztorture.o memtort.o itertort.o \
- mfuntort.o iotort.o
+TORTURE = torture sptort ztorture memtort itertort mfuntort iotort
-all: alltorture
+TORTURE_O = $(TORTURE:=.o)
-alltorture: torture sptort ztorture memtort itertort mfuntort iotort
+all: $(TORTURE)
-torture: torture.o
- $(CC) $(CFLAGS) -O -o torture torture.o $(LIBS)
-
-sptort: sptort.o
- $(CC) $(CFLAGS) -O -o sptort sptort.o $(LIBS)
-
-memtort: memtort.o
- $(CC) $(CFLAGS) -O -o memtort memtort.o $(LIBS)
-
-ztorture: ztorture.o
- $(CC) $(CFLAGS) -O -o ztorture ztorture.o $(LIBS)
-
-itertort: itertort.o
- $(CC) $(CFLAGS) -O -o itertort itertort.o $(LIBS)
-
-iotort: iotort.o
- $(CC) $(CFLAGS) -O -o iotort iotort.o $(LIBS)
-
-mfuntort: mfuntort.o
- $(CC) $(CFLAGS) -O -o mfuntort mfuntort.o $(LIBS)
-
-tstmove: tstmove.o
- $(CC) $(CFLAGS) -O -o tstmove tstmove.o $(LIBS)
-
-tstpxvec: tstpxvec.o
- $(CC) $(CFLAGS) -O -o tstpxvec tstpxvec.o $(LIBS)
+$(TORTURE): $(TORTURE_O)
+ $(CC) $(CFLAGS) $@.o $(LIBS) -o $@
clean:
rm -fr *.o *.core iotort.dat torture sptort ztorture \