Salome HOME
aa49c013c29943258c59b23869c6ff314ffbc6bd
[modules/smesh.git] / src / DriverSTL / Makefile.am
1 #  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
2 #
3 #  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 #  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
5 #
6 #  This library is free software; you can redistribute it and/or
7 #  modify it under the terms of the GNU Lesser General Public
8 #  License as published by the Free Software Foundation; either
9 #  version 2.1 of the License.
10 #
11 #  This library is distributed in the hope that it will be useful,
12 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
13 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 #  Lesser General Public License for more details.
15 #
16 #  You should have received a copy of the GNU Lesser General Public
17 #  License along with this library; if not, write to the Free Software
18 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
19 #
20 #  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 #
22 #  SMESH DriverSTL : driver to read and write 'stl' files
23 #  File   : Makefile.in
24 #  Author : Marc Tajchman (CEA)
25 #  Modified by : Alexander BORODIN (OCN) - autotools usage
26 #  Module : SMESH
27 #  $Header$
28 #
29 include $(top_srcdir)/adm_local/unix/make_common_starter.am
30
31 # header files 
32 salomeinclude_HEADERS = \
33         DriverSTL_R_SMDS_Mesh.h \
34         DriverSTL_W_SMDS_Mesh.h \
35         SMESH_DriverSTL.hxx
36
37 # Libraries targets
38 lib_LTLIBRARIES = libMeshDriverSTL.la
39
40 dist_libMeshDriverSTL_la_SOURCES = \
41         DriverSTL_R_SMDS_Mesh.cxx \
42         DriverSTL_W_SMDS_Mesh.cxx
43
44 # Executables targets
45 bin_PROGRAMS = STL_Test
46
47 dist_STL_Test_SOURCES = \
48         STL_Test.cxx
49
50
51 # additionnal information to compil and link file
52 libMeshDriverSTL_la_CPPFLAGS = \
53         $(KERNEL_CXXFLAGS) \
54         $(CAS_CPPFLAGS) \
55         $(BOOST_CPPFLAGS) \
56         -I$(srcdir)/../Driver \
57         -I$(srcdir)/../SMDS
58
59 libMeshDriverSTL_la_LDFLAGS  = \
60         ../Driver/libMeshDriver.la \
61         ../SMDS/libSMDS.la \
62         $(CAS_LDPATH) -lTKernel -lTKSTL -lTKTopAlgo -lTKMesh
63
64 STL_Test_CPPFLAGS = \
65         $(libMeshDriverSTL_la_CPPFLAGS)
66
67 STL_Test_LDADD = \
68         libMeshDriverSTL.la \
69         ../Driver/libMeshDriver.la \
70         ../SMDS/libSMDS.la \
71         $(KERNEL_LDFLAGS) -lOpUtil -lSALOMELocalTrace -lSALOMEBasics \
72         $(CAS_LDPATH) -lTKernel -lTKSTL -lTKTopAlgo -lTKMesh -lTKBO
73