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