source: branches/publications/ORCHIDEE_CN_CAN_r5698/bld.cfg @ 6412

Last change on this file since 6412 was 4154, checked in by sebastiaan.luyssaert, 7 years ago

DEBUG: first phase (i.e., stomate) of merging ORCHIDEE-CN-CAN r4125 into ORCHIDEE-CN r4109. This code compiles but has not been tested at all. The code was committed so that several persons can work on it in parallel.

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
11inc arch.fcm
12inc config.fcm
13
14%ROOT_PATH         $PWD
15%CONFIG_PATH       %ROOT_PATH/.config
16%SRC_PATH          %ROOT_PATH
17
18
19src::global       %SRC_PATH/src_global
20src::parallel     %SRC_PATH/src_parallel
21src::sechiba      %SRC_PATH/src_sechiba
22src::stomate      %SRC_PATH/src_stomate
23src::parameters   %SRC_PATH/src_parameters
24src::orchidee_ol  %SRC_PATH/src_driver
25src::orchoasis    %SRC_PATH/src_oasisdriver
26src::ext_src      %EXT_SRC
27
28bld::lib::global         orglob
29bld::lib::parallel       parallel
30bld::lib::sechiba        sechiba
31bld::lib::stomate        stomate
32bld::lib::parameters     parameters
33bld::lib::orchidee_ol    orchidee_ol
34bld::lib::orchoasis      orchoasis
35bld::lib                 orchidee
36
37bld::target              liborglob.a libparallel.a libsechiba.a libstomate.a libparameters.a liborchidee.a liborchoasis.a
38bld::target              %EXEC
39bld::exe_dep             ext_src global parallel sechiba stomate parameters orchidee_ol orchoasis
40
41dir::root            %CONFIG_PATH
42dir::lib             %ROOT_PATH/lib
43dir::bin             %ROOT_PATH/bin
44dir::inc             %ROOT_PATH/lib
45dir::tmp             %ROOT_PATH/tmp_src
46
47#search_src           1
48
49bld::tool::fc        %COMPILER 
50bld::tool::ld        %LINK
51bld::tool::ar        %AR
52bld::tool::make      %MAKE
53bld::tool::fflags    %FFLAGS %INCDIR
54bld::tool::ldflags   %LD_FFLAGS %LIBDIR -lioipsl -lnetcdf   
55
56bld::tool::cppflags  %FPP_FLAGS %INCDIR
57bld::tool::fppflags  %FPP_FLAGS %INCDIR
58bld::tool::fppkeys   %CPP_KEY
59
60
61# Pre-process code before analysing dependencies
62bld::pp              1
63infile_ext::f90 fpp::fpp9x::source
64
65# Ignore the following dependencies
66bld::excl_dep        inc::netcdf.inc
67bld::excl_dep        use::netcdf
68bld::excl_dep        h::netcdf.inc
69bld::excl_dep        h::mpif.h
70bld::excl_dep        inc::mpif.h
71bld::excl_dep        use::ioipsl
72bld::excl_dep        USE::defprec
73bld::excl_dep        USE::calendar
74bld::excl_dep        USE::xios
75bld::excl_dep        USE::mod_oasis
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
85bld::tool::SHELL   /bin/bash
Note: See TracBrowser for help on using the repository browser.