# -------------------------------------------------------------------
# MAdLib - Copyright (C) 2008-2009 Universite catholique de Louvain
#
# See the Copyright.txt and License.txt files for license information. 
# You should have received a copy of these files along with MAdLib. 
# If not, see <http://www.madlib.be/license/>
#
# Please report all bugs and problems to <contrib@madlib.be>
#
# Authors: Gaetan Compere, Jean-Francois Remacle
# -------------------------------------------------------------------

# OS and host
UNAME=Linux
HOSTNAME=allspice

# The names of the C and C++ compilers
CC=i686-linux-gnu-gcc
CXX=i686-linux-gnu-g++

# If you need to link to dynamic libraries installed in non-standard
# locations and are using the GNU linker, you may want to add
# '-Wl,--rpath,/path/to/dynamic/library' to the 'LINKER' variable
# below. Alternatively, you could edit the 'LD_LIBARY_PATH'
# environement variable or use the 'ldconfig' program.
LINKER=i686-linux-gnu-g++

# All compiler flags except optimization flags
FLAGS=@FLAGS@

# Flag for c++ compiler
CXXFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=0 -ansi 

# Additional system includes
SYSINCLUDE=

# Compiler optimization flags
OPTIM=@OPTIM@

# MAdLib definitions
MAdLib_DEFS= -D_HAVE_ANN_ -D_HAVE_MATHEX_ -D_HAVE_BLAS_ -DHAVE_BLAS -D_HAVE_LAPACK_ -DHAVE_LAPACK

# MAdLib subdirectories
MAdLib_DIRS=Contrib/ANN Common/ Geo/ Mesh/ Adapt/ . Benchmarks/checkMesh Benchmarks/meshInfo Benchmarks/optimize Benchmarks/moveIt

# MAdLib libraries
MAdLib_LIBS=-L${exec_prefix}/lib -Wl,-rpath,${exec_prefix}/lib -lMAdLib -llapack  -lblas -lm

# MAdLib include directories
MAdLib_INCLUDES=       -I$(top_srcdir)/Geo       -I$(top_srcdir)/Mesh       -I$(top_srcdir)/Common       -I$(top_srcdir)/Adapt       -I$(top_srcdir)/Adapt/constraint       -I$(top_srcdir)/Adapt/operator       -I$(top_srcdir)/Adapt/output       -I$(top_srcdir)/Adapt/quality       -I$(top_srcdir)/Adapt/repositioning       -I$(top_srcdir)/Adapt/sizeField       -I$(top_srcdir)/Adapt/utils -I$(top_srcdir)/Contrib/ANN/include/ANN -I$(top_srcdir)/Contrib/ANN/src -I$(top_srcdir)/Contrib/mathex 

# MAdLib benchmarks subdirectories
#MAdLib_BENCHDIRS=Benchmarks/checkMesh Benchmarks/meshInfo Benchmarks/optimize Benchmarks/moveIt

# How you create a static library on this machine
AR=ar
ARFLAGS=
RANLIB=ranlib

# The symbol used in front of compiler flags
DASH=-

# The extension to use for object files, libraries and executables
OBJEXT=.o
LIBEXT=@LIBEXT@
EXEEXT=

# File handling commands
RM=rm -f

# Documentation genration
DOXYGEN=

# Installation directories
prefix=/usr
srcdir=.
top_srcdir=.
ac_top_srcdir=@ac_top_srcdir@
exec_prefix=${prefix}
bindir=${exec_prefix}/bin
datadir=${datarootdir}
datarootdir=${prefix}/share
includedir=/usr/include/MAdLib
libdir=${exec_prefix}/lib
docdir=${datarootdir}/doc/${PACKAGE_TARNAME}
mandir=${prefix}/share/man
infodir=${prefix}/share/info
