diff options
author | Maho Nakata <maho@FreeBSD.org> | 2003-07-12 03:11:47 +0000 |
---|---|---|
committer | Maho Nakata <maho@FreeBSD.org> | 2003-07-12 03:11:47 +0000 |
commit | bd3ab8c828cc703986e44cd9f1f9794419f77f0c (patch) | |
tree | b3d0946b127f9cdbaf55332a319c8e2d56662d30 /math/superlu_mt/files/patch-make.inc | |
parent | a) patch-cgx_1.0+src+readcxx.c is not needed anymore since we (diff) |
Add new port superlu_mt
PR: 52033
Submitted by: Pedro F. Giffuni <giffunip@yahoo.com>
Notes
Notes:
svn path=/head/; revision=84726
Diffstat (limited to 'math/superlu_mt/files/patch-make.inc')
-rw-r--r-- | math/superlu_mt/files/patch-make.inc | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/math/superlu_mt/files/patch-make.inc b/math/superlu_mt/files/patch-make.inc new file mode 100644 index 000000000000..31ec2aa36745 --- /dev/null +++ b/math/superlu_mt/files/patch-make.inc @@ -0,0 +1,46 @@ +--- make.inc.orig Thu Sep 2 15:47:13 1999 ++++ make.inc Tue May 27 19:32:12 2003 +@@ -14,14 +14,15 @@ + # + # The machine (platform) identifier to append to the library names + # +-PLAT = _SOLARIS ++PLAT = _PTHREAD + + # Common Libraries +-TMGLIB = tmglib$(PLAT).a +-SUPERLULIB = superlu_mt$(PLAT).a +-BLASLIB = ../blas$(PLAT).a ++TMGLIB = libtmg.a ++SUPERLULIB = libsuperlu_mt.a ++BLASDEF = -DUSE_VENDOR_BLAS ++BLASLIB = %%BLAS_LIBS%% + MATHLIB = -lm +-MPLIB = -lthread ++MPLIB = %%PTHREAD_LIBS%% + + # + # The archiver and the flag(s) to use when building archive (library) +@@ -32,18 +33,18 @@ + RANLIB = ranlib + + # for Solaris 2.x +-CC = cc ++CC ?= cc + # + # Definitions used by CPP: + PREDEFS = -D$(PLAT) + # +-CFLAGS = $(PREDEFS) -xO3 -xcg92 $(DBG) ++CFLAGS += $(PREDEFS) %%PTHREAD_CFLAGS%% + NOOPTS = + BLASOPTS = + LOADER = cc + LOADOPTS = -O +-FORTRAN = f77 +-FFLAGS = -O ++FORTRAN ?= f77 ++FFLAGS ?= -O + + # + # C preprocessor defs for compilation (-DNoChange, -DAdd_, or -DUpCase) |