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