ports/math/lapack/files/patch-ac
2006-02-08 19:50:29 +00:00

33 lines
862 B
Text

--- Makefile.orig Wed May 17 19:33:22 2000
+++ Makefile Wed Feb 8 19:59:57 2006
@@ -6,10 +6,17 @@
include make.inc
-all: install lib testing blas_testing timing blas_timing
+.if defined(ENABLE_TESTING) && ${ENABLE_TESTING} == "YES"
+all: install lib testing timing
+.else
+all: install lib
+.endif
-lib: lapacklib tmglib
-#lib: blaslib lapacklib tmglib
+.if defined(ENABLE_TESTING) && ${ENABLE_TESTING} == "YES"
+lib: blaslib lapacklib tmglib fpmclr_.o
+.else
+lib: lapacklib
+.endif
clean: cleanlib cleantesting cleantiming
@@ -18,7 +25,8 @@
./testdlamch; ./testsecond; ./testdsecnd; \
cp lsame.f ../BLAS/SRC/; cp lsame.f ../SRC; \
cp slamch.f ../SRC/; cp dlamch.f ../SRC/; \
- cp second.f ../SRC/; cp dsecnd.f ../SRC/ )
+ cp second.f ../SRC/; cp dsecnd.f ../SRC/; \
+ cp etime_.c ../SRC/ )
blaslib:
( cd BLAS/SRC; $(MAKE) )