Salome HOME
89ac29deb464b21000cc994731a1c93c78ac1c86
[modules/smesh.git] / src / DriverUNV / 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 DriverUNV : driver to read and write 'unv' 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         DriverUNV_R_SMDS_Mesh.h \
32         DriverUNV_W_SMDS_Mesh.h \
33         SMESH_DriverUNV.hxx
34
35 # not-exported (internal) files
36 EXTRA_DIST += \
37         UNV2411_Structure.hxx \
38         UNV2412_Structure.hxx \
39         UNV2417_Structure.hxx \
40         UNV_Utilities.hxx
41
42 # Libraries targets
43 lib_LTLIBRARIES = libMeshDriverUNV.la
44 dist_libMeshDriverUNV_la_SOURCES = \
45         DriverUNV_R_SMDS_Mesh.cxx \
46         DriverUNV_W_SMDS_Mesh.cxx \
47         UNV_Utilities.cxx \
48         UNV2411_Structure.cxx \
49         UNV2412_Structure.cxx \
50         UNV2417_Structure.cxx
51
52 # Executables targets
53 bin_PROGRAMS = UNV_Test
54
55 UNV_Test_SOURCES = \
56         UNV_Test.cxx
57
58 # additionnal information to compil and link file
59 libMeshDriverUNV_la_CPPFLAGS = \
60         $(KERNEL_CXXFLAGS) \
61         $(CAS_CPPFLAGS) \
62         $(VTK_INCLUDES) \
63         $(BOOST_CPPFLAGS) \
64         -I$(srcdir)/../Driver \
65         -I$(srcdir)/../SMDS \
66         -I$(srcdir)/../SMESHDS
67
68 libMeshDriverUNV_la_LDFLAGS  = \
69         ../Driver/libMeshDriver.la \
70         $(KERNEL_LDFLAGS) -lSALOMEBasics \
71         $(CAS_KERNEL)
72
73 UNV_Test_CPPFLAGS = \
74         $(libMeshDriverUNV_la_CPPFLAGS)
75
76 UNV_Test_LDADD = \
77         libMeshDriverUNV.la \
78         ../Driver/libMeshDriver.la \
79         ../SMDS/libSMDS.la \
80         $(KERNEL_LDFLAGS) -lOpUtil -lSALOMELocalTrace -lSALOMEBasics