diff options
author | Xianyi Zhang <traits.zhang@gmail.com> | 2011-01-24 14:54:24 +0000 |
---|---|---|
committer | Xianyi Zhang <traits.zhang@gmail.com> | 2011-01-24 14:54:24 +0000 |
commit | 342bbc3871d1b43f548e9d1ae9d380a1d4989cb3 (patch) | |
tree | 385fc6d27e282ae1bb06d685833c5325615c8169 /Makefile.sparc | |
download | openblas-342bbc3871d1b43f548e9d1ae9d380a1d4989cb3.tar.gz openblas-342bbc3871d1b43f548e9d1ae9d380a1d4989cb3.tar.bz2 openblas-342bbc3871d1b43f548e9d1ae9d380a1d4989cb3.zip |
Import GotoBLAS2 1.13 BSD version codes.
Diffstat (limited to 'Makefile.sparc')
-rw-r--r-- | Makefile.sparc | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/Makefile.sparc b/Makefile.sparc new file mode 100644 index 000000000..c2b878e73 --- /dev/null +++ b/Makefile.sparc @@ -0,0 +1,41 @@ +CPP = $(CC) -E +RANLIB = ranlib + +ifdef BINARY64 + +CCOMMON_OPT += -mcpu=v9 -m64 +ifeq ($(COMPILER_F77), g77) +FCOMMON_OPT += -mcpu=v9 -m64 +endif +ifeq ($(COMPILER_F77), f90) +FCOMMON_OPT += -xarch=v9 +endif +LDFLAGS = -64 +else + +CCOMMON_OPT += -mcpu=v9 + +ifeq ($(COMPILER_F77), g77) +FCOMMON_OPT += -mcpu=v9 +endif +ifeq ($(COMPILER_F77), f90) +FCOMMON_OPT += -xarch=v8plusb +endif + +endif + +LIBNAME = $(LIBPREFIX).a + +ifndef SMP +LIBCXML = -L/opt/SUNWspro/lib/v9 +LIBATLAS = -L$(HOME)/misc/lib -lf77blas -latlas -lm +else +LIBCXML = -lcxmlp -lots -lm +endif +ifdef BINARY64 +LIBSUNPERF = -L/opt/SUNWspro/lib/v9 -L/opt/SUNWspro/prod/lib/v9 \ + -Wl,-R,/opt/SUNWspro/lib/v9 -lsunperf -lompstubs -lfui -lfsu -lsunmath +else +LIBSUNPERF = -L/opt/SUNWspro/lib -L/opt/SUNWspro/prod/lib \ + -Wl,-R,/opt/SUNWspro/lib -lsunperf -lompstubs -lfui -lfsu -lsunmath +endif
\ No newline at end of file |