Salome HOME
Using AutoTools for build procedure
[modules/smesh.git] / src / SMESH / Makefile.am
1 #  SMESH SMESH : implementaion of SMESH idl descriptions
2 #
3 #  Copyright (C) 2003  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 #
23 #
24 #  File   : Makefile.in
25 #  Author : Paul RASCLE, EDF
26 #  Modified by : Alexander BORODIN (OCN) - autotools usage
27 #  Module : SMESH
28 #  $Header$
29
30 include $(top_srcdir)/adm_local/unix/make_common_starter.am
31
32 # header files 
33 salomeinclude_HEADERS = \
34         SMESH_Gen.hxx \
35         SMESH_Mesh.hxx \
36         SMESH_subMesh.hxx \
37         SMESH_subMeshEventListener.hxx \
38         SMESH_Hypothesis.hxx \
39         SMESH_HypoFilter.hxx \
40         SMESH_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_SMESH.hxx
54
55 # Libraries targets
56
57 lib_LTLIBRARIES = libSMESHimpl.la
58
59 dist_libSMESHimpl_la_SOURCES = \
60         SMESH_Gen.cxx \
61         SMESH_Mesh.cxx \
62         SMESH_subMesh.cxx \
63         SMESH_Hypothesis.cxx \
64         SMESH_Algo.cxx \
65         SMESH_1D_Algo.cxx \
66         SMESH_2D_Algo.cxx \
67         SMESH_3D_Algo.cxx \
68         SMESH_Group.cxx \
69         SMESH_MeshEditor.cxx \
70         SMESH_Block.cxx \
71         SMESH_Pattern.cxx \
72         SMESH_HypoFilter.cxx \
73         SMESH_MesherHelper.cxx
74
75 # additionnal information to compile and link file
76 libSMESHimpl_la_CPPFLAGS = \
77         $(KERNEL_CXXFLAGS) \
78         $(MED_CXXFLAGS) \
79         $(GEOM_CXX_FLAGS) \
80         $(BOOST_CPPFLAGS) \
81         $(CAS_CPPFLAGS) \
82         $(HDF5_CPPFLAGS) \
83         -I$(srcdir)/../Controls \
84         -I$(srcdir)/../Driver \
85         -I$(srcdir)/../DriverDAT \
86         -I$(srcdir)/../DriverMED \
87         -I$(srcdir)/../DriverUNV \
88         -I$(srcdir)/../DriverSTL \
89         -I$(srcdir)/../SMDS \
90         -I$(srcdir)/../SMESHDS \
91         -I$(top_builddir)/salome_adm/unix
92
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         $(GEOM_LDFLAGS) -lNMTTools \
102         $(CAS_LDPATH) -lTKShHealing