1 | # ----------------------- FCM extract configuration file ----------------------- |
---|
2 | cfg::type bld |
---|
3 | cfg::version 1.0 |
---|
4 | |
---|
5 | |
---|
6 | # ------------------------------------------------------------------------------ |
---|
7 | # Build information |
---|
8 | # ------------------------------------------------------------------------------ |
---|
9 | |
---|
10 | |
---|
11 | inc arch.fcm |
---|
12 | inc config.fcm |
---|
13 | |
---|
14 | %CONFIG_NAME %{ARCH}%SUFF_NAME |
---|
15 | %BASE_CONFIG_PATH %LIBO/%CONFIG_NAME |
---|
16 | %CONFIG_PATH %BASE_CONFIG_PATH/.config |
---|
17 | %SRC_PATH %LIBF |
---|
18 | |
---|
19 | |
---|
20 | src::dyn %SRC_PATH/%DYN |
---|
21 | src::phys %SRC_PATH/%PHYS |
---|
22 | src::grid %SRC_PATH/grid |
---|
23 | src::filtrez %SRC_PATH/filtrez |
---|
24 | src::bibio %SRC_PATH/bibio |
---|
25 | |
---|
26 | bld::lib::dyn %DYN |
---|
27 | bld::lib::phys %PHYS |
---|
28 | bld::lib::grid grid |
---|
29 | bld::lib::filtrez filtrez |
---|
30 | bld::lib::bibio bibio |
---|
31 | |
---|
32 | |
---|
33 | bld::outfile_ext::exe %SUFF_NAME.e |
---|
34 | bld::target lib%{DYN}.a lib%{PHYS}.a libgrid.a libfiltrez.a libbibio.a |
---|
35 | bld::target %EXEC%SUFF_NAME.e |
---|
36 | bld::exe_dep %{DYN} %{PHYS} grid filtrez bibio |
---|
37 | |
---|
38 | |
---|
39 | dir::root %CONFIG_PATH |
---|
40 | dir::lib %BASE_CONFIG_PATH |
---|
41 | dir::bin %ROOT_PATH/bin |
---|
42 | |
---|
43 | #search_src 1 |
---|
44 | |
---|
45 | bld::tool::cc sxcc |
---|
46 | bld::tool::fc %COMPILER |
---|
47 | bld::tool::ld %LINK |
---|
48 | bld::tool::ar %AR |
---|
49 | bld::tool::make %MAKE |
---|
50 | bld::tool::fflags %FFLAGS %INCDIR |
---|
51 | bld::tool::ldflags %LD_FLAGS %LIB |
---|
52 | |
---|
53 | bld::tool::cppflags %FPP_FLAGS %INCDIR |
---|
54 | bld::tool::fppflags %FPP_FLAGS %INCDIR |
---|
55 | bld::tool::fppkeys %CPP_KEY %FPP_DEF |
---|
56 | |
---|
57 | |
---|
58 | # Pre-process code before analysing dependencies |
---|
59 | bld::pp 1 |
---|
60 | |
---|
61 | |
---|
62 | # Ignore the following dependencies |
---|
63 | bld::excl_dep inc::netcdf.inc |
---|
64 | bld::excl_dep use::netcdf |
---|
65 | bld::excl_dep h::netcdf.inc |
---|
66 | bld::excl_dep h::mpif.h |
---|
67 | bld::excl_dep inc::mpif.h |
---|
68 | bld::excl_dep use::ioipsl |
---|
69 | bld::excl_dep use::intersurf |
---|
70 | |
---|
71 | # Don't generate interface files |
---|
72 | bld::tool::geninterface none |
---|
73 | |
---|
74 | # Allow ".inc" as an extension for CPP include files |
---|
75 | bld::infile_ext::inc CPP::INCLUDE |
---|
76 | |
---|
77 | # extension for module output |
---|
78 | bld::outfile_ext::mod .mod |
---|