source: LMDZ4/branches/LMDZ4_V3_patches/bld.cfg @ 5135

Last change on this file since 5135 was 876, checked in by lsce, 17 years ago

Now the same on branch LMDZ4_V3_patches:
bld.cfg : Added variable FPP(default cpp). It is now possible to change fortran preprocessor which should be done in machine/arch-XXX.fcm, see for example machine/arch-ES_MOON.fcm. Removed variable cc never used.

makegcm_fcm : added libprefix(default ""), needed at some plateforms, for ex libsxioipsl.a instead of libioipsl.a.

JG

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.2 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
22src::dyn    %SRC_PATH/%DYN
23src::phys   %SRC_PATH/%PHYS
24src::grid    %SRC_PATH/grid
25src::filtrez %SRC_PATH/filtrez
26src::bibio   %SRC_PATH/bibio
27
28bld::lib::dyn      %DYN
29bld::lib::phys     %PHYS
30bld::lib::grid      grid
31bld::lib::filtrez   filtrez
32bld::lib::bibio     bibio
33
34
35bld::outfile_ext::exe    %SUFF_NAME.e
36bld::target              lib%{DYN}.a lib%{PHYS}.a libgrid.a libfiltrez.a libbibio.a
37bld::target              %EXEC%SUFF_NAME.e
38bld::exe_dep             %{DYN} %{PHYS} grid filtrez bibio
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# Pre-process code before analysing dependencies
61bld::pp              1
62
63
64# Ignore the following dependencies
65bld::excl_dep        inc::netcdf.inc
66bld::excl_dep        use::netcdf
67bld::excl_dep        h::netcdf.inc
68bld::excl_dep        h::mpif.h
69bld::excl_dep        inc::mpif.h
70bld::excl_dep        use::ioipsl
71bld::excl_dep        use::intersurf
72bld::excl_dep        use::mod_prism_proto
73bld::excl_dep        use::mod_prism_def_partition_proto
74bld::excl_dep        use::mod_prism_get_proto
75bld::excl_dep        use::mod_prism_put_proto
76
77# Don't generate interface files
78bld::tool::geninterface none
79
80# Allow ".inc" as an extension for CPP include files
81bld::infile_ext::inc  CPP::INCLUDE
82
83# extension for module output
84bld::outfile_ext::mod .mod
Note: See TracBrowser for help on using the repository browser.