New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
bld_tools.cfg in utils/build/mk – NEMO

source: utils/build/mk/bld_tools.cfg @ 13055

Last change on this file since 13055 was 13055, checked in by rblod, 4 years ago

ticket #2129 : capability to compile tools (domaincfg) with key_agrif

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