SALSA Analysis Modules
Make.inc
Go to the documentation of this file.
00001 ##
00002 ## Make include file containing dependencies for AnaMod
00003 ##
00004 
00005 # where are the library files going to be placed?
00006 SOMVER = 0
00007 SOVER = 0.2.0
00008 ANAMOD_LIB_DIR = /usr/lib/petsc-real/lib
00009 
00010 MYSQL_FLAGS = -DHAVE_MYSQL \
00011         -DMYSQLHOST=${ANAMOD_MYSQLHOST} -DMYSQLUSER=${ANAMOD_MYSQLUSER} \
00012         -DMYSQLPASS=${ANAMOD_MYSQLPASS} -DMYSQLDBASE=${ANAMOD_MYSQLDBASE}
00013 MYSQL_INCLUDE = -I/usr/include/mysql
00014 # if you do not have the salsa NMD library, zero the following definitions,
00015 # otherwise, fill in the correct include and library directories
00016 ANAMOD_HAVE_NMD = 1
00017 ANAMOD_NMD_FLAGS = $(MYSQL_FLAGS) $(MYSQL_INCLUDE) \
00018   -DHAVE_NMD -I/usr/src/RPM/BUILD/salsa-real-2.01/nmd -g
00019 ANAMOD_NMD_LIB_LINK = -L$(ANAMOD_LIB_DIR) -lnmd
00020 
00021 # if you do not have the SLEPc library, zero the following definitions
00022 ANAMOD_HAVE_SLEPC = 1
00023 ANAMOD_SLEPC_FLAGS = \
00024   -DHAVE_SLEPC -I${PETSC_DIR}/include
00025 ANAMOD_SLEPC_LIB_DIR = ${PETSC_DIR}/lib
00026 
00027 # if you do not have lapack installed, zero the following definition
00028 ANAMOD_HAVE_LAPACK = 1
00029 # indicate the proper f-c linking convention:
00030 ANAMOD_LAPACK_FLAGS = -DLAPACK_DGEESX=dgeesx_
00031 
00032 # misc
00033 ANAMOD_COPTFLAGS = -O -g -pipe -Wall -fPIC -DPIC
00034 
00035 ADDLIBS = -L$(ANAMOD_LIB_DIR) -lnmd -L${PETSC_DIR}/lib -lslepc \
00036         -lmysqlclient -Wl,-R$(ANAMOD_LIB_DIR)
00037