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