source: codes/icosagcm/branches/SATURN_DYNAMICO/LMDZ.COMMON/bld.cfg @ 242

Last change on this file since 242 was 220, checked in by ymipsl, 10 years ago

Creating temporary dynamico/lmdz/saturn branche

YM

File size: 3.0 KB
Line 
1# ----------------------- FCM extract configuration file -----------------------
2cfg::type                           bld
3cfg::version                        1.0
4
5
6# ------------------------------------------------------------------------------
7# Build information
8# ------------------------------------------------------------------------------
9
10#Default value of FPP fortran preprocessor
11%FPP cpp
12# C preprocessor
13%CPP cpp
14
15inc arch.fcm
16inc config.fcm
17
18%CONFIG_NAME       %{ARCH}%SUFF_NAME
19%BASE_CONFIG_PATH  %LIBO/%CONFIG_NAME
20%CONFIG_PATH       %BASE_CONFIG_PATH/.config
21%SRC_PATH          %LIBF
22
23%FFLAGS            %BASE_FFLAGS %COMPIL_FFLAGS %PARA_FFLAGS
24%LD_FLAGS          %BASE_LD %PARA_LD
25
26src::dyn     %SRC_PATH/%DYN
27src::phys    %SRC_PATH/%PHYS
28src::sisvat  %SISVAT
29src::rrtm    %RRTM
30src::grid    %SRC_PATH/grid
31src::filtrez %SRC_PATH/filtrez
32src::bibio   %SRC_PATH/bibio
33src::dyn3d_common   %SRC_PATH/dyn3d_common
34src::cosp    %COSP
35src::chem    %CHEM
36src::aerono  %AERONO
37
38bld::lib            lmdz
39
40
41bld::outfile_ext::exe    %SUFF_NAME.e
42bld::target              liblmdz.a
43bld::target              %EXEC%SUFF_NAME.e
44bld::exe_dep             
45
46
47dir::root            %CONFIG_PATH
48dir::lib             %ROOT_PATH/lib
49dir::bin             %ROOT_PATH/bin
50
51#search_src           1
52
53bld::tool::fpp       %FPP
54bld::tool::cpp       %CPP
55bld::tool::fc        %COMPILER 
56bld::tool::cc        %C_COMPILER
57bld::tool::ld        %LINK
58bld::tool::ar        %AR
59bld::tool::make      %MAKE
60bld::tool::fflags    %FFLAGS %INCDIR
61bld::tool::cflags    %C_OPTIM %INCDIR
62bld::tool::ldflags   %LD_FLAGS %LIB 
63
64bld::tool::cppflags  %CPP_FLAGS %INCDIR
65bld::tool::fppflags  %FPP_FLAGS %INCDIR
66bld::tool::fppkeys   %CPP_KEY %FPP_DEF
67
68# Example of how to set specific compiling options for a specific file
69# -> this can be including in the arch.opt file
70#bld::tool::fflags::phys::readaerosol         %BASE_FFLAGS %PROD_FFLAGS  %INCDIR -C hopt -pi auto
71
72
73inc arch.opt
74
75# Pre-process code before analysing dependencies
76bld::pp              1
77
78# Ignore the following dependencies
79bld::excl_dep        inc::netcdf.inc
80bld::excl_dep        use::netcdf
81bld::excl_dep        use::typesizes
82bld::excl_dep        h::netcdf.inc
83bld::excl_dep        h::mpif.h
84bld::excl_dep        inc::mpif.h
85bld::excl_dep        use::ioipsl
86bld::excl_dep        use::intersurf
87bld::excl_dep        use::mod_prism_proto
88bld::excl_dep        use::mod_prism_def_partition_proto
89bld::excl_dep        use::mod_prism_get_proto
90bld::excl_dep        use::mod_prism_put_proto
91bld::excl_dep        use::mod_prism
92bld::excl_dep        use::xios
93bld::excl_dep        use::iaxis
94bld::excl_dep        use::iaxis_attr
95bld::excl_dep        use::icontext_attr
96bld::excl_dep        use::idate
97bld::excl_dep        use::idomain_attr
98bld::excl_dep        use::ifield_attr
99bld::excl_dep        use::ifile_attr
100bld::excl_dep        use::ixml_tree
101
102# Don't generate interface files
103bld::tool::geninterface none
104
105# Allow ".inc" as an extension for CPP include files
106bld::infile_ext::inc  CPP::INCLUDE
107
108# extension for module output
109bld::outfile_ext::mod .mod
110bld::tool::SHELL   /bin/bash
Note: See TracBrowser for help on using the repository browser.