Salome HOME
PR: debug SMDS memimp
[modules/smesh.git] / src / SMDS / 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 SMDS : implementaion of Salome mesh data structure
23 #  File   : Makefile.in
24 #  Author : Patrick GOLDBRONN (CEA)
25 #  Modified by : Alexander BORODIN (OCN) - autotools usage
26 #  Module : SMESH
27 #
28 include $(top_srcdir)/adm_local/unix/make_common_starter.am
29
30 # header files 
31 salomeinclude_HEADERS = \
32         ObjectPool.hxx \
33         SMDS_TypeOfPosition.hxx \
34         SMDSAbs_ElementType.hxx \
35         SMDS_EdgePosition.hxx \
36         SMDS_ElemIterator.hxx \
37         SMDS_FacePosition.hxx \
38         SMDS_Mesh.hxx \
39         SMDS_Mesh0DElement.hxx \
40         SMDS_LinearEdge.hxx \
41         SMDS_MeshEdge.hxx \
42         SMDS_MeshElement.hxx \
43         SMDS_MeshElement.cxx \
44         SMDS_MeshElementIDFactory.hxx \
45         SMDS_MeshCell.hxx \
46         SMDS_MeshFace.hxx \
47         SMDS_MeshGroup.hxx \
48         SMDS_MeshIDFactory.hxx \
49         SMDS_MeshNode.hxx \
50         SMDS_MeshNodeIDFactory.hxx \
51         SMDS_MeshObject.hxx \
52         SMDS_MeshVolume.hxx \
53         SMDS_Position.hxx \
54         SMDS_SpacePosition.hxx \
55         SMDS_VertexPosition.hxx \
56         SMDS_Iterator.hxx \
57         SMDS_IteratorOfElements.hxx \
58         SMDS_VolumeOfFaces.hxx \
59         SMDS_VolumeOfNodes.hxx \
60         SMDS_VtkEdge.hxx \
61         SMDS_VtkFace.hxx \
62         SMDS_VtkVolume.hxx \
63         SMDS_VtkCellIterator.hxx \
64         SMDS_PolyhedralVolumeOfNodes.hxx \
65         SMDS_FaceOfEdges.hxx \
66         SMDS_FaceOfNodes.hxx \
67         SMDS_PolygonalFaceOfNodes.hxx \
68         SMDS_VolumeTool.hxx \
69         SMDS_QuadraticEdge.hxx \
70         SMDS_QuadraticFaceOfNodes.hxx \
71         SMDS_QuadraticVolumeOfNodes.hxx \
72         SMDS_SetIterator.hxx \
73         SMESH_SMDS.hxx \
74         SMDS_MeshInfo.hxx \
75         SMDS_UnstructuredGrid.hxx
76
77
78 # Libraries targets
79
80 lib_LTLIBRARIES = libSMDS.la
81 dist_libSMDS_la_SOURCES = \
82         SMDS_MeshObject.cxx \
83         SMDS_MeshElement.cxx \
84         SMDS_MeshCell.cxx \
85         SMDS_Position.cxx \
86         SMDS_EdgePosition.cxx \
87         SMDS_FacePosition.cxx \
88         SMDS_SpacePosition.cxx \
89         SMDS_VertexPosition.cxx \
90         SMDS_MeshNode.cxx \
91         SMDS_Mesh0DElement.cxx \
92         SMDS_LinearEdge.cxx \
93         SMDS_MeshEdge.cxx \
94         SMDS_MeshFace.cxx \
95         SMDS_MeshVolume.cxx \
96         SMDS_MeshNodeIDFactory.cxx \
97         SMDS_MeshElementIDFactory.cxx \
98         SMDS_MeshGroup.cxx \
99         SMDS_MeshIDFactory.cxx \
100         SMDS_Mesh.cxx \
101         SMDS_IteratorOfElements.cxx \
102         SMDS_VolumeOfFaces.cxx \
103         SMDS_VolumeOfNodes.cxx \
104         SMDS_VtkEdge.cxx \
105         SMDS_VtkFace.cxx \
106         SMDS_VtkVolume.cxx \
107         SMDS_VtkCellIterator.cxx \
108         SMDS_PolyhedralVolumeOfNodes.cxx \
109         SMDS_FaceOfEdges.cxx \
110         SMDS_FaceOfNodes.cxx \
111         SMDS_PolygonalFaceOfNodes.cxx \
112         SMDS_VolumeTool.cxx \
113         SMDS_QuadraticEdge.cxx \
114         SMDS_QuadraticFaceOfNodes.cxx \
115         SMDS_QuadraticVolumeOfNodes.cxx \
116         SMDS_UnstructuredGrid.cxx
117
118 # additionnal information to compil and link file
119 libSMDS_la_CPPFLAGS = \
120         $(KERNEL_CXXFLAGS) \
121         $(CAS_CPPFLAGS) \
122         $(VTK_INCLUDES) \
123         $(BOOST_CPPFLAGS)
124
125 libSMDS_la_LDFLAGS  = \
126         $(VTK_LIBS) \
127         $(KERNEL_LDFLAGS) -lSALOMELocalTrace \
128         $(CAS_KERNEL)
129
130 # Executables targets
131 bin_PROGRAMS = SMDS_MemoryLimit
132 dist_SMDS_MemoryLimit_SOURCES = \
133         SMDS_MemoryLimit.cxx
134
135 SMDS_MemoryLimit_LDADD = \
136         $(KERNEL_LDFLAGS) -lSALOMELocalTrace