Salome HOME
8368238b3d43a1c41332eea0d582c96e8174ebdc
[modules/smesh.git] / src / DriverSTL / 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 #  SMESH DriverSTL : driver to read and write 'stl' files
21 #  File   : Makefile.in
22 #  Author : Marc Tajchman (CEA)
23 #  Modified by : Alexander BORODIN (OCN) - autotools usage
24 #  Module : SMESH
25 #  $Header$
26 #
27 include $(top_srcdir)/adm_local/unix/make_common_starter.am
28
29 # header files 
30 salomeinclude_HEADERS = \
31         DriverSTL_R_SMDS_Mesh.h \
32         DriverSTL_W_SMDS_Mesh.h \
33         SMESH_DriverSTL.hxx
34
35 # Libraries targets
36 lib_LTLIBRARIES = libMeshDriverSTL.la
37
38 dist_libMeshDriverSTL_la_SOURCES = \
39         DriverSTL_R_SMDS_Mesh.cxx \
40         DriverSTL_W_SMDS_Mesh.cxx
41
42 # Executables targets
43 bin_PROGRAMS = STL_Test
44
45 dist_STL_Test_SOURCES = \
46         STL_Test.cxx
47
48
49 # additionnal information to compil and link file
50 libMeshDriverSTL_la_CPPFLAGS = \
51         $(KERNEL_CXXFLAGS) \
52         $(CAS_CPPFLAGS) \
53         $(VTK_INCLUDES) \
54         $(BOOST_CPPFLAGS) \
55         -I$(srcdir)/../Driver \
56         -I$(srcdir)/../SMESH \
57         -I$(srcdir)/../SMESHUtils \
58         -I$(srcdir)/../SMDS
59
60 libMeshDriverSTL_la_LDFLAGS  = \
61         ../Driver/libMeshDriver.la \
62         ../SMDS/libSMDS.la \
63         $(KERNEL_LDFLAGS) -lSALOMEBasics \
64         $(CAS_LDPATH) -lTKernel -lTKSTL -lTKTopAlgo -lTKMesh
65
66 STL_Test_CPPFLAGS = \
67         $(libMeshDriverSTL_la_CPPFLAGS)
68
69 STL_Test_LDADD = \
70         libMeshDriverSTL.la \
71         ../Driver/libMeshDriver.la \
72         ../SMDS/libSMDS.la \
73         $(KERNEL_LDFLAGS) -lOpUtil -lSALOMELocalTrace -lSALOMEBasics \
74         $(CAS_LDPATH) -lTKernel -lTKSTL -lTKTopAlgo -lTKMesh -lTKBO
75