~ubuntu-branches/ubuntu/precise/code-saturne/precise

« back to all changes in this revision

Viewing changes to src/ctwr/Makefile.am

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2011-11-24 00:00:08 UTC
  • mfrom: (6.1.9 sid)
  • Revision ID: package-import@ubuntu.com-20111124000008-2vo99e38267942q5
Tags: 2.1.0-3
Install a missing file

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#------------------------------------------------------------------------------
2
 
#   This file is part of the Code_Saturne Kernel, element of the
3
 
#   Code_Saturne CFD tool.
4
 
#
5
 
#   Copyright (C) 2009 EDF S.A., France
6
 
#
7
 
#   The Code_Saturne Kernel is free software; you can redistribute it
8
 
#   and/or modify it under the terms of the GNU General Public License
9
 
#   as published by the Free Software Foundation; either version 2 of
10
 
#   the License, or (at your option) any later version.
11
 
#
12
 
#   The Code_Saturne Kernel is distributed in the hope that it will be
13
 
#   useful, but WITHOUT ANY WARRANTY; without even the implied warranty
14
 
#   of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
 
#   GNU General Public License for more details.
16
 
#
17
 
#   You should have received a copy of the GNU General Public Licence
18
 
#   along with the Code_Saturne Kernel; if not, write to the
19
 
#   Free Software Foundation, Inc.,
20
 
#   51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
21
 
#-------------------------------------------------------------------------------
 
1
## Process this file with automake to produce Makefile.in
 
2
 
 
3
#-------------------------------------------------------------------------------
 
4
 
 
5
# This file is part of Code_Saturne, a general-purpose CFD tool.
 
6
#
 
7
# Copyright (C) 1998-2011 EDF S.A.
 
8
#
 
9
# This program is free software; you can redistribute it and/or modify it under
 
10
# the terms of the GNU General Public License as published by the Free Software
 
11
# Foundation; either version 2 of the License, or (at your option) any later
 
12
# version.
 
13
#
 
14
# This program is distributed in the hope that it will be useful, but WITHOUT
 
15
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 
16
# FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
 
17
# details.
 
18
#
 
19
# You should have received a copy of the GNU General Public License along with
 
20
# this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
 
21
# Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
22
 
 
23
#-------------------------------------------------------------------------------
 
24
 
 
25
# PLE dependency
 
26
 
 
27
if HAVE_INTERNAL_PLE
 
28
  CPPFLAGS_PLE = -I$(top_srcdir)/libple/src -I$(top_builddir)/libple
 
29
else
 
30
  CPPFLAGS_PLE = $(PLE_CPPFLAGS)
 
31
endif
22
32
 
23
33
# Main part
24
34
 
25
35
AM_CPPFLAGS = \
26
 
-I$(top_srcdir)/include/base \
27
 
-I$(top_srcdir)/include/ctwr \
28
 
@FVM_CPPFLAGS@ @BFT_CPPFLAGS@ @MPI_CPPFLAGS@
 
36
-I$(top_srcdir)/src/bft \
 
37
-I$(top_srcdir)/src/fvm \
 
38
-I$(top_srcdir)/src/base \
 
39
-I$(top_srcdir)/src/mesh \
 
40
$(CPPFLAGS_PLE) \
 
41
$(MPI_CPPFLAGS)
29
42
 
30
 
AM_CFLAGS = @CFLAGS_DBG@ @CFLAGS_OPT@
 
43
AM_CFLAGS = $(CFLAGS_DBG) $(CFLAGS_OPT)
31
44
 
32
45
AM_FCFLAGS = \
33
 
-I$(top_srcdir)/include/base \
34
 
-I$(top_srcdir)/include/pprt \
35
 
-I$(top_srcdir)/include/ctwr \
36
 
@FCFLAGS_DBG@ @FCFLAGS_OPT@
 
46
$(FCMODINCLUDE)$(top_builddir)/src \
 
47
$(FCFLAGS_DBG) $(FCFLAGS_OPT)
37
48
 
38
49
AM_LDFLAGS =
39
50
 
40
51
# Public header files (to be installed)
41
52
 
42
 
saturneincludedir = $(includedir)
43
 
saturneinclude_HEADERS = \
44
 
$(top_srcdir)/include/ctwr/cs_ctwr_air_props.h \
45
 
$(top_srcdir)/include/ctwr/cs_ctwr.h \
46
 
$(top_srcdir)/include/ctwr/cs_ctwr_halo.h \
47
 
$(top_srcdir)/include/ctwr/cs_ctwr_mesh.h \
48
 
$(top_srcdir)/include/ctwr/ctincl.h
 
53
pkginclude_HEADERS = \
 
54
cs_ctwr_air_props.h \
 
55
cs_ctwr.h \
 
56
cs_ctwr_halo.h \
 
57
cs_ctwr_mesh.h
49
58
 
50
59
# Library source files
51
60
 
63
72
ctvarp.f90
64
73
libcsctwr_la_LDFLAGS = -no-undefined
65
74
 
66
 
libcsctwr_la_SOURCES += \
 
75
ctwrusers = \
67
76
$(top_srcdir)/users/ctwr/usctcl.f90 \
68
77
$(top_srcdir)/users/ctwr/usctdz.f90 \
69
78
$(top_srcdir)/users/ctwr/uscti1.f90 \
70
79
$(top_srcdir)/users/ctwr/usctiv.f90
71
80
 
 
81
libcsctwr_la_SOURCES += $(ctwrusers)
 
82
 
72
83
ctwrdir = $(pkgdatadir)/users/ctwr
73
 
ctwr_DATA = \
74
 
$(top_srcdir)/users/ctwr/usctcl.f90 \
75
 
$(top_srcdir)/users/ctwr/usctdz.f90 \
76
 
$(top_srcdir)/users/ctwr/uscti1.f90 \
77
 
$(top_srcdir)/users/ctwr/usctiv.f90
 
84
ctwr_DATA = $(ctwrusers)
 
85
 
 
86
clean-local:
 
87
        -rm -f *__genmod.f90 *.mod