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