Salome HOME
Merge from BR_V5_DEV 16Feb09
[modules/smesh.git] / src / DriverMED / 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 DriverMED : driver to read and write 'med' 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         DriverMED_R_SMDS_Mesh.h \
34         DriverMED_R_SMESHDS_Mesh.h \
35         DriverMED_R_SMESHDS_Document.h \
36         DriverMED_W_SMDS_Mesh.h \
37         DriverMED_W_SMESHDS_Mesh.h \
38         DriverMED_W_SMESHDS_Document.h \
39         DriverMED_Family.h \
40         SMESH_DriverMED.hxx
41
42 # Libraries targets
43 lib_LTLIBRARIES = libMeshDriverMED.la
44 dist_libMeshDriverMED_la_SOURCES = \
45         DriverMED_R_SMDS_Mesh.cxx \
46         DriverMED_R_SMESHDS_Mesh.cxx \
47         DriverMED_R_SMESHDS_Document.cxx \
48         DriverMED_W_SMDS_Mesh.cxx \
49         DriverMED_W_SMESHDS_Document.cxx \
50         DriverMED_W_SMESHDS_Mesh.cxx \
51         DriverMED_Family.cxx
52
53 # Executables targets
54 bin_PROGRAMS = MED_Test
55
56 dist_MED_Test_SOURCES = \
57         MED_Test.cxx
58
59
60 # additionnal information to compil and link file
61 libMeshDriverMED_la_CPPFLAGS = \
62         $(MED_CXXFLAGS) \
63         @HDF5_INCLUDES@ \
64         $(KERNEL_CXXFLAGS) \
65         $(CAS_CPPFLAGS) \
66         $(BOOST_CPPFLAGS) \
67         -I$(srcdir)/../Driver \
68         -I$(srcdir)/../SMDS \
69         -I$(srcdir)/../SMESHDS \
70         -I$(top_builddir)/salome_adm/unix
71
72 libMeshDriverMED_la_LDFLAGS  = \
73         ../Driver/libMeshDriver.la \
74         $(MED_LDFLAGS) -lMEDWrapper
75
76
77 MED_Test_CPPFLAGS = \
78         $(libMeshDriverMED_la_CPPFLAGS)
79
80 MED_Test_LDADD = \
81         libMeshDriverMED.la \
82         ../Driver/libMeshDriver.la \
83         ../SMDS/libSMDS.la \
84         ../SMESHDS/libSMESHDS.la \
85         $(KERNEL_LDFLAGS) \
86         -lOpUtil \
87         -lSALOMELocalTrace \
88         -lSALOMEBasics \
89         $(MED_LDFLAGS) \
90         -lMEDWrapper \
91         -lMEDWrapperBase \
92         -lMEDWrapper_V2_1 \
93         -lmed_V2_1 \
94         -lMEDWrapper_V2_2
95