Salome HOME
0e05ad76112e69364e0e7129a873f35d5337cdb2
[modules/smesh.git] / src / DriverUNV / Makefile.am
1 # Copyright (C) 2007-2012  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         UNV164_Structure.hxx \
38         UNV2411_Structure.hxx \
39         UNV2412_Structure.hxx \
40         UNV2417_Structure.hxx \
41         UNV2420_Structure.hxx \
42         UNV_Utilities.hxx
43
44 # Libraries targets
45 lib_LTLIBRARIES = libMeshDriverUNV.la
46 dist_libMeshDriverUNV_la_SOURCES = \
47         DriverUNV_R_SMDS_Mesh.cxx \
48         DriverUNV_W_SMDS_Mesh.cxx \
49         UNV_Utilities.cxx \
50         UNV164_Structure.cxx \
51         UNV2411_Structure.cxx \
52         UNV2412_Structure.cxx \
53         UNV2420_Structure.cxx \
54         UNV2417_Structure.cxx
55
56 # Executables targets
57 bin_PROGRAMS = UNV_Test
58
59 UNV_Test_SOURCES = \
60         UNV_Test.cxx
61
62 # additionnal information to compil and link file
63 libMeshDriverUNV_la_CPPFLAGS = \
64         $(KERNEL_CXXFLAGS) \
65         $(CAS_CPPFLAGS) \
66         $(VTK_INCLUDES) \
67         $(BOOST_CPPFLAGS) \
68         -I$(srcdir)/../Driver \
69         -I$(srcdir)/../SMDS \
70         -I$(srcdir)/../SMESHDS
71
72 libMeshDriverUNV_la_LDFLAGS  = \
73         ../Driver/libMeshDriver.la \
74         $(KERNEL_LDFLAGS) -lSALOMEBasics \
75         $(CAS_KERNEL)
76
77 UNV_Test_CPPFLAGS = \
78         $(libMeshDriverUNV_la_CPPFLAGS)
79
80 UNV_Test_LDADD = \
81         libMeshDriverUNV.la \
82         ../Driver/libMeshDriver.la \
83         ../SMDS/libSMDS.la \
84         $(KERNEL_LDFLAGS) -lOpUtil -lSALOMELocalTrace -lSALOMEBasics