source: branches/publications/ORCHIDEE-MICT-OP-r6850/bld.cfg @ 8076

Last change on this file since 8076 was 5890, checked in by albert.jornet, 5 years ago

Merge: from [5888/perso/albert.jornet/MICT_PFUNIT]

File size: 2.7 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::math         %SRC_PATH/src_math
24src::parameters   %SRC_PATH/src_parameters
25src::sticslai     %SRC_PATH/src_sticslai
26src::orchidee_ol  %SRC_PATH/src_driver
27src::orchoasis    %SRC_PATH/src_oasisdriver
28src::ext_src      %EXT_SRC
29
30bld::lib::global         orglob
31bld::lib::parallel       parallel
32bld::lib::sechiba        sechiba
33bld::lib::stomate        stomate
34bld::lib::math           math
35bld::lib::parameters     parameters
36bld::lib::sticslai       sticslai
37bld::lib::orchidee_ol    orchidee_ol
38bld::lib::orchoasis      orchoasis
39bld::lib                 orchidee
40
41bld::target              liborglob.a libparallel.a libsechiba.a libstomate.a libmath.a libparameters.a libsticslai.a liborchidee.a
42bld::target              %EXEC
43bld::exe_dep             sticslai ext_src global parallel sechiba stomate math parameters orchidee_ol orchoasis
44
45dir::root            %CONFIG_PATH
46dir::lib             %ROOT_PATH/lib
47dir::bin             %ROOT_PATH/bin
48dir::inc             %ROOT_PATH/lib
49dir::tmp             %ROOT_PATH/tmp_src
50
51#search_src           1
52
53bld::tool::fc        %COMPILER 
54bld::tool::ld        %LINK
55bld::tool::ar        %AR
56bld::tool::make      %MAKE
57bld::tool::fflags    %FFLAGS %INCDIR
58bld::tool::ldflags   %LD_FFLAGS %LIBDIR -lioipsl -lnetcdf   
59
60bld::tool::cppflags  %FPP_FLAGS %INCDIR
61bld::tool::fppflags  %FPP_FLAGS %INCDIR
62bld::tool::fppkeys   %CPP_KEY
63
64
65# Pre-process code before analysing dependencies
66bld::pp              true
67infile_ext::f90 fpp::fpp9x::source
68
69# Ignore the following dependencies
70bld::excl_dep        inc::netcdf.inc
71bld::excl_dep        use::netcdf
72bld::excl_dep        h::netcdf.inc
73bld::excl_dep        use::ioipsl
74bld::excl_dep        USE::defprec
75bld::excl_dep        USE::calendar
76bld::excl_dep        USE::xios
77bld::excl_dep        USE::mod_oasis
78bld::excl_dep        USE::mpi
79bld::excl_dep        USE::iso_fortran_env
80
81# Don't generate interface files
82bld::tool::geninterface none
83
84# Allow ".inc" as an extension for CPP include files
85bld::infile_ext::inc  CPP::INCLUDE
86
87# extension for module output
88bld::outfile_ext::mod .mod
89bld::tool::SHELL   /bin/bash
Note: See TracBrowser for help on using the repository browser.