Salome HOME
Merge from V6_main 11/02/2013
[modules/med.git] / src / MEDWrapper / Base / Makefile.am
1 # Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
2 #
3 # This library is free software; you can redistribute it and/or
4 # modify it under the terms of the GNU Lesser General Public
5 # License as published by the Free Software Foundation; either
6 # version 2.1 of the License.
7 #
8 # This library is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11 # Lesser General Public License for more details.
12 #
13 # You should have received a copy of the GNU Lesser General Public
14 # License along with this library; if not, write to the Free Software
15 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
16 #
17 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 #
19
20 #  File   : 
21 #  Author : 
22 #  Module : 
23 #  $Header$
24 #
25 include $(top_srcdir)/adm_local/unix/make_common_starter.am
26
27 lib_LTLIBRARIES= libMEDWrapperBase.la
28
29 salomeinclude_HEADERS= \
30         MED_Common.hxx \
31         MED_Vector.hxx \
32         MED_SharedPtr.hxx \
33         MED_SliceArray.hxx \
34         MED_Wrapper.hxx \
35         MED_TWrapper.hxx \
36         MED_Structures.hxx \
37         MED_TStructures.hxx \
38         MED_Algorithm.hxx \
39         MED_GaussUtils.hxx \
40         MED_CoordUtils.hxx \
41         MED_Utilities.hxx \
42         MED_GaussDef.hxx \
43         MED_WrapperBase.hxx
44
45 dist_libMEDWrapperBase_la_SOURCES= \
46         MED_Structures.cxx \
47         MED_Wrapper.cxx \
48         MED_Algorithm.cxx \
49         MED_GaussUtils.cxx \
50         MED_CoordUtils.cxx \
51         MED_Utilities.cxx \
52         MED_GaussDef.cxx
53
54 libMEDWrapperBase_la_CPPFLAGS= $(BOOST_CPPFLAGS) $(HDF5_INCLUDES) -D@MACHINE@
55 if MED_ENABLE_KERNEL
56   libMEDWrapperBase_la_CPPFLAGS+= -I$(KERNEL_ROOT_DIR)/include/salome
57 else
58   libMEDWrapperBase_la_CPPFLAGS+= -I$(top_builddir)/adm_local_without_kernel/unix
59 endif
60 libMEDWrapperBase_la_CPPFLAGS+= $(MED_CPPFLAGS)
61 libMEDWrapperBase_la_LDFLAGS= $(BOOST_LIB_THREAD) $(BOOST_LIB_SYSTEM) $(BOOST_LIB_DATE_TIME)