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