Salome HOME
CoTech decision: move MEDWrapper from MED to SMESH
[modules/smesh.git] / src / MEDWrapper / Factory / 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 include $(top_srcdir)/adm_local/unix/make_common_starter.am
20
21 lib_LTLIBRARIES= libMEDWrapper.la
22
23 salomeinclude_HEADERS= \
24         MED_Factory.hxx \
25         MED_WrapperFactory.hxx
26
27 dist_libMEDWrapper_la_SOURCES= \
28         MED_Factory.cxx
29
30 libMEDWrapper_la_CPPFLAGS= $(BOOST_CPPFLAGS) $(MED3_INCLUDES) \
31         -I$(srcdir)/../Base
32 libMEDWrapper_la_CPPFLAGS+= -I$(KERNEL_ROOT_DIR)/include/salome
33 libMEDWrapper_la_CPPFLAGS+= -I$(srcdir)/../V2_2
34 libMEDWrapper_la_LDFLAGS= ../V2_2/libMEDWrapper_V2_2.la
35
36 # Executables targets
37 bin_PROGRAMS = MED_Test mprint_version
38
39 dist_MED_Test_SOURCES= MED_Test.cxx
40 MED_Test_CPPFLAGS= $(libMEDWrapper_la_CPPFLAGS)
41 MED_Test_LDADD= $(libMEDWrapper_la_LDFLAGS) ../Base/libMEDWrapperBase.la \
42         $(BOOST_LIB_THREAD) $(BOOST_LIB_SYSTEM) libMEDWrapper.la
43
44 dist_mprint_version_SOURCES= mprint_version.cxx
45 mprint_version_CPPFLAGS= $(libMEDWrapper_la_CPPFLAGS)
46 mprint_version_LDADD= $(libMEDWrapper_la_LDFLAGS) ../Base/libMEDWrapperBase.la \
47         $(BOOST_LIB_THREAD) $(BOOST_LIB_SYSTEM) libMEDWrapper.la $(MED3_LIBS_C_ONLY)