1 # Copyright (C) 2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
2 # CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
4 # This library is free software; you can redistribute it and/or
5 # modify it under the terms of the GNU Lesser General Public
6 # License as published by the Free Software Foundation; either
7 # version 2.1 of the License.
9 # This library is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 # Lesser General Public License for more details.
14 # You should have received a copy of the GNU Lesser General Public
15 # License along with this library; if not, write to the Free Software
16 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
23 # Author : André RIBES (EDF), Eric Fayolle (EDF)
27 include $(top_srcdir)/salome_adm/unix/make_common_starter.am
29 # ===============================================================
31 # ===============================================================
34 # This local variable defines the list of CPPFLAGS common to all target in this package.
35 COMMON_CPPFLAGS= -I$(top_srcdir)/src/DSC/DSC_User \
36 -I$(top_srcdir)/src/DSC/DSC_User/Datastream \
37 -I$(top_srcdir)/src/DSC/DSC_User/Datastream/Palm \
38 -I$(top_srcdir)/src/DSC/DSC_User/Datastream/Calcium \
39 -I$(top_srcdir)/src/DSC/DSC_User/Basic \
40 -I$(top_srcdir)/src/DSC/DSC_Basic \
41 -I$(top_srcdir)/src/SALOMELocalTrace \
42 -I$(top_srcdir)/src/Basics \
43 -I$(top_srcdir)/src/Utils \
44 -I$(top_srcdir)/src/Container \
45 -I$(top_srcdir)/src/Notification \
46 -I$(top_builddir)/salome_adm/unix \
47 -I$(top_builddir)/idl \
48 @CORBA_CXXFLAGS@ @CORBA_INCLUDES@ @BOOST_CPPFLAGS@
50 # This local variable defines the list of dependant libraries common to all target in this package.
51 COMMON_LIBS = @CORBA_LIBS@
54 # ===============================================================
56 # ===============================================================
59 AM_CFLAGS = -fexceptions
60 pkgpython_PYTHON = calcium.py dsccalcium.py
61 pkgpyexec_LTLIBRARIES = _calcium.la
62 SWIG_FLAGS= -python -c++ -noexcept
64 _calcium_la_SOURCES = calcium_wrap.cpp
65 _calcium_la_LDFLAGS = -module
66 _calcium_la_LIBADD = ../DSC_User/Datastream/Calcium/libCalciumC.la \
67 ../DSC_User/Datastream/libSalomeDatastream.la \
68 ../DSC_User/Basic/libSalomeDSCSupervBasic.la \
69 ../DSC_User/libSalomeDSCSuperv.la \
70 ../DSC_Basic/libSalomeDSCContainer.la \
71 ../../Container/libSalomeContainer.la
73 _calcium_la_CXXFLAGS = $(PYTHON_INCLUDES) $(COMMON_CPPFLAGS)
75 calcium_wrap.cpp calcium.py:calcium.i
76 $(SWIG) $(SWIG_FLAGS) -o calcium_wrap.cpp $<
78 CLEANFILES = calcium_wrap.cpp