[245] | 1 | # ----------------------- FCM extract configuration file ----------------------- |
---|
| 2 | cfg::type bld |
---|
| 3 | cfg::version 1.0 |
---|
| 4 | |
---|
| 5 | |
---|
| 6 | # ------------------------------------------------------------------------------ |
---|
| 7 | # Build information |
---|
| 8 | # ------------------------------------------------------------------------------ |
---|
| 9 | |
---|
[1510] | 10 | # Specifying the build directory and src::blitz if necessary. |
---|
[1497] | 11 | inc bld_dir.cfg |
---|
[245] | 12 | |
---|
| 13 | %CFLAGS %BASE_CFLAGS %COMPIL_CFLAGS |
---|
| 14 | %FFLAGS %BASE_FFLAGS %COMPIL_FFLAGS |
---|
| 15 | %LD_FLAGS %ARCH_LD %BASE_LD |
---|
| 16 | |
---|
| 17 | bld::infile_ext::cpp C::SOURCE |
---|
| 18 | bld::infile_ext::conf CPP::INCLUDE |
---|
| 19 | bld::infile_ext::hpp CPP::INCLUDE |
---|
| 20 | |
---|
[1497] | 21 | # IMPORTANT: as the build directory may not necessarily coincide with the source directory, |
---|
| 22 | # each source subfolder should be declared individually |
---|
| 23 | search_src false |
---|
| 24 | src::xios $PWD/src |
---|
| 25 | src::xios::config $PWD/src/config |
---|
| 26 | src::xios::date $PWD/src/date |
---|
| 27 | src::xios::filter $PWD/src/filter |
---|
| 28 | src::xios::functor $PWD/src/functor |
---|
| 29 | src::xios::interface::c $PWD/src/interface/c |
---|
| 30 | src::xios::interface::c_attr $PWD/src/interface/c_attr |
---|
| 31 | src::xios::interface::fortran $PWD/src/interface/fortran |
---|
| 32 | src::xios::interface::fortran_attr $PWD/src/interface/fortran_attr |
---|
| 33 | src::xios::io $PWD/src/io |
---|
| 34 | src::xios::node $PWD/src/node |
---|
| 35 | src::xios::parse_expr $PWD/src/parse_expr |
---|
| 36 | src::xios::test $PWD/src/test |
---|
| 37 | src::xios::transformation $PWD/src/transformation |
---|
| 38 | src::xios::transformation::Functions $PWD/src/transformation/Functions |
---|
| 39 | src::xios::type $PWD/src/type |
---|
[245] | 40 | |
---|
[410] | 41 | src::netcdf $PWD/extern/netcdf4 |
---|
[688] | 42 | src::remap $PWD/extern/remap/src |
---|
[291] | 43 | bld::lib xios |
---|
[709] | 44 | bld::target libxios.a |
---|
[1446] | 45 | #bld::target generate_fortran_interface.exe |
---|
[1280] | 46 | #bld::target test_remap.exe |
---|
[983] | 47 | bld::target xios_server.exe |
---|
[1280] | 48 | #bld::target test_regular.exe |
---|
| 49 | #bld::target test_xios2_cmip6.exe |
---|
[983] | 50 | #bld::target test_new_features.exe test_unstruct_complete.exe |
---|
[1280] | 51 | #bld::target test_remap.exe |
---|
| 52 | #bld::target test_complete.exe |
---|
| 53 | #bld::target test_client.exe |
---|
[1139] | 54 | #bld::target test_unstruct_complete.exe |
---|
| 55 | #bld::target test_unstructured.exe |
---|
[245] | 56 | bld::exe_dep |
---|
| 57 | |
---|
| 58 | bld::tool::cc %CCOMPILER |
---|
| 59 | bld::tool::fc %FCOMPILER |
---|
[395] | 60 | bld::tool::fpp %FPP |
---|
| 61 | bld::tool::cpp %CPP |
---|
[410] | 62 | bld::tool::cppflags %CBASE_INC -I${PWD}/extern/src_netcdf -I${PWD}/extern/boost/include -I${PWD}/extern/rapidxml/include -I${PWD}/extern/blitz/include |
---|
[395] | 63 | bld::tool::fppflags %BASE_INC -I${PWD}/extern/boost/include -I${PWD}/extern/rapidxml/include |
---|
[245] | 64 | bld::tool::ld %LINKER |
---|
| 65 | bld::tool::ldflags %LD_FLAGS |
---|
[410] | 66 | bld::tool::cflags %CFLAGS %CBASE_INC -I${PWD}/extern/src_netcdf -I${PWD}/extern/boost/include -I${PWD}/extern/rapidxml/include -I${PWD}/extern/blitz/include |
---|
[329] | 67 | bld::tool::fflags %FFLAGS %FBASE_INC |
---|
[287] | 68 | bld::tool::cppkeys %CPP_KEY |
---|
| 69 | bld::tool::fppkeys %CPP_KEY |
---|
[395] | 70 | bld::tool::make %MAKE |
---|
[245] | 71 | |
---|
| 72 | # Pre-process code before analysing dependencies |
---|
[327] | 73 | bld::pp false |
---|
[1497] | 74 | bld::pp::xios::interface::fortran true |
---|
| 75 | bld::pp::xios::interface::fortran_attr true |
---|
[287] | 76 | bld::excl_dep use::mod_prism_get_comm |
---|
[300] | 77 | bld::excl_dep use::mod_prism_get_localcomm_proto |
---|
[287] | 78 | bld::excl_dep use::mod_prism_proto |
---|
[475] | 79 | bld::excl_dep use::mod_prism |
---|
[660] | 80 | bld::excl_dep use::netcdf |
---|
[245] | 81 | bld::excl_dep inc::mpif.h |
---|