source: LMDZ4/trunk/bld.cfg @ 816

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

JG+AC : Modifications needed for the use of makegcm_fcm

  • 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
11inc arch.fcm
12inc config.fcm
13
14%CONFIG_NAME       %{ARCH}%SUFF_NAME
15%BASE_CONFIG_PATH  %LIBO/%CONFIG_NAME
16%CONFIG_PATH       %BASE_CONFIG_PATH/.config
17%SRC_PATH          %LIBF
18
19
20src::dyn    %SRC_PATH/%DYN
21src::phys   %SRC_PATH/%PHYS
22src::grid    %SRC_PATH/grid
23src::filtrez %SRC_PATH/filtrez
24src::bibio   %SRC_PATH/bibio
25
26bld::lib::dyn      %DYN
27bld::lib::phys     %PHYS
28bld::lib::grid      grid
29bld::lib::filtrez   filtrez
30bld::lib::bibio     bibio
31
32
33bld::outfile_ext::exe    %SUFF_NAME.e
34bld::target              lib%{DYN}.a lib%{PHYS}.a libgrid.a libfiltrez.a libbibio.a
35bld::target              %EXEC%SUFF_NAME.e
36bld::exe_dep             %{DYN} %{PHYS} grid filtrez bibio
37
38
39dir::root            %CONFIG_PATH
40dir::lib             %BASE_CONFIG_PATH
41dir::bin             %ROOT_PATH/bin
42
43#search_src           1
44
45bld::tool::cc         sxcc
46bld::tool::fc        %COMPILER
47bld::tool::ld        %LINK
48bld::tool::ar        %AR
49bld::tool::make      %MAKE
50bld::tool::fflags    %FFLAGS %INCDIR
51bld::tool::ldflags   %LD_FLAGS %LIB 
52
53bld::tool::cppflags  %FPP_FLAGS %INCDIR
54bld::tool::fppflags  %FPP_FLAGS %INCDIR
55bld::tool::fppkeys   %CPP_KEY %FPP_DEF
56
57
58# Pre-process code before analysing dependencies
59bld::pp              1
60
61
62# Ignore the following dependencies
63bld::excl_dep        inc::netcdf.inc
64bld::excl_dep        use::netcdf
65bld::excl_dep        h::netcdf.inc
66bld::excl_dep        h::mpif.h
67bld::excl_dep        inc::mpif.h
68bld::excl_dep        use::ioipsl
69bld::excl_dep        use::intersurf
70bld::excl_dep        use::mod_prism_proto
71bld::excl_dep        use::mod_prism_def_partition_proto
72bld::excl_dep        use::mod_prism_get_proto
73bld::excl_dep        use::mod_prism_put_proto
74
75# Don't generate interface files
76bld::tool::geninterface none
77
78# Allow ".inc" as an extension for CPP include files
79bld::infile_ext::inc  CPP::INCLUDE
80
81# extension for module output
82bld::outfile_ext::mod .mod
Note: See TracBrowser for help on using the repository browser.