Salome HOME
Merge from V5_1_main 14/05/2010
[modules/smesh.git] / src / DriverDAT / Makefile.am
1 #  Copyright (C) 2007-2010  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 DriverDAT : driver to read and write 'dat' 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         DriverDAT_R_SMDS_Mesh.h \
32         DriverDAT_R_SMESHDS_Mesh.h \
33         DriverDAT_R_SMESHDS_Document.h \
34         DriverDAT_W_SMDS_Mesh.h \
35         DriverDAT_W_SMESHDS_Mesh.h \
36         DriverDAT_W_SMESHDS_Document.h \
37         SMESH_DriverDAT.hxx
38
39 # Libraries targets
40 lib_LTLIBRARIES = libMeshDriverDAT.la
41
42 dist_libMeshDriverDAT_la_SOURCES = \
43         DriverDAT_R_SMDS_Mesh.cxx \
44         DriverDAT_R_SMESHDS_Mesh.cxx \
45         DriverDAT_R_SMESHDS_Document.cxx \
46         DriverDAT_W_SMDS_Mesh.cxx \
47         DriverDAT_W_SMESHDS_Mesh.cxx \
48         DriverDAT_W_SMESHDS_Document.cxx
49
50 # Executables targets
51 bin_PROGRAMS = DAT_Test
52 dist_DAT_Test_SOURCES = \
53         DAT_Test.cxx
54
55 # additionnal information to compil and link file
56 libMeshDriverDAT_la_CPPFLAGS = \
57         $(KERNEL_CXXFLAGS) \
58         $(CAS_CPPFLAGS) \
59         $(BOOST_CPPFLAGS) \
60         -I$(srcdir)/../Driver \
61         -I$(srcdir)/../SMDS \
62         -I$(srcdir)/../SMESHDS
63
64 libMeshDriverDAT_la_LDFLAGS  = \
65         ../Driver/libMeshDriver.la \
66         $(KERNEL_LDFLAGS) -lSALOMEBasics \
67         $(CAS_KERNEL)
68
69 DAT_Test_CPPFLAGS = \
70         $(libMeshDriverDAT_la_CPPFLAGS)
71
72 DAT_Test_LDADD = \
73         libMeshDriverDAT.la \
74         ../Driver/libMeshDriver.la \
75         ../SMDS/libSMDS.la \
76         $(KERNEL_LDFLAGS) -lOpUtil -lSALOMELocalTrace -lSALOMEBasics
77