Debian Codegraph @

Local_settings_examples/local_settings_OSXpanther_gcc-3.3

raw
1 ###############################################################
2 #
3 # Edit the following lines according to your implementation.
4 #
5 # The environment variable HOME_LORENE (root directory for the
6 # Lorene implementation) must be have been already defined.
7 #
8 #
9 # Requirements for Macintosh OS-X panther to use LORENE
10 #
11 # (1) Install the software FINK http://fink.sourceforge.net/
12 # (2) Install the following packages
13 # (Needs to allow installing unstable distribution at this moment)
14 # atlas, cvs, doxygen, dx, fftw3, g77, gsl, make, pgplot, tetex
15 # (3) Activate GNU make by adding a link at /usr/bin
16 # ln -s /sw/bin/make /usr/bin/gmake
17 #
18 ###############################################################
19
20 #===============================#
21 # COMPILERS #
22 #===============================#
23
24 # C++ compiler:
25 # ------------
26 CXX = g++
27
28 # Options for the C++ compiler to produce the optimized library:
29 # -------------------------------------------------------------
30 CXXFLAGS = -Wall -Wconversion -Woverloaded-virtual -O2 -DNDEBUG
31
32 # Options for the C++ compiler to produce the library for debugging:
33 # -----------------------------------------------------------------
34 CXXFLAGS_G = -Wall -Wconversion -Woverloaded-virtual -g
35
36 # Path for the include files:
37 # --------------------------
38 INC = -I$(HOME_LORENE)/C++/Include -I/usr/local/include \
39 -I$(HOME_LORENE)/C++/Include_extra -I/sw/include
40
41 # Converting archives to random libraries (if required, otherwise just ls)
42 # ------------------------------------------------------------------------
43 RANLIB = ranlib
44
45 # Fortran 77 compiler:
46 # -------------------
47 F77 = g77
48
49 # Options for the Fortran 77 compiler to produce the optimized library:
50 # ---------------------------------------------------------------------
51 F77FLAGS = -Wall -O2
52
53 # Options for the Fortran 77 compiler to produce the library for debugging:
54 # ------------------------------------------------------------------------
55 F77FLAGS_G = -Wall -g
56
57 #===============================#
58 # MAKEDEPEND #
59 #===============================#
60
61 # First line uses the C precompiler (usually called cpp)
62 # if yours does not support the -M option try to figure out
63 # how to output dependencies file, or use makedepend (2nd line)
64 #--------------------------------------------------------------
65 MAKEDEPEND = g++ $(INC) -M >> $(df).d $<
66 #MAKEDEPEND = touch $(df).d && makedepend $(INC) -f $(df).d $<
67 DEPDIR = .deps
68
69 #===============================#
70 # SYSTEM LIBRARIES #
71 #===============================#
72
73 # FFT library : FFT991 in Fortran coming with Lorene
74 # FFTW3 library (must be installed separately)
75 # ---------------------------------------------------------------
76 FFT_DIR = FFTW3
77
78 # C, C++ library, mathematical library and Fortran library
79 # ---------------------------------------------------------
80 LIB_CXX = -L/usr/lib -L/usr/lib/gcc/darwin/3.3 \
81 -L/sw/lib -lfftw3 -lg2c -lstdc++ -lm
82
83 # Linear Algebra Package (LAPACK) library
84 # (1) atlas is installed in /sw/lib
85 # (2) Sensitive to the order
86 # ---------------------------------------
87 LIB_LAPACK = -L/sw/lib -llapack -lcblas -lf77blas -latlas -ltstatlas
88
89 # Graphical libraries: PGPLOT and X11 (Aquaterm)
90 # (1) pgplot is installed in /sw/lib
91 # (2) Requires the following option to adjust pgplot
92 # -framework Foundation -framework AppKit -laquaterm
93 # -----------------------------------
94 LIB_PGPLOT = -L/usr/X11R6/lib -L/sw/lib -L/sw/lib/pgplot -L/sw/include/ \
95 -lcpgplot -lpgplot -lpng -lX11 -framework Foundation \
96 -framework AppKit -laquaterm
97
98 # GNU scientific library
99 # (1) gsl is installed in /sw/lib
100 # -----------------------------------
101 LIB_GSL = -L/sw/lib -lgsl -lgslcblas