source: XIOS/trunk/bld.cfg @ 327

Last change on this file since 327 was 327, checked in by ymipsl, 9 years ago

port to gfortran/g++

YM

File size: 1.8 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
28bld::lib xios
29bld::target libxios.a
30#bld::target test.exe
31#bld::target generate_fortran_interface.exe
32bld::target xios_server.exe test_cs.exe 
33bld::exe_dep
34
35bld::tool::cc        %CCOMPILER
36bld::tool::fc        %FCOMPILER
37bld::tool::fpp       cpp
38bld::tool::cpp       cpp
39bld::tool::cppflags  %BASE_INC -I${PWD}/extern/boost/include -I${PWD}/extern/rapidxml/include -I/usr/include
40bld::tool::fppflags  -std=c99 %BASE_INC -I${PWD}/extern/boost/include -I${PWD}/extern/rapidxml/include -I/usr/include
41bld::tool::ld        %LINKER
42bld::tool::ldflags   %LD_FLAGS 
43bld::tool::cflags    %CFLAGS %CBASE_INC -I${PWD}/extern/boost/include -I${PWD}/extern/rapidxml/include -I/usr/include
44bld::tool::fflags    %FFLAGS %FBASE_INC -I/usr/include
45bld::tool::cppkeys   %CPP_KEY
46bld::tool::fppkeys   %CPP_KEY
47
48# Pre-process code before analysing dependencies
49bld::pp    false         
50bld::pp::interface/fortran              true
51bld::pp::interface/fortran_attr         true
52bld::excl_dep        use::mod_prism_get_comm
53bld::excl_dep        use::mod_prism_get_localcomm_proto
54bld::excl_dep        use::mod_prism_proto
55bld::excl_dep        inc::mpif.h
Note: See TracBrowser for help on using the repository browser.