source: LMDZ6/trunk/bld.cfg.rrtm @ 5341

Last change on this file since 5341 was 5340, checked in by Laurent Fairhead, 8 days ago

Modifications necessary so that phylmd can be compiled as a library for icosa_lmdz after the cleanup

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