source:
utils/build/mk/bld_tools.cfg
@
14813
Last change on this file since 14813 was 14813, checked in by mcastril, 3 years ago | |
---|---|
|
|
File size: 1.7 KB |
Line | |
---|---|
1 | # ----------------------- FCM extract configuration file ----------------------- |
2 | cfg::type bld |
3 | cfg::version 1.0 |
4 | |
5 | |
6 | # ------------------------------------------------------------------------------ |
7 | # Build information |
8 | # ------------------------------------------------------------------------------ |
9 | |
10 | inc $COMPIL_DIR/arch_tools.fcm |
11 | inc $COMPIL_DIR/cpp_tools.fcm |
12 | |
13 | search_src 1 |
14 | |
15 | src::agrif $MAIN_DIR/ext/AGRIF/AGRIF_FILES |
16 | src::nemo $TOOLS_DIR/$NEW_CONF/NEMOFILES/obj |
17 | |
18 | |
19 | bld::target make_domain_cfg.exe |
20 | bld::exe_dep |
21 | |
22 | |
23 | dir::root $TOOLS_DIR/$NEW_CONF/BLD |
24 | |
25 | |
26 | bld::tool::cpp %CPP |
27 | bld::tool::fpp %CPP |
28 | bld::tool::fc %FC |
29 | bld::tool::fflags %FCFLAGS %USER_INC |
30 | bld::tool::ld %LD |
31 | bld::tool::ldflags %LDFLAGS %USER_LIB |
32 | bld::tool::ar %AR |
33 | bld::tool::arflags %ARFLAGS |
34 | bld::tool::make %MK |
35 | |
36 | # Pre-process code before analysing dependencies |
37 | bld::pp::nemo 1 |
38 | bld::pp::agrif 1 |
39 | bld::tool::fppflags::nemo %FPPFLAGS -I$TOOLS_DIR/$NEW_CONF/NEMOFILES/inc |
40 | bld::tool::fppflags::agrif %FPPFLAGS -include ${MAIN_DIR}/ext/AGRIF/nemo_mpi.h |
41 | |
42 | |
43 | |
44 | |
45 | # Ignore the following dependencies |
46 | bld::excl_dep inc::netcdf.inc |
47 | bld::excl_dep use::netcdf |
48 | bld::excl_dep use::xios |
49 | bld::excl_dep h::netcdf.inc |
50 | bld::excl_dep h::mpif.h |
51 | bld::excl_dep inc::mpif.h |
52 | bld::excl_dep use::mpi |
53 | bld::excl_dep use::mod_oasis |
54 | |
55 | |
56 | |
57 | # Don't generate interface files |
58 | bld::tool::geninterface none |
59 | |
60 | # Allow ".h90" as an extension for CPP include files |
61 | bld::infile_ext::h90 CPP::INCLUDE |
62 | bld::infile_ext::f90 FPP::FPP9X::SOURCE |
63 | |
64 | # extension for module output |
65 | bld::outfile_ext::mod .mod |
Note: See TracBrowser
for help on using the repository browser.