Salome HOME
Merge from V6_3_BR 06/06/2011
[modules/smesh.git] / src / SMDS / Makefile.am
1 # Copyright (C) 2007-2011  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     chrono.hxx \
31         ObjectPool.hxx \
32         SMDS_TypeOfPosition.hxx \
33         SMDSAbs_ElementType.hxx \
34         SMDS_EdgePosition.hxx \
35         SMDS_ElemIterator.hxx \
36         SMDS_FacePosition.hxx \
37         SMDS_Mesh.hxx \
38         SMDS_Mesh0DElement.hxx \
39         SMDS_LinearEdge.hxx \
40         SMDS_MeshEdge.hxx \
41         SMDS_MeshElement.hxx \
42         SMDS_MeshElement.cxx \
43         SMDS_MeshElementIDFactory.hxx \
44         SMDS_MeshCell.hxx \
45         SMDS_MeshFace.hxx \
46         SMDS_MeshGroup.hxx \
47         SMDS_MeshIDFactory.hxx \
48         SMDS_MeshNode.hxx \
49         SMDS_MeshNodeIDFactory.hxx \
50         SMDS_MeshObject.hxx \
51         SMDS_MeshVolume.hxx \
52         SMDS_Position.hxx \
53         SMDS_SpacePosition.hxx \
54         SMDS_VertexPosition.hxx \
55         SMDS_Iterator.hxx \
56         SMDS_IteratorOfElements.hxx \
57         SMDS_VolumeOfFaces.hxx \
58         SMDS_VolumeOfNodes.hxx \
59         SMDS_VtkEdge.hxx \
60         SMDS_VtkFace.hxx \
61         SMDS_VtkVolume.hxx \
62         SMDS_VtkCellIterator.hxx \
63         SMDS_PolyhedralVolumeOfNodes.hxx \
64         SMDS_FaceOfEdges.hxx \
65         SMDS_FaceOfNodes.hxx \
66         SMDS_PolygonalFaceOfNodes.hxx \
67         SMDS_VolumeTool.hxx \
68         SMDS_QuadraticEdge.hxx \
69         SMDS_QuadraticFaceOfNodes.hxx \
70         SMDS_QuadraticVolumeOfNodes.hxx \
71         SMDS_SetIterator.hxx \
72         SMESH_SMDS.hxx \
73         SMDS_MeshInfo.hxx \
74         SMDS_UnstructuredGrid.hxx \
75         SMDS_Downward.hxx \
76         SMDS_StdIterator.hxx \
77         SMDS_IteratorOnIterators.hxx
78
79
80 # Libraries targets
81
82 lib_LTLIBRARIES = libSMDS.la
83 dist_libSMDS_la_SOURCES = \
84     chrono.cxx \
85         SMDS_MeshObject.cxx \
86         SMDS_MeshElement.cxx \
87         SMDS_MeshCell.cxx \
88         SMDS_Position.cxx \
89         SMDS_EdgePosition.cxx \
90         SMDS_FacePosition.cxx \
91         SMDS_SpacePosition.cxx \
92         SMDS_VertexPosition.cxx \
93         SMDS_MeshNode.cxx \
94         SMDS_Mesh0DElement.cxx \
95         SMDS_LinearEdge.cxx \
96         SMDS_MeshEdge.cxx \
97         SMDS_MeshFace.cxx \
98         SMDS_MeshVolume.cxx \
99         SMDS_MeshNodeIDFactory.cxx \
100         SMDS_MeshElementIDFactory.cxx \
101         SMDS_MeshGroup.cxx \
102         SMDS_MeshIDFactory.cxx \
103         SMDS_Mesh.cxx \
104         SMDS_IteratorOfElements.cxx \
105         SMDS_VolumeOfFaces.cxx \
106         SMDS_VolumeOfNodes.cxx \
107         SMDS_VtkEdge.cxx \
108         SMDS_VtkFace.cxx \
109         SMDS_VtkVolume.cxx \
110         SMDS_VtkCellIterator.cxx \
111         SMDS_PolyhedralVolumeOfNodes.cxx \
112         SMDS_FaceOfEdges.cxx \
113         SMDS_FaceOfNodes.cxx \
114         SMDS_PolygonalFaceOfNodes.cxx \
115         SMDS_VolumeTool.cxx \
116         SMDS_QuadraticEdge.cxx \
117         SMDS_QuadraticFaceOfNodes.cxx \
118         SMDS_QuadraticVolumeOfNodes.cxx \
119         SMDS_UnstructuredGrid.cxx \
120         SMDS_Downward.cxx
121
122 # additionnal information to compil and link file
123 libSMDS_la_CPPFLAGS = \
124         $(KERNEL_CXXFLAGS) \
125         $(CAS_CPPFLAGS) \
126         $(VTK_INCLUDES) \
127         $(BOOST_CPPFLAGS)
128
129 libSMDS_la_LDFLAGS  = \
130         $(VTK_LIBS) \
131         $(KERNEL_LDFLAGS) -lSALOMELocalTrace \
132         $(CAS_KERNEL)
133
134 # Executables targets
135 bin_PROGRAMS = SMDS_MemoryLimit
136 dist_SMDS_MemoryLimit_SOURCES = \
137         SMDS_MemoryLimit.cxx
138
139 SMDS_MemoryLimit_LDADD = \
140         $(KERNEL_LDFLAGS) -lSALOMELocalTrace
141
142 #libSMDS_la_LDFLAGS += -L/data/eap/S5_MV/INSTALL/SMESH/lib/salome -lPerfmeter