Salome HOME
GEOM porting to CMake
[modules/geom.git] / src / OCC2VTK / Makefile.am
1 # Copyright (C) 2007-2013  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 include $(top_srcdir)/adm_local/unix/make_common_starter.am
21
22 # header files 
23 salomeinclude_HEADERS =         \
24         OCC2VTK.h               \
25         OCC2VTK_Tools.h         \
26         GEOM_EdgeSource.h       \
27         GEOM_FaceSource.h       \
28         GEOM_ShadingFace.h      \
29         GEOM_VertexSource.h     \
30         GEOM_WireframeFace.h
31
32 # Libraries targets
33 lib_LTLIBRARIES = libOCC2VTK.la
34
35 dist_libOCC2VTK_la_SOURCES =    \
36         OCC2VTK_Tools.cxx       \
37         GEOM_EdgeSource.cxx     \
38         GEOM_FaceSource.cxx     \
39         GEOM_ShadingFace.cxx    \
40         GEOM_VertexSource.cxx   \
41         GEOM_WireframeFace.cxx
42
43 libOCC2VTK_la_CPPFLAGS =        \
44         $(CAS_CPPFLAGS)         \
45         $(VTK_INCLUDES)         \
46         $(KERNEL_CXXFLAGS)
47
48 libOCC2VTK_la_LDFLAGS  =        \
49         $(CAS_KERNEL) -lTKBRep -lTKG2d -lTKG3d -lTKV3d -lTKMesh -lTKGeomBase -lTKGeomAlgo -lTKTopAlgo -lTKService \
50         $(VTK_LIBS) \
51         $(KERNEL_LDFLAGS)  -lSALOMELocalTrace