Salome HOME
Merge from V6_main 11/02/2013
[modules/smesh.git] / src / SMESH / 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 #  SMESH SMESH : implementaion of SMESH idl descriptions
21 #  File   : Makefile.in
22 #  Author : Paul RASCLE, EDF
23 #  Modified by : Alexander BORODIN (OCN) - autotools usage
24 #  Module : SMESH
25
26 include $(top_srcdir)/adm_local/unix/make_common_starter.am
27
28 # header files 
29 salomeinclude_HEADERS = \
30         SMESH_Gen.hxx \
31         SMESH_Mesh.hxx \
32         SMESH_subMesh.hxx \
33         SMESH_subMeshEventListener.hxx \
34         SMESH_Hypothesis.hxx \
35         SMESH_HypoFilter.hxx \
36         SMESH_Algo.hxx \
37         SMESH_Group.hxx \
38         SMESH_MeshEditor.hxx \
39         SMESH_Pattern.hxx \
40         SMESH_MesherHelper.hxx \
41         SMESH_ProxyMesh.hxx \
42         SMESH_SMESH.hxx
43
44 # Libraries targets
45
46 lib_LTLIBRARIES = libSMESHimpl.la
47
48 dist_libSMESHimpl_la_SOURCES = \
49         memoire.h \
50         SMESH_Gen.cxx \
51         SMESH_Mesh.cxx \
52         SMESH_subMesh.cxx \
53         SMESH_Hypothesis.cxx \
54         SMESH_Algo.cxx \
55         SMESH_Group.cxx \
56         SMESH_MeshEditor.cxx \
57         SMESH_Pattern.cxx \
58         SMESH_HypoFilter.cxx \
59         SMESH_ProxyMesh.cxx \
60         SMESH_MesherHelper.cxx
61
62 # additionnal information to compile and link file
63 libSMESHimpl_la_CPPFLAGS = \
64         $(KERNEL_CXXFLAGS) \
65         $(CAS_CPPFLAGS) \
66         $(MED_CXXFLAGS) \
67         $(GEOM_CXX_FLAGS) \
68         $(VTK_INCLUDES) \
69         $(BOOST_CPPFLAGS) \
70         @HDF5_INCLUDES@ \
71         -I$(srcdir)/../Controls \
72         -I$(srcdir)/../Driver \
73         -I$(srcdir)/../DriverDAT \
74         -I$(srcdir)/../DriverMED \
75         -I$(srcdir)/../DriverUNV \
76         -I$(srcdir)/../DriverSTL \
77         -I$(srcdir)/../DriverCGNS \
78         -I$(srcdir)/../DriverGMF \
79         -I$(srcdir)/../SMDS \
80         -I$(srcdir)/../SMESHDS \
81         -I$(srcdir)/../SMESHUtils
82
83 if WITH_CGNS
84   DriverCGNS_LIB = ../DriverCGNS/libMeshDriverCGNS.la
85 endif
86
87 libSMESHimpl_la_LDFLAGS = \
88         ../SMESHDS/libSMESHDS.la \
89         ../Controls/libSMESHControls.la \
90         ../DriverDAT/libMeshDriverDAT.la \
91         ../DriverSTL/libMeshDriverSTL.la \
92         ../DriverMED/libMeshDriverMED.la \
93         ../DriverUNV/libMeshDriverUNV.la \
94         ../DriverGMF/libMeshDriverGMF.la \
95         $(DriverCGNS_LIB) \
96         ../SMESHUtils/libSMESHUtils.la \
97         $(BOOST_LIB_THREAD)  \
98         $(BOOST_LIB_SYSTEM)  \
99         $(GEOM_LDFLAGS) -lNMTTools \
100         $(CAS_LDPATH) -lTKShHealing -lTKPrim -lTKG2d -lTKCDF