Salome HOME
Using AutoTools for build procedure
[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         $(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