Salome HOME
Merge from V5_1_4_BR 07/05/2010
[modules/smesh.git] / src / SMESH / Makefile.am
1 #  Copyright (C) 2007-2010  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 #  $Header$
26 #
27 include $(top_srcdir)/adm_local/unix/make_common_starter.am
28
29 # header files 
30 salomeinclude_HEADERS = \
31         SMESH_Gen.hxx \
32         SMESH_Mesh.hxx \
33         SMESH_subMesh.hxx \
34         SMESH_subMeshEventListener.hxx \
35         SMESH_Hypothesis.hxx \
36         SMESH_HypoFilter.hxx \
37         SMESH_Algo.hxx \
38         SMESH_0D_Algo.hxx \
39         SMESH_1D_Algo.hxx \
40         SMESH_2D_Algo.hxx \
41         SMESH_3D_Algo.hxx \
42         SMESH_Group.hxx \
43         SMESH_MeshEditor.hxx \
44         SMESH_Block.hxx \
45         SMESH_Pattern.hxx \
46         SMESH_IndexedDataMapOfShapeIndexedMapOfShape.hxx \
47         SMESH_DataMapOfElemPtrSequenceOfElemPtr.hxx \
48         SMESH_SequenceOfElemPtr.hxx \
49         SMESH_SequenceOfNode.hxx \
50         SMESH_MesherHelper.hxx \
51         SMESH_Octree.hxx \
52         SMESH_OctreeNode.hxx \
53         SMESH_Comment.hxx \
54         SMESH_ComputeError.hxx \
55         SMESH_File.hxx \
56         SMESH_SMESH.hxx
57
58 # Libraries targets
59
60 lib_LTLIBRARIES = libSMESHimpl.la
61
62 dist_libSMESHimpl_la_SOURCES = \
63         SMESH_Gen.cxx \
64         SMESH_Mesh.cxx \
65         SMESH_subMesh.cxx \
66         SMESH_Hypothesis.cxx \
67         SMESH_Algo.cxx \
68         SMESH_0D_Algo.cxx \
69         SMESH_1D_Algo.cxx \
70         SMESH_2D_Algo.cxx \
71         SMESH_3D_Algo.cxx \
72         SMESH_Group.cxx \
73         SMESH_MeshEditor.cxx \
74         SMESH_Block.cxx \
75         SMESH_Pattern.cxx \
76         SMESH_HypoFilter.cxx \
77         SMESH_MesherHelper.cxx \
78         SMESH_Octree.cxx \
79         SMESH_OctreeNode.cxx \
80         SMESH_File.cxx
81
82 # additionnal information to compile and link file
83 libSMESHimpl_la_CPPFLAGS = \
84         $(KERNEL_CXXFLAGS) \
85         $(CAS_CPPFLAGS) \
86         $(MED_CXXFLAGS) \
87         $(GEOM_CXX_FLAGS) \
88         $(BOOST_CPPFLAGS) \
89         @HDF5_INCLUDES@ \
90         -I$(srcdir)/../Controls \
91         -I$(srcdir)/../Driver \
92         -I$(srcdir)/../DriverDAT \
93         -I$(srcdir)/../DriverMED \
94         -I$(srcdir)/../DriverUNV \
95         -I$(srcdir)/../DriverSTL \
96         -I$(srcdir)/../SMDS \
97         -I$(srcdir)/../SMESHDS
98
99 libSMESHimpl_la_LDFLAGS = \
100         ../SMESHDS/libSMESHDS.la \
101         ../Controls/libSMESHControls.la \
102         ../DriverDAT/libMeshDriverDAT.la \
103         ../DriverSTL/libMeshDriverSTL.la \
104         ../DriverMED/libMeshDriverMED.la \
105         ../DriverUNV/libMeshDriverUNV.la \
106         $(GEOM_LDFLAGS) -lNMTTools \
107         $(CAS_LDPATH) -lTKShHealing -lTKPrim -lTKG2d