Salome HOME
Merge from V6_main_20120808 08Aug12
[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_0D_Algo.hxx \
38         SMESH_1D_Algo.hxx \
39         SMESH_2D_Algo.hxx \
40         SMESH_3D_Algo.hxx \
41         SMESH_Group.hxx \
42         SMESH_MeshEditor.hxx \
43         SMESH_Pattern.hxx \
44         SMESH_MesherHelper.hxx \
45         SMESH_ProxyMesh.hxx \
46         SMESH_SMESH.hxx
47
48 # Libraries targets
49
50 lib_LTLIBRARIES = libSMESHimpl.la
51
52 dist_libSMESHimpl_la_SOURCES = \
53         memoire.h \
54         SMESH_Gen.cxx \
55         SMESH_Mesh.cxx \
56         SMESH_subMesh.cxx \
57         SMESH_Hypothesis.cxx \
58         SMESH_Algo.cxx \
59         SMESH_0D_Algo.cxx \
60         SMESH_1D_Algo.cxx \
61         SMESH_2D_Algo.cxx \
62         SMESH_3D_Algo.cxx \
63         SMESH_Group.cxx \
64         SMESH_MeshEditor.cxx \
65         SMESH_Pattern.cxx \
66         SMESH_HypoFilter.cxx \
67         SMESH_ProxyMesh.cxx \
68         SMESH_MesherHelper.cxx
69
70 # additionnal information to compile and link file
71 libSMESHimpl_la_CPPFLAGS = \
72         $(KERNEL_CXXFLAGS) \
73         $(CAS_CPPFLAGS) \
74         $(MED_CXXFLAGS) \
75         $(GEOM_CXX_FLAGS) \
76         $(VTK_INCLUDES) \
77         $(BOOST_CPPFLAGS) \
78         @HDF5_INCLUDES@ \
79         -I$(srcdir)/../Controls \
80         -I$(srcdir)/../Driver \
81         -I$(srcdir)/../DriverDAT \
82         -I$(srcdir)/../DriverMED \
83         -I$(srcdir)/../DriverUNV \
84         -I$(srcdir)/../DriverSTL \
85         -I$(srcdir)/../DriverCGNS \
86         -I$(srcdir)/../SMDS \
87         -I$(srcdir)/../SMESHDS \
88         -I$(srcdir)/../SMESHUtils
89
90 if WITH_CGNS
91   DriverCGNS_LIB = ../DriverCGNS/libMeshDriverCGNS.la
92 endif
93
94 libSMESHimpl_la_LDFLAGS = \
95         ../SMESHDS/libSMESHDS.la \
96         ../Controls/libSMESHControls.la \
97         ../DriverDAT/libMeshDriverDAT.la \
98         ../DriverSTL/libMeshDriverSTL.la \
99         ../DriverMED/libMeshDriverMED.la \
100         ../DriverUNV/libMeshDriverUNV.la \
101         $(DriverCGNS_LIB) \
102         ../SMESHUtils/libSMESHUtils.la \
103         $(BOOST_LIB_THREAD)  \
104         $(GEOM_LDFLAGS) -lNMTTools \
105         $(CAS_LDPATH) -lTKShHealing -lTKPrim -lTKG2d