1 | # ----------------------- FCM extract configuration file ----------------------- |
---|
2 | cfg::type bld |
---|
3 | cfg::version 1.0 |
---|
4 | |
---|
5 | |
---|
6 | # ------------------------------------------------------------------------------ |
---|
7 | # Build information |
---|
8 | # ------------------------------------------------------------------------------ |
---|
9 | |
---|
10 | #Default value of FPP fortran preprocessor |
---|
11 | %FPP cpp |
---|
12 | |
---|
13 | inc arch.fcm |
---|
14 | inc 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 | %FFLAGS %BASE_FFLAGS %COMPIL_FFLAGS %PARA_FFLAGS |
---|
22 | %LD_FLAGS %BASE_LD %PARA_LD |
---|
23 | |
---|
24 | src::dyn %SRC_PATH/%DYN |
---|
25 | src::phys %SRC_PATH/%PHYS |
---|
26 | src::grid %SRC_PATH/grid |
---|
27 | src::filtrez %SRC_PATH/filtrez |
---|
28 | src::bibio %SRC_PATH/bibio |
---|
29 | |
---|
30 | bld::lib::dyn %DYN |
---|
31 | bld::lib::phys %PHYS |
---|
32 | bld::lib::grid grid |
---|
33 | bld::lib::filtrez filtrez |
---|
34 | bld::lib::bibio bibio |
---|
35 | |
---|
36 | |
---|
37 | bld::outfile_ext::exe %SUFF_NAME.e |
---|
38 | bld::target lib%{DYN}.a lib%{PHYS}.a libgrid.a libfiltrez.a libbibio.a |
---|
39 | bld::target %EXEC%SUFF_NAME.e |
---|
40 | bld::exe_dep %{DYN} %{PHYS} grid filtrez bibio |
---|
41 | |
---|
42 | |
---|
43 | dir::root %CONFIG_PATH |
---|
44 | dir::lib %BASE_CONFIG_PATH |
---|
45 | dir::bin %ROOT_PATH/bin |
---|
46 | |
---|
47 | #search_src 1 |
---|
48 | |
---|
49 | bld::tool::fpp %FPP |
---|
50 | bld::tool::fc %COMPILER |
---|
51 | bld::tool::ld %LINK |
---|
52 | bld::tool::ar %AR |
---|
53 | bld::tool::make %MAKE |
---|
54 | bld::tool::fflags %FFLAGS %INCDIR |
---|
55 | bld::tool::ldflags %LD_FLAGS %LIB |
---|
56 | |
---|
57 | bld::tool::cppflags %FPP_FLAGS %INCDIR |
---|
58 | bld::tool::fppflags %FPP_FLAGS %INCDIR |
---|
59 | bld::tool::fppkeys %CPP_KEY %FPP_DEF |
---|
60 | |
---|
61 | |
---|
62 | #bld::tool::fflags::phys::readaerosol %BASE_FFLAGS %PROD_FFLAGS %INCDIR -C hopt -pi auto |
---|
63 | #bld::tool::fflags::phys::aeropt_2bands %BASE_FFLAGS %PROD_FFLAGS %INCDIR |
---|
64 | #bld::tool::fflags::phys::radiation_AR4 %BASE_FFLAGS %PROD_FFLAGS1 %INCDIR -C hopt -Wf,-O,extendreorder |
---|
65 | #bld::tool::fflags::phys::radiation_AR4_param %BASE_FFLAGS %PROD_FFLAGS1 %INCDIR -C hopt -f3 |
---|
66 | #bld::tool::fflags::phys::fisrtilp %BASE_FFLAGS %PROD_FFLAGS %INCDIR -C hopt |
---|
67 | #bld::tool::fflags::phys::cv30_routines %BASE_FFLAGS %PROD_FFLAGS %INCDIR -Wf,-O,extendreorder |
---|
68 | #bld::tool::fflags::phys::cvltr %BASE_FFLAGS %PROD_FFLAGS %INCDIR -C hopt |
---|
69 | #bld::tool::fflags::phys::clouds_gno %BASE_FFLAGS %PROD_FFLAGS %INCDIR -C hopt |
---|
70 | #bld::tool::fflags::dyn::vlsplt_p %BASE_FFLAGS %PROD_FFLAGS %INCDIR -C hopt |
---|
71 | #bld::tool::fflags::dyn::groupeun_p %BASE_FFLAGS %PROD_FFLAGS %INCDIR -C hopt |
---|
72 | |
---|
73 | |
---|
74 | inc arch.opt |
---|
75 | |
---|
76 | # Pre-process code before analysing dependencies |
---|
77 | bld::pp 1 |
---|
78 | |
---|
79 | |
---|
80 | # Ignore the following dependencies |
---|
81 | bld::excl_dep inc::netcdf.inc |
---|
82 | bld::excl_dep use::netcdf |
---|
83 | bld::excl_dep use::typesizes |
---|
84 | bld::excl_dep h::netcdf.inc |
---|
85 | bld::excl_dep h::mpif.h |
---|
86 | bld::excl_dep inc::mpif.h |
---|
87 | bld::excl_dep use::ioipsl |
---|
88 | bld::excl_dep use::intersurf |
---|
89 | bld::excl_dep use::mod_prism_proto |
---|
90 | bld::excl_dep use::mod_prism_def_partition_proto |
---|
91 | bld::excl_dep use::mod_prism_get_proto |
---|
92 | bld::excl_dep use::mod_prism_put_proto |
---|
93 | bld::excl_dep use::mkl_dfti |
---|
94 | |
---|
95 | # Don't generate interface files |
---|
96 | bld::tool::geninterface none |
---|
97 | |
---|
98 | # Allow ".inc" as an extension for CPP include files |
---|
99 | bld::infile_ext::inc CPP::INCLUDE |
---|
100 | |
---|
101 | # extension for module output |
---|
102 | bld::outfile_ext::mod .mod |
---|