source: LMDZ5/branches/LF-private/bld.cfg @ 3586

Last change on this file since 3586 was 1869, checked in by Laurent Fairhead, 11 years ago

Suite intégration SISVAT: ne pas compiler SISVAT si on n'en a pas besoin quand
makelmdz_fcm est utilisé


Follow-up on SISVAT integration: do not compile SISVAT if not needed when using
makelmdz_fcm

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.5 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
13inc arch.fcm
14inc config.fcm
15
16%CONFIG_NAME       %{ARCH}%SUFF_NAME
17%BASE_CONFIG_PATH  %LIBO/%CONFIG_NAME
18%CONFIG_PATH       %BASE_CONFIG_PATH/.config
19%SRC_PATH          %LIBF
20
21%FFLAGS            %BASE_FFLAGS %COMPIL_FFLAGS %PARA_FFLAGS
22%LD_FLAGS          %BASE_LD %PARA_LD
23
24src::dyn     %SRC_PATH/%DYN
25src::phys    %SRC_PATH/%PHYS
26#src::sisvat  %SRC_PATH/%PHYS/sisvat
27src::grid    %SRC_PATH/grid
28src::filtrez %SRC_PATH/filtrez
29src::bibio   %SRC_PATH/bibio
30src::cosp    %COSP
31src::ext_src %EXT_SRC
32
33bld::lib            lmdz
34
35bld::outfile_ext::exe    %SUFF_NAME.e
36bld::target              liblmdz.a
37bld::target              %EXEC%SUFF_NAME.e
38bld::exe_dep             
39
40
41dir::root            %CONFIG_PATH
42dir::lib             %BASE_CONFIG_PATH
43dir::bin             %ROOT_PATH/bin
44
45#search_src           1
46
47bld::tool::fpp       %FPP
48bld::tool::fc        %COMPILER
49bld::tool::ld        %LINK
50bld::tool::ar        %AR
51bld::tool::make      %MAKE
52bld::tool::fflags    %FFLAGS %INCDIR
53bld::tool::ldflags   %LD_FLAGS %LIB 
54
55bld::tool::cppflags  %FPP_FLAGS %INCDIR
56bld::tool::fppflags  %FPP_FLAGS %INCDIR
57bld::tool::fppkeys   %CPP_KEY %FPP_DEF
58
59
60# Example of how to set specific compiling options for a specific file
61# -> this can be including in the arch.opt file
62#bld::tool::fflags::phys::readaerosol         %BASE_FFLAGS %PROD_FFLAGS  %INCDIR -C hopt -pi auto
63
64
65inc arch.opt
66
67# Pre-process code before analysing dependencies
68bld::pp              1
69
70
71# Ignore the following dependencies
72bld::excl_dep        inc::netcdf.inc
73bld::excl_dep        use::netcdf
74bld::excl_dep        use::typesizes
75bld::excl_dep        h::netcdf.inc
76bld::excl_dep        h::mpif.h
77bld::excl_dep        inc::mpif.h
78bld::excl_dep        use::ioipsl
79bld::excl_dep        use::intersurf
80bld::excl_dep        use::mod_prism_proto
81bld::excl_dep        use::mod_prism_def_partition_proto
82bld::excl_dep        use::mod_prism_get_proto
83bld::excl_dep        use::mod_prism_put_proto
84
85# Don't generate interface files
86bld::tool::geninterface none
87
88# Allow ".inc" as an extension for CPP include files
89bld::infile_ext::inc  CPP::INCLUDE
90
91# extension for module output
92bld::outfile_ext::mod .mod
93bld::tool::SHELL   /bin/bash
94bld::tool::SHELL   /bin/ksh
Note: See TracBrowser for help on using the repository browser.