Salome HOME
MED file mesh loading on demand.
[modules/med.git] / src / MEDCalculator / Makefile.am
1 # Copyright (C) 2007-2013  CEA/DEN, EDF R&D
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 # Author : Anthony Geay (CEA/DEN)
20
21 include $(top_srcdir)/adm_local/unix/make_common_starter.am
22
23 MEDCALCULATOR_SUBDIRS =
24
25 if !MED_ENABLE_MICROMED
26    MEDCALCULATOR_SUBDIRS += . Swig
27 if CPPUNIT_IS_OK
28    MEDCALCULATOR_SUBDIRS += Test
29 endif
30 endif
31
32 SUBDIRS = $(MEDCALCULATOR_SUBDIRS)
33
34 lib_LTLIBRARIES = libmedcalculator.la
35
36 salomeinclude_HEADERS= \
37 MEDCalculatorBrowserMesh.hxx                 \
38 MEDCalculatorBrowserField.hxx                \
39 MEDCalculatorBrowserStep.hxx                 \
40 MEDCalculatorBrowserLiteStruct.hxx           \
41 MEDCalculatorDBRangeSelection.hxx            \
42 MEDCalculatorDBSliceField.hxx                \
43 MEDCalculatorDBField.hxx                     \
44 MedCalculatorDefines.hxx
45
46 dist_libmedcalculator_la_SOURCES= \
47 MEDCalculatorBrowserMesh.cxx                 \
48 MEDCalculatorBrowserField.cxx                \
49 MEDCalculatorBrowserStep.cxx                 \
50 MEDCalculatorBrowserLiteStruct.cxx           \
51 MEDCalculatorDBRangeSelection.cxx            \
52 MEDCalculatorDBSliceField.cxx                \
53 MEDCalculatorDBField.cxx
54
55 libmedcalculator_la_CPPFLAGS= $(MED3_INCLUDES) $(HDF5_INCLUDES) @CXXTMPDPTHFLAGS@ \
56         -I$(srcdir)/../INTERP_KERNEL \
57         -I$(srcdir)/../INTERP_KERNEL/Geometric2D \
58         -I$(srcdir)/../INTERP_KERNEL/Bases \
59         -I$(srcdir)/../MEDCoupling \
60         -I$(srcdir)/../MEDLoader \
61         -I$(srcdir)/../MEDCouplingCorba \
62         $(CORBA_CXXFLAGS) $(CORBA_INCLUDES) -I$(top_builddir)/idl @KERNEL_CXXFLAGS@
63
64 libmedcalculator_la_LDFLAGS= ../MEDLoader/libmedloader.la ../MEDCouplingCorba/libmedcouplingcorba.la $(KERNEL_LDFLAGS) -lSALOMELocalTrace -lSalomeNS -lOpUtil