Salome HOME
Join modifications from BR_Dev_For_4_0 tag V4_1_1.
[modules/smesh.git] / src / DriverMED / Makefile.am
1 #  SMESH DriverMED : driver to read and write 'med' files
2 #
3 #  Copyright (C) 2003  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 #
23 #
24 #  File   : Makefile.in
25 #  Author : Marc Tajchman (CEA)
26 #  Modified by : Alexander BORODIN (OCN) - autotools usage
27 #  Module : SMESH
28 #  $Header$
29
30 include $(top_srcdir)/adm_local/unix/make_common_starter.am
31
32 # header files 
33 salomeinclude_HEADERS = \
34         DriverMED_R_SMDS_Mesh.h \
35         DriverMED_R_SMESHDS_Mesh.h \
36         DriverMED_R_SMESHDS_Document.h \
37         DriverMED_W_SMDS_Mesh.h \
38         DriverMED_W_SMESHDS_Mesh.h \
39         DriverMED_W_SMESHDS_Document.h \
40         DriverMED_Family.h \
41         SMESH_DriverMED.hxx
42
43 # Libraries targets
44 lib_LTLIBRARIES = libMeshDriverMED.la
45 dist_libMeshDriverMED_la_SOURCES = \
46         DriverMED_R_SMDS_Mesh.cxx \
47         DriverMED_R_SMESHDS_Mesh.cxx \
48         DriverMED_R_SMESHDS_Document.cxx \
49         DriverMED_W_SMDS_Mesh.cxx \
50         DriverMED_W_SMESHDS_Document.cxx \
51         DriverMED_W_SMESHDS_Mesh.cxx \
52         DriverMED_Family.cxx
53
54 # Executables targets
55 bin_PROGRAMS = MED_Test
56
57 dist_MED_Test_SOURCES = \
58         MED_Test.cxx
59
60
61 # additionnal information to compil and link file
62 libMeshDriverMED_la_CPPFLAGS = \
63         $(MED_CXXFLAGS) \
64         @HDF5_INCLUDES@ \
65         $(KERNEL_CXXFLAGS) \
66         $(CAS_CPPFLAGS) \
67         $(BOOST_CPPFLAGS) \
68         -I$(srcdir)/../Driver \
69         -I$(srcdir)/../SMDS \
70         -I$(srcdir)/../SMESHDS \
71         -I$(top_builddir)/salome_adm/unix
72
73 libMeshDriverMED_la_LDFLAGS  = \
74         ../Driver/libMeshDriver.la \
75         $(MED_LDFLAGS) -lMEDWrapper
76
77
78 MED_Test_CPPFLAGS = \
79         $(libMeshDriverMED_la_CPPFLAGS)
80
81 MED_Test_LDADD = \
82         libMeshDriverMED.la \
83         ../Driver/libMeshDriver.la \
84         ../SMDS/libSMDS.la \
85         ../SMESHDS/libSMESHDS.la \
86         $(KERNEL_LDFLAGS) \
87         -lOpUtil \
88         -lSALOMELocalTrace \
89         -lSALOMEBasics \
90         $(MED_LDFLAGS) \
91         -lMEDWrapper \
92         -lMEDWrapperBase \
93         -lMEDWrapper_V2_1 \
94         -lmed_V2_1 \
95         -lMEDWrapper_V2_2
96