Debian Codegraph @

Local_settings_examples/local_settings_irix

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
10 #===============================#
11 # COMPILERS #
12 #===============================#
13
14 # C++ compiler:
15 # ------------
16 CXX = CC
17
18 # Options for the C++ compiler to produce the optimized library:
19 # -------------------------------------------------------------
20 CXXFLAGS = -n32 -mips4 -r12000 -O2 -OPT:Olimit=0 -LANG:std -DNDEBUG
21
22 # Options for the C++ compiler to produce the library for debugging:
23 # -----------------------------------------------------------------
24 CXXFLAGS_G = -n32 -g -mips4 -LANG:std
25
26 # Path for the include files:
27 # --------------------------
28 INC = -I$(HOME_LORENE)/C++/Include -I/usr/include/CC \
29 -I$(HOME_LORENE)/C++/Include_extra
30
31 # Converting archives to random libraries (if required, otherwise just ls)
32 # ------------------------------------------------------------------------
33 RANLIB = ls
34
35 # Fortran 77 compiler:
36 # -------------------
37 F77 = f77
38
39 # Options for the Fortran 77 compiler to produce the optimized library:
40 # ---------------------------------------------------------------------
41 F77FLAGS = -n32 -mips4 -O2 -OPT:Olimit=3500 -extend_source
42
43 # Options for the Fortran 77 compiler to produce the library for debugging:
44 # ------------------------------------------------------------------------
45 F77FLAGS_G = -n32 -g -static -mips4 -O0 -extend_source
46
47 #===============================#
48 # MAKEDEPEND #
49 #===============================#
50
51 # First line uses the C precompiler (usually called cpp)
52 # if yours does not support the -M option try to figure out
53 # how to output dependencies file, or use makedepend (2nd line)
54 #--------------------------------------------------------------
55 MAKEDEPEND = CC $(CXXFLAGS_G) $(INC) -M >> $(df).d $<
56 #MAKEDEPEND = touch $(df).d && makedepend $(INC) -D_STANDARD_C_PLUS_PLUS -f $(df).d $<
57 DEPDIR = .deps
58
59 #===============================#
60 # SYSTEM LIBRARIES #
61 #===============================#
62
63 # FFT library : FFT991 in Fortran coming with Lorene
64 # FFTW3 library (must be installed separately)
65 # -------------------------------------------------------------------
66 FFT_DIR = FFT991
67
68 # C, C++ library, mathematical library and Fortran library
69 # ---------------------------------------------------------
70 LIB_CXX = -lm -lftn
71
72 # Linear Algebra Package (LAPACK) library
73 # ---------------------------------------
74 LIB_LAPACK = -lcomplib.sgimath
75
76 # Graphical libraries: PGPLOT and X11
77 # -----------------------------------
78 LIB_PGPLOT = -L/usr/freeware/lib -lcpgplot -lpgplot -lX11
79
80 # GNU scientific library
81 # -----------------------------------
82 LIB_GSL = -lgsl -lgslcblas
83
84