]> SALOME platform Git repositories - modules/visu.git/blob - src/VISU_SWIG/Makefile.am
Salome HOME
3b4a7ca498bb149ec8361763619069dffb6a3c18
[modules/visu.git] / src / VISU_SWIG / Makefile.am
1 #  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
2 #
3 #  Copyright (C) 2003-2007  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 #  VISU VISU_SWIG : binding of C++ implementation and Python
23 #  File   : Makefile.am
24 #  Author : Paul RASCLE, EDF
25 #  Module : VISU
26 #
27 include $(top_srcdir)/adm_local/unix/make_common_starter.am
28
29 SWIG_FLAGS = @SWIG_FLAGS@ -I$(srcdir)
30 SWIG_DEF   = libVISU_Swig.i
31
32 salomeinclude_HEADERS = $(SWIG_DEF) VISU_Gen_s.hh
33
34 # Libraries targets
35 lib_LTLIBRARIES                 = _libVISU_Swig.la
36 dist__libVISU_Swig_la_SOURCES   = $(SWIG_DEF) VISU_Gen_s.hh VISU_Gen_s.cc
37 nodist__libVISU_Swig_la_SOURCES = libVISU_Swig_wrap.cxx
38
39 libVISU_Swig.py: libVISU_Swig_wrap.cxx
40
41 libVISU_Swig_wrap.cxx: $(SWIG_DEF)
42         $(SWIG) $(SWIG_FLAGS) -o $@ $<
43
44 _libVISU_Swig_la_CPPFLAGS = \
45         -ftemplate-depth-32 \
46         $(PYTHON_INCLUDES) \
47         $(HDF5_INCLUDES) \
48         $(QT_INCLUDES) \
49         $(VTK_INCLUDES) \
50         $(KERNEL_CXXFLAGS) \
51         $(GUI_CXXFLAGS) \
52         $(MED_CXXFLAGS) \
53         $(BOOST_CPPFLAGS) \
54         -I$(srcdir) -I$(srcdir)/../CONVERTOR -I$(srcdir)/../PIPELINE
55
56 _libVISU_Swig_la_LDFLAGS = -module
57 _libVISU_Swig_la_LIBADD  = $(PYTHON_LIBS) ../CONVERTOR/libVisuConvertor.la ../PIPELINE/libVisuPipeLine.la
58
59 dist_salomescript_DATA = batchmode_visu.py batchmode_visu_table.py batchmode_visu_view3d.py \
60         visu_med.py visu_view3d.py visu.py visu_gui.py visu_prs_example.py \
61         visu_table.py visu_big_table.py visu_view.py visu_delete.py \
62         visu_split_views.py \
63         visu_succcessive_animation.py visu_apply_properties.py visu_apply_properties_successive.py \
64         batchmode_visu_view.py visu_cache.py visu_pointmap3d.py visu_view3d_parameters.py visu_evolution.py \
65         VISU_Example_01.py VISU_Example_02.py VISU_Example_03.py VISU_Example_04.py \
66         VISU_Example_05.py VISU_Example_06.py VISU_Example_07.py
67
68 nodist_salomescript_DATA = libVISU_Swig.py 
69
70 dist_sharedpkgpython_DATA = VISU_shared_modules.py
71
72 CLEANFILES = libVISU_Swig.py libVISU_Swig_wrap.cxx