1 # COMPILER_PREFIX = mingw32-
3 ifneq ($(DYNAMIC_ARCH),1)
14 ifneq ($(F_COMPILER), NAG)
20 ifeq ($(OSNAME), Interix)
25 LIBMKL = -L$(MKLPATH)/32 -Wl,-rpath,$(MKLPATH)/32 -lmkl_intel -lmkl_sequential -lmkl_core -lguide -lpthread -lm
27 LIBMKL = -L$(MKLPATH)/32 -Wl,-rpath,$(MKLPATH)/32 -lmkl_intel -lmkl_intel_thread -lmkl_core -lguide -lpthread -lm
30 # LIBMKL = -L$(MKLPATH)/32 -lmkl_lapack -lmkl_ia32 -lguide -lpthread -lm
33 LIBATLAS = -L$(ATLAS) -lf77blas -latlas -lg2c -lm
35 LIBATLAS = -L$(ATLAS) -lptf77blas -latlas -lpthread -lg2c -lm
38 ifeq ($(COMPILER_F77), g77)
39 LIBACML = -L$(ACMLPATH)/gnu32/lib -Wl,-rpath,$(ACMLPATH)/gnu32/lib -lacml -lg2c
42 LIBFLAME = -L$(FLAMEPATH) -llapack2flame -lflame-lapack -lflame-base $(LIBS)
44 ifeq ($(F_COMPILER), GFORTRAN)
46 LIBACML = -L$(ACMLPATH)/gfortran32/lib -Wl,-rpath,$(ACMLPATH)/gfortran32/lib -lacml -lgfortran -lm
48 LIBACML = -L$(ACMLPATH)/gfortran32_mp/lib -Wl,-rpath,$(ACMLPATH)/gfortran32_mp/lib -lacml_mp -lgfortran -lgomp -lm
52 ifeq ($(COMPILER_F77), pgf77)
53 LIBACML = -L$(ACMLPATH)/pgi32/lib -lacml -L/opt/pgi/linux86-64/5.2/lib -lpgftnrtl -lnspgc -lpgc
56 ifeq ($(F_COMPILER), PATHSCALE)
58 LIBACML = -L$(ACMLPATH)/pathscale32/lib -Wl,-rpath,$(ACMLPATH)/pathscale32/lib -lacml -Wl,-rpath,$(PATHSCALEPATH) -L$(PATHSCALEPATH) -lpathfortran -lm
60 LIBACML = -L$(ACMLPATH)/pathscale32_mp/lib -Wl,-rpath,$(ACMLPATH)/pathscale32_mp/lib -lacml_mp -Wl,-rpath,$(PATHSCALEPATH) -L$(PATHSCALEPATH) -lopenmp -lpathfortran -lm
64 LIBSUNPERF = -L/opt/SUNWspro/lib/sse2 -Wl,-R,/opt/SUNWspro/lib/sse2 -lsunperf
66 LIBVECLIB = /System/Library/Frameworks/vecLib.framework/Versions/Current/vecLib
69 LIBATLAS = -L$(ATLASPATH)/32 -lcblas -lf77blas -latlas -lm
71 LIBATLAS = -L$(ATLASPATH)/32 -lptf77blas -lptatlas -lpthread -lm
81 CCOMMON_OPT += -mssse3
82 FCOMMON_OPT += -mssse3
85 CCOMMON_OPT += -msse4.1
86 FCOMMON_OPT += -msse4.1