1 # VISU VISU_SWIG : binding of C++ implementation and Python
3 # Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 # CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
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.
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.
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
20 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
24 # Author : Paul RASCLE, EDF
27 include $(top_srcdir)/adm_local/unix/make_common_starter.am
29 lib_LTLIBRARIES= libVISU_Swigcmodule.la
30 dist_libVISU_Swigcmodule_la_SOURCES= VISU_Gen_s.cc
31 nodist_libVISU_Swigcmodule_la_SOURCES= libVISU_Swig_wrap.cxx
33 SWIG_DEF = libVISU_Swig.i
34 SWIG_FLAGS= @SWIG_FLAGS@ -I$(srcdir)
36 libVISU_Swig.py: libVISU_Swig_wrap.cxx
37 libVISU_Swig_wrap.cxx: $(SWIG_DEF)
38 $(SWIG) $(SWIG_FLAGS) -o $@ $<
40 libVISU_Swigcmodule_la_CPPFLAGS= \
50 -I$(srcdir)/../CONVERTOR -I$(srcdir)/../PIPELINE
52 libVISU_Swigcmodule_la_LDFLAGS= $(PYTHON_LIBS) ../CONVERTOR/libVisuConvertor.la ../PIPELINE/libVisuPipeLine.la
54 dist_salomescript_DATA= libVISU_Swig.py batchmode_visu.py batchmode_visu_table.py batchmode_visu_view3d.py \
55 visu_med.py visu_view3d.py visu.py visu_gui.py visu_prs_example.py \
56 visu_table.py visu_big_table.py visu_view.py visu_delete.py \
57 visu_swig_test.py visu_split_views.py \
58 visu_succcessive_animation.py visu_apply_properties.py visu_apply_properties_successive.py \
59 VISU_Example_01.py VISU_Example_02.py VISU_Example_03.py VISU_Example_04.py \
60 VISU_Example_05.py VISU_Example_06.py VISU_Example_07.py
61 dist_sharedpkgpython_DATA= VISU_shared_modules.py
63 CLEANFILES= libVISU_Swig.py libVISU_Swig_wrap.cxx
65 install-exec-hook: $(libdir)/_libVISU_Swig.so
67 $(libdir)/_libVISU_Swig.so:
68 ( cd $(libdir); ln -sf libVISU_Swigcmodule.so _libVISU_Swig.so; )