Salome HOME
Merge from V5_1_4_BR 07/05/2010
[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         SMDS_TypeOfPosition.hxx \
31         SMDSAbs_ElementType.hxx \
32         SMDS_EdgePosition.hxx \
33         SMDS_ElemIterator.hxx \
34         SMDS_FacePosition.hxx \
35         SMDS_Mesh.hxx \
36         SMDS_Mesh0DElement.hxx \
37         SMDS_MeshEdge.hxx \
38         SMDS_MeshElement.hxx \
39         SMDS_MeshElementIDFactory.hxx \
40         SMDS_MeshFace.hxx \
41         SMDS_MeshGroup.hxx \
42         SMDS_MeshIDFactory.hxx \
43         SMDS_MeshNode.hxx \
44         SMDS_MeshObject.hxx \
45         SMDS_MeshVolume.hxx \
46         SMDS_Position.hxx \
47         SMDS_SpacePosition.hxx \
48         SMDS_VertexPosition.hxx \
49         SMDS_Iterator.hxx \
50         SMDS_IteratorOfElements.hxx \
51         SMDS_VolumeOfFaces.hxx \
52         SMDS_VolumeOfNodes.hxx \
53         SMDS_PolyhedralVolumeOfNodes.hxx \
54         SMDS_FaceOfEdges.hxx \
55         SMDS_FaceOfNodes.hxx \
56         SMDS_PolygonalFaceOfNodes.hxx \
57         SMDS_VolumeTool.hxx \
58         SMDS_QuadraticEdge.hxx \
59         SMDS_QuadraticFaceOfNodes.hxx \
60         SMDS_QuadraticVolumeOfNodes.hxx \
61         SMDS_SetIterator.hxx \
62         SMESH_SMDS.hxx \
63         SMDS_MeshInfo.hxx \
64         SMDS_StdIterator.hxx
65
66
67 # Libraries targets
68
69 lib_LTLIBRARIES = libSMDS.la
70 dist_libSMDS_la_SOURCES = \
71         SMDS_MeshObject.cxx \
72         SMDS_MeshElement.cxx \
73         SMDS_Position.cxx \
74         SMDS_EdgePosition.cxx \
75         SMDS_FacePosition.cxx \
76         SMDS_SpacePosition.cxx \
77         SMDS_VertexPosition.cxx \
78         SMDS_MeshNode.cxx \
79         SMDS_Mesh0DElement.cxx \
80         SMDS_MeshEdge.cxx \
81         SMDS_MeshFace.cxx \
82         SMDS_MeshVolume.cxx \
83         SMDS_MeshElementIDFactory.cxx \
84         SMDS_MeshGroup.cxx \
85         SMDS_MeshIDFactory.cxx \
86         SMDS_Mesh.cxx \
87         SMDS_IteratorOfElements.cxx \
88         SMDS_VolumeOfFaces.cxx \
89         SMDS_VolumeOfNodes.cxx \
90         SMDS_PolyhedralVolumeOfNodes.cxx \
91         SMDS_FaceOfEdges.cxx \
92         SMDS_FaceOfNodes.cxx \
93         SMDS_PolygonalFaceOfNodes.cxx \
94         SMDS_VolumeTool.cxx \
95         SMDS_QuadraticEdge.cxx \
96         SMDS_QuadraticFaceOfNodes.cxx \
97         SMDS_QuadraticVolumeOfNodes.cxx
98
99 # additionnal information to compil and link file
100 libSMDS_la_CPPFLAGS = \
101         $(KERNEL_CXXFLAGS) \
102         $(CAS_CPPFLAGS) \
103         $(BOOST_CPPFLAGS)
104
105 libSMDS_la_LDFLAGS  = \
106         $(KERNEL_LDFLAGS) -lSALOMELocalTrace \
107         $(CAS_KERNEL)
108
109 # Executables targets
110 bin_PROGRAMS = SMDS_MemoryLimit
111 dist_SMDS_MemoryLimit_SOURCES = \
112         SMDS_MemoryLimit.cxx
113
114 SMDS_MemoryLimit_LDADD = \
115         $(KERNEL_LDFLAGS) -lSALOMELocalTrace
116
117 #libSMDS_la_LDFLAGS += -L/data/eap/S5_MV/INSTALL/SMESH/lib/salome -lPerfmeter