Salome HOME
Merge from V6_main (04/10/2012)
[modules/med.git] / src / MEDOP / cmp / Makefile.am
1 # Copyright (C) 2007-2012  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
20 # author: Guillaume Boulant (EDF/R&D, 2012)
21
22 include $(top_srcdir)/adm_local/unix/make_common_starter.am
23
24 mypkgpythondir = $(salomescriptdir)/med
25 dist_mypkgpython_SCRIPTS = \
26         test_medop_components.py
27
28 salomeinclude_HEADERS =      \
29         MEDOP.hxx            \
30         MEDDataManager_i.hxx \
31         MEDCalculator_i.hxx  \
32         MEDOPFactory_i.hxx
33
34 lib_LTLIBRARIES = libMEDOPFactoryEngine.la
35 libMEDOPFactoryEngine_la_SOURCES = \
36         MEDDataManager_i.cxx       \
37         MEDCalculator_i.cxx        \
38         MEDOPFactory_i.cxx
39
40 libMEDOPFactoryEngine_la_LDFLAGS = -no-undefined -version-info=0:0:0
41
42 OMNIORB_CXXFLAGS=@CORBA_CXXFLAGS@ @CORBA_INCLUDES@
43 OMNIORB_LIBS=@OMNIORB_LIBS@
44
45 libMEDOPFactoryEngine_la_CPPFLAGS = \
46         -I$(top_builddir)/idl \
47         -I$(top_srcdir)/src/MEDCoupling \
48         -I$(top_srcdir)/src/INTERP_KERNEL/Bases \
49         -I$(top_srcdir)/src/INTERP_KERNEL \
50         -I$(top_srcdir)/src/MEDLoader \
51         $(KERNEL_CXXFLAGS) \
52         $(MED2_CXXFLAGS) \
53         $(HDF5_CXXFLAGS) \
54         $(OMNIORB_CXXFLAGS)
55
56 libMEDOPFactoryEngine_la_LIBADD = \
57         $(top_builddir)/idl/libSalomeIDLMED.la  \
58         $(KERNEL_LDFLAGS) -lSalomeKernelHelpers  \
59         $(top_builddir)/src/MEDCoupling/libmedcoupling.la \
60         $(top_builddir)/src/MEDLoader/libmedloader.la \
61         $(top_builddir)/src/INTERP_KERNEL/libinterpkernel.la \
62         $(MED2_LIBS) \
63         $(HDF5_LIBS) \
64         $(OMNIORB_LIBS)