|
|
|
##########################################################
|
|
|
|
.mod=@MODEXT@
|
|
|
|
.fh=.fh
|
|
|
|
.SUFFIXES:
|
|
|
|
.SUFFIXES: .f90 .F90 .f .F .c .o
|
|
|
|
##########################################################
|
|
|
|
# #
|
|
|
|
# Note: directories external to the MLD2P4 subtree #
|
|
|
|
# must be specified here with absolute pathnames #
|
|
|
|
# #
|
|
|
|
##########################################################
|
|
|
|
PSBLASDIR=@PSBLAS_DIR@
|
|
|
|
PSBLAS_INCDIR=@PSBLAS_INCDIR@
|
|
|
|
PSBLAS_MODDIR=@PSBLAS_MODDIR@
|
|
|
|
PSBLAS_LIBDIR=@PSBLAS_LIBDIR@
|
|
|
|
@PSBLAS_INSTALL_MAKEINC@
|
|
|
|
PSBLAS_INCLUDES=@PSBLAS_INCLUDES@
|
|
|
|
PSBLAS_LIBS=@PSBLAS_LIBS@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
INSTALL=@INSTALL@
|
|
|
|
INSTALL_DATA=@INSTALL_DATA@
|
|
|
|
INSTALL_DIR=@INSTALL_DIR@
|
|
|
|
INSTALL_LIBDIR=@INSTALL_LIBDIR@
|
|
|
|
INSTALL_INCLUDEDIR=@INSTALL_INCLUDEDIR@
|
|
|
|
INSTALL_MODULESDIR=@INSTALL_MODULESDIR@
|
|
|
|
INSTALL_DOCSDIR=@INSTALL_DOCSDIR@
|
|
|
|
INSTALL_SAMPLESDIR=@INSTALL_SAMPLESDIR@
|
|
|
|
|
|
|
|
|
|
|
|
##########################################################
|
|
|
|
# #
|
|
|
|
# Additional defines and libraries for multilevel #
|
|
|
|
# Note that these libraries should be compatible #
|
|
|
|
# (compiled with) the compilers specified in the #
|
|
|
|
# PSBLAS main Make.inc #
|
|
|
|
# #
|
|
|
|
# Examples: #
|
|
|
|
# MUMPSLIBS=-ldmumps -lmumps_common #
|
|
|
|
# -lpord -L/path/to/MUMPS/lib #
|
|
|
|
# MUMPSFLAGS=-DHave_MUMPS_ -I/path/to/MUMPS/include #
|
|
|
|
# #
|
|
|
|
# UMFLIBS=-lumfpack -lamd -L/path/to/UMFPACK #
|
|
|
|
# UMFFLAGS=-DHave_UMF_ -I/path/to/UMFPACK #
|
|
|
|
# #
|
|
|
|
# SLULIBS=-lslu -L/path/to/SuperLU #
|
|
|
|
# SLUFLAGS=-DHave_SLU_ -I/path/to/SuperLU #
|
|
|
|
# #
|
|
|
|
# SLUDISTLIBS=-lslud -L/path/to/SuperLUDist #
|
|
|
|
# SLUDISTFLAGS=-DHave_SLUDist_ -I/path/to/SuperLUDist #
|
|
|
|
# #
|
|
|
|
##########################################################
|
|
|
|
|
|
|
|
MUMPSLIBS=@MUMPS_LIBS@
|
|
|
|
MUMPSFLAGS=@MUMPS_FLAGS@
|
|
|
|
|
|
|
|
SLULIBS=@SLU_LIBS@
|
|
|
|
SLUFLAGS=@SLU_FLAGS@
|
|
|
|
|
|
|
|
SLUDISTLIBS=@SLUDIST_LIBS@
|
|
|
|
SLUDISTFLAGS=@SLUDIST_FLAGS@
|
|
|
|
|
|
|
|
UMFLIBS=@UMF_LIBS@
|
|
|
|
UMFFLAGS=@UMF_FLAGS@
|
|
|
|
|
|
|
|
EXTRALIBS=@EXTRA_LIBS@
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
MLDCDEFINES=$(MUMPSFLAGS) $(SLUFLAGS) $(UMFFLAGS) $(SLUDISTFLAGS) $(PSBCDEFINES)
|
|
|
|
MLDFDEFINES=@FDEFINES@ $(PSBFDEFINES)
|
|
|
|
|
|
|
|
CDEFINES=$(MLDCDEFINES)
|
|
|
|
FDEFINES=$(MLDFDEFINES)
|
|
|
|
|
|
|
|
@COMPILERULES@
|
|
|
|
|
|
|
|
|
|
|
|
MLDLDLIBS=$(MUMPSLIBS) $(SLULIBS) $(SLUDISTLIBS) $(UMFLIBS) $(EXTRALIBS) $(PSBLDLIBS)
|
|
|
|
LDLIBS=$(MLDLDLIBS)
|
|
|
|
|