1 | # ----------------------- FCM extract configuration file ----------------------- |
---|
2 | cfg::type bld |
---|
3 | cfg::version 1.0 |
---|
4 | |
---|
5 | |
---|
6 | # ------------------------------------------------------------------------------ |
---|
7 | # Build information |
---|
8 | # ------------------------------------------------------------------------------ |
---|
9 | |
---|
10 | |
---|
11 | inc arch.fcm |
---|
12 | inc config.fcm |
---|
13 | |
---|
14 | %ROOT_PATH $PWD |
---|
15 | %CONFIG_PATH %ROOT_PATH/.config |
---|
16 | %SRC_PATH %ROOT_PATH |
---|
17 | |
---|
18 | |
---|
19 | src::global %SRC_PATH/src_global |
---|
20 | src::parallel %SRC_PATH/src_parallel |
---|
21 | src::sechiba %SRC_PATH/src_sechiba |
---|
22 | src::stomate %SRC_PATH/src_stomate |
---|
23 | src::parameters %SRC_PATH/src_parameters |
---|
24 | src::orchidee_ol %SRC_PATH/src_driver |
---|
25 | src::ext_src %EXT_SRC |
---|
26 | |
---|
27 | bld::lib::global orglob |
---|
28 | bld::lib::parallel parallel |
---|
29 | bld::lib::sechiba sechiba |
---|
30 | bld::lib::stomate stomate |
---|
31 | bld::lib::parameters parameters |
---|
32 | bld::lib::orchidee_ol orchidee_ol |
---|
33 | bld::lib orchidee |
---|
34 | |
---|
35 | bld::target liborglob.a libparallel.a libsechiba.a libstomate.a libparameters.a liborchidee.a |
---|
36 | bld::target %EXEC |
---|
37 | bld::exe_dep ext_src global parallel sechiba stomate parameters orchidee_ol |
---|
38 | |
---|
39 | dir::root %CONFIG_PATH |
---|
40 | dir::lib %ROOT_PATH/lib |
---|
41 | dir::bin %ROOT_PATH/bin |
---|
42 | dir::inc %ROOT_PATH/lib |
---|
43 | dir::tmp %ROOT_PATH/tmp_src |
---|
44 | |
---|
45 | #search_src 1 |
---|
46 | |
---|
47 | bld::tool::fc %COMPILER |
---|
48 | bld::tool::ld %LINK |
---|
49 | bld::tool::ar %AR |
---|
50 | bld::tool::make %MAKE |
---|
51 | bld::tool::fflags %FFLAGS %INCDIR |
---|
52 | bld::tool::ldflags %LD_FFLAGS %LIBDIR -lioipsl -lnetcdf |
---|
53 | |
---|
54 | bld::tool::cppflags %FPP_FLAGS %INCDIR |
---|
55 | bld::tool::fppflags %FPP_FLAGS %INCDIR |
---|
56 | bld::tool::fppkeys %CPP_KEY |
---|
57 | |
---|
58 | |
---|
59 | # Pre-process code before analysing dependencies |
---|
60 | bld::pp 1 |
---|
61 | infile_ext::f90 fpp::fpp9x::source |
---|
62 | |
---|
63 | # Ignore the following dependencies |
---|
64 | bld::excl_dep inc::netcdf.inc |
---|
65 | bld::excl_dep use::netcdf |
---|
66 | bld::excl_dep h::netcdf.inc |
---|
67 | bld::excl_dep h::mpif.h |
---|
68 | bld::excl_dep inc::mpif.h |
---|
69 | bld::excl_dep use::ioipsl |
---|
70 | bld::excl_dep USE::defprec |
---|
71 | bld::excl_dep USE::calendar |
---|
72 | bld::excl_dep USE::xios |
---|
73 | |
---|
74 | # Don't generate interface files |
---|
75 | bld::tool::geninterface none |
---|
76 | |
---|
77 | # Allow ".inc" as an extension for CPP include files |
---|
78 | bld::infile_ext::inc CPP::INCLUDE |
---|
79 | |
---|
80 | # extension for module output |
---|
81 | bld::outfile_ext::mod .mod |
---|
82 | bld::tool::SHELL /bin/bash |
---|