NMD
Make.inc
Go to the documentation of this file.
00001 #
00002 # location of the library binary
00003 #
00004 SOMVER = 0
00005 SOVER = 0.2.0
00006 NMD_LIB_DIR = /usr/lib/petsc-real/lib
00007 PETSC_INCLUDE = -I${PETSC_DIR}/include
00008 
00009 #
00010 # compiler flags
00011 #
00012 NMD_CFLAGS = -g -O -pipe -Wall -fPIC -DPIC -DNMD_HAVE_PETSC \
00013     $(PETSC_INCLUDE) -DNMD_HAVE_HDF5
00014 
00015 # add a line
00016 include ${PETSC_DIR}/conf/variables
00017 
00018 # add a cflag:
00019 #   -DNMD_HAVE_PETSC $(PETSC_INCLUDE)
00020 # if you use this with the Petsc library
00021 
00022 # if you want to use the hdf5 dumping facility, supply the following
00023 NMD_HAVE_HDF5 = 1
00024 NMD_HDF5_INC = $(PETSC_INCLUDE)
00025 NMD_HDF5_LINK = -L${PETSC_DIR}/lib -lhdf5
00026 
00027 # this is only for the test drive
00028 NMD_HAVE_MYSQL = 0
00029 NMD_MYSQL_INCLUDE_DIR = /sw/include/mysql
00030 NMD_MYSQL_LIB_DIR = /sw/lib/mysql
00031 # the following three can be filled in here or 
00032 # given through the environment
00033 NMD_MYSQLHOST=${MYSQLHOST}
00034 NMD_MYSQLUSER=${MYSQLUSER}
00035 NMD_MYSQLPASS=${MYSQLPASS}
00036 NMD_MYSQLDBASE=${MYSQLDBASE}
00037 
00038 #
00039 # system utilities
00040 #
00041 AR = ar
00042 ARFLAGS = cr
00043 RANLIB = ranlib