Salome HOME
Merge from BR_phase16 branch (09/12/09)
[modules/smesh.git] / src / SMESH / Makefile.am
1 #  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
2 #
3 #  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 #  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
5 #
6 #  This library is free software; you can redistribute it and/or
7 #  modify it under the terms of the GNU Lesser General Public
8 #  License as published by the Free Software Foundation; either
9 #  version 2.1 of the License.
10 #
11 #  This library is distributed in the hope that it will be useful,
12 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
13 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 #  Lesser General Public License for more details.
15 #
16 #  You should have received a copy of the GNU Lesser General Public
17 #  License along with this library; if not, write to the Free Software
18 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
19 #
20 #  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 #
22 #  SMESH SMESH : implementaion of SMESH idl descriptions
23 #  File   : Makefile.in
24 #  Author : Paul RASCLE, EDF
25 #  Modified by : Alexander BORODIN (OCN) - autotools usage
26 #  Module : SMESH
27 #  $Header$
28 #
29 include $(top_srcdir)/adm_local/unix/make_common_starter.am
30
31 # header files 
32 salomeinclude_HEADERS = \
33         SMESH_Gen.hxx \
34         SMESH_Mesh.hxx \
35         SMESH_subMesh.hxx \
36         SMESH_subMeshEventListener.hxx \
37         SMESH_Hypothesis.hxx \
38         SMESH_HypoFilter.hxx \
39         SMESH_Algo.hxx \
40         SMESH_0D_Algo.hxx \
41         SMESH_1D_Algo.hxx \
42         SMESH_2D_Algo.hxx \
43         SMESH_3D_Algo.hxx \
44         SMESH_Group.hxx \
45         SMESH_MeshEditor.hxx \
46         SMESH_Block.hxx \
47         SMESH_Pattern.hxx \
48         SMESH_IndexedDataMapOfShapeIndexedMapOfShape.hxx \
49         SMESH_DataMapOfElemPtrSequenceOfElemPtr.hxx \
50         SMESH_SequenceOfElemPtr.hxx \
51         SMESH_SequenceOfNode.hxx \
52         SMESH_MesherHelper.hxx \
53         SMESH_Octree.hxx \
54         SMESH_OctreeNode.hxx \
55         SMESH_Comment.hxx \
56         SMESH_ComputeError.hxx \
57         SMESH_SMESH.hxx
58
59 # Libraries targets
60
61 lib_LTLIBRARIES = libSMESHimpl.la
62
63 dist_libSMESHimpl_la_SOURCES = \
64         SMESH_Gen.cxx \
65         SMESH_Mesh.cxx \
66         SMESH_subMesh.cxx \
67         SMESH_Hypothesis.cxx \
68         SMESH_Algo.cxx \
69         SMESH_0D_Algo.cxx \
70         SMESH_1D_Algo.cxx \
71         SMESH_2D_Algo.cxx \
72         SMESH_3D_Algo.cxx \
73         SMESH_Group.cxx \
74         SMESH_MeshEditor.cxx \
75         SMESH_Block.cxx \
76         SMESH_Pattern.cxx \
77         SMESH_HypoFilter.cxx \
78         SMESH_MesherHelper.cxx \
79         SMESH_Octree.cxx \
80         SMESH_OctreeNode.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