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