Salome HOME
CoTech decision: move MEDWrapper from MED to SMESH
[modules/smesh.git] / src / DriverMED / Makefile.am
1 # Copyright (C) 2007-2013  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 #  SMESH DriverMED : driver to read and write 'med' files
20 #  File   : Makefile.in
21 #  Author : Marc Tajchman (CEA)
22 #  Modified by : Alexander BORODIN (OCN) - autotools usage
23 #  Module : SMESH
24 #
25 include $(top_srcdir)/adm_local/unix/make_common_starter.am
26
27 # header files 
28 salomeinclude_HEADERS = \
29         DriverMED.hxx \
30         DriverMED_R_SMESHDS_Mesh.h \
31         DriverMED_W_SMESHDS_Mesh.h \
32         DriverMED_Family.h \
33         SMESH_DriverMED.hxx
34
35 # Libraries targets
36 lib_LTLIBRARIES = libMeshDriverMED.la
37 dist_libMeshDriverMED_la_SOURCES = \
38         DriverMED_R_SMESHDS_Mesh.cxx \
39         DriverMED_W_SMESHDS_Mesh.cxx \
40         DriverMED_Family.cxx
41
42 # Executables targets
43 bin_PROGRAMS = MED_Test
44
45 dist_MED_Test_SOURCES = \
46         MED_Test.cxx
47
48
49 # additionnal information to compil and link file
50 libMeshDriverMED_la_CPPFLAGS = \
51         @HDF5_INCLUDES@ \
52         $(KERNEL_CXXFLAGS) \
53         $(CAS_CPPFLAGS) \
54         $(VTK_INCLUDES) \
55         $(BOOST_CPPFLAGS) \
56         -I$(srcdir)/../MEDWrapper/Base \
57         -I$(srcdir)/../MEDWrapper/Factory \
58         -I$(srcdir)/../Driver \
59         -I$(srcdir)/../SMDS \
60         -I$(srcdir)/../SMESHUtils \
61         -I$(srcdir)/../SMESHDS
62
63 libMeshDriverMED_la_LDFLAGS  = \
64         $(BOOST_LIBS) \
65         ../Driver/libMeshDriver.la \
66         ../MEDWrapper/Factory/libMEDWrapper.la \
67         ../MEDWrapper/Base/libMEDWrapperBase.la \
68         ../MEDWrapper/V2_2/libMEDWrapper_V2_2.la \
69         $(BOOST_LIB_SYSTEM) 
70
71 MED_Test_CPPFLAGS = \
72         $(libMeshDriverMED_la_CPPFLAGS)
73
74 MED_Test_LDADD = \
75         libMeshDriverMED.la \
76         ../Driver/libMeshDriver.la \
77         ../SMDS/libSMDS.la \
78         ../SMESHDS/libSMESHDS.la \
79         ${BOOST_LIB_SYSTEM} \
80         $(KERNEL_LDFLAGS) \
81         -lOpUtil \
82         -lSALOMELocalTrace \
83         -lSALOMEBasics \
84         ../MEDWrapper/Factory/libMEDWrapper.la \
85         ../MEDWrapper/Base/libMEDWrapperBase.la \
86         ../MEDWrapper/V2_2/libMEDWrapper_V2_2.la \
87         $(BOOST_LIB_SYSTEM)