]> SALOME platform Git repositories - modules/visu.git/blob - src/VISU_SWIG/Makefile.am
Salome HOME
Join modifications from BR_Dev_For_4_0 tag V4_1_1.
[modules/visu.git] / src / VISU_SWIG / Makefile.am
1 #  VISU VISU_SWIG : binding of C++ implementation and Python
2 #
3 #  Copyright (C) 2003  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 #
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 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
32
33 SWIG_DEF = libVISU_Swig.i
34 SWIG_FLAGS= @SWIG_FLAGS@ -I$(srcdir)
35
36 libVISU_Swig.py: libVISU_Swig_wrap.cxx
37 libVISU_Swig_wrap.cxx: $(SWIG_DEF)
38         $(SWIG) $(SWIG_FLAGS) -o $@ $<
39
40 libVISU_Swigcmodule_la_CPPFLAGS= \
41         -ftemplate-depth-32 \
42         $(PYTHON_INCLUDES) \
43         $(HDF5_INCLUDES) \
44         $(QT_INCLUDES) \
45         $(VTK_INCLUDES) \
46         $(KERNEL_CXXFLAGS) \
47         $(GUI_CXXFLAGS) \
48         $(MED_CXXFLAGS) \
49         $(BOOST_CPPFLAGS) \
50         -I$(srcdir)/../CONVERTOR -I$(srcdir)/../PIPELINE
51
52 libVISU_Swigcmodule_la_LDFLAGS= $(PYTHON_LIBS) ../CONVERTOR/libVisuConvertor.la ../PIPELINE/libVisuPipeLine.la
53
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
62
63 CLEANFILES= libVISU_Swig.py libVISU_Swig_wrap.cxx
64
65 install-exec-hook: $(libdir)/_libVISU_Swig.so
66
67 $(libdir)/_libVISU_Swig.so:
68         ( cd $(libdir); ln -sf libVISU_Swigcmodule.so _libVISU_Swig.so; )