source: XIOS/trunk/bld.cfg @ 422

Last change on this file since 422 was 422, checked in by ymipsl, 10 years ago

preprocess fortran interface file set to true for OSX and IBM

YM

File size: 2.0 KB
Line 
1# ----------------------- FCM extract configuration file -----------------------
2cfg::type                           bld
3cfg::version                        1.0
4
5
6# ------------------------------------------------------------------------------
7# Build information
8# ------------------------------------------------------------------------------
9
10inc arch.fcm
11inc config.fcm
12
13%CFLAGS           %BASE_CFLAGS %COMPIL_CFLAGS
14%FFLAGS           %BASE_FFLAGS %COMPIL_FFLAGS
15%LD_FLAGS         %ARCH_LD %BASE_LD
16
17
18dest::root   $PWD
19
20bld::infile_ext::cpp   C::SOURCE
21bld::infile_ext::conf  CPP::INCLUDE
22bld::infile_ext::hpp   CPP::INCLUDE
23
24
25search_src           true
26src::zzz .
27src::date $PWD/extern/boost/src/date_time
28src::blitz $PWD/extern/blitz/src
29src::netcdf $PWD/extern/netcdf4
30bld::lib xios
31bld::target libxios.a
32#bld::target test.exe
33bld::target generate_fortran_interface.exe 
34bld::target xios_server.exe test_cs.exe test_client.exe
35bld::exe_dep
36
37bld::tool::cc        %CCOMPILER
38bld::tool::fc        %FCOMPILER
39bld::tool::fpp       %FPP
40bld::tool::cpp       %CPP
41bld::tool::cppflags  %CBASE_INC -I${PWD}/extern/src_netcdf -I${PWD}/extern/boost/include -I${PWD}/extern/rapidxml/include -I${PWD}/extern/blitz/include 
42bld::tool::fppflags  %BASE_INC -I${PWD}/extern/boost/include -I${PWD}/extern/rapidxml/include 
43bld::tool::ld        %LINKER
44bld::tool::ldflags   %LD_FLAGS 
45bld::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 
46bld::tool::fflags    %FFLAGS %FBASE_INC 
47bld::tool::cppkeys   %CPP_KEY
48bld::tool::fppkeys   %CPP_KEY
49bld::tool::make      %MAKE
50
51# Pre-process code before analysing dependencies
52bld::pp    false         
53bld::pp::interface/fortran              true
54bld::pp::interface/fortran_attr         true
55bld::excl_dep        use::mod_prism_get_comm
56bld::excl_dep        use::mod_prism_get_localcomm_proto
57bld::excl_dep        use::mod_prism_proto
58bld::excl_dep        inc::mpif.h
Note: See TracBrowser for help on using the repository browser.