source: LMDZ6/branches/compilation_2/bld.cfg.rrtm @ 5872

Last change on this file since 5872 was 5739, checked in by lguez, 5 months ago

Do not add suffix to executable

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