1 # PARAVIS : ParaView wrapper SALOME module
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
22 # Author : Julia DOROVSKIKH
24 # Modified by : Alexander BORODIN (OCN) - autotools usage
26 include $(top_srcdir)/adm_local/unix/make_common_starter.am
29 bin_PROGRAMS = vtkWrapIDL_HH vtkWrapIDL_CC
31 dist_vtkWrapIDL_HH_SOURCES = ${PVHOME}/src/vtkParse.tab.c $(top_srcdir)/idl/vtkWrapIDL.c
32 dist_vtkWrapIDL_CC_SOURCES = ${PVHOME}/src/vtkParse.tab.c $(top_srcdir)/idl/vtkWrapIDL.c
34 vtkWrapIDL_HH_CPPFLAGS = -DIDL_I_HH ${PARAVIEW_INCLUDES}
37 vtkWrapIDL_CC_CPPFLAGS = -DIDL_I_CC ${PARAVIEW_INCLUDES}
39 include $(srcdir)/wrap.am
42 lib_LTLIBRARIES = libPARAVIS.la
45 dist_libPARAVIS_la_SOURCES = \
49 PVGUI_Module_actions.cxx \
50 PVGUI_Module_widgets.cxx \
51 PVGUI_ProcessModuleHelper.h \
52 PVGUI_ProcessModuleHelper.cxx \
54 PVGUI_ViewManager.cxx \
58 PVGUI_ViewWindow.cxx \
59 PVGUI_OutputWindowAdapter.h \
60 PVGUI_OutputWindowAdapter.cxx \
73 PARAVIS_CreateClass.cxx
77 PVGUI_Module_moc.cxx \
78 PVGUI_ViewManager_moc.cxx \
79 PVGUI_ViewModel_moc.cxx \
80 PVGUI_ViewWindow_moc.cxx \
83 nodist_libPARAVIS_la_SOURCES = $(MOC_FILES)
85 # additionnal compilation flags
86 # Note that ParaView uses HDF5
87 libPARAVIS_la_CPPFLAGS = \
91 $(QT_ASSISTANT_INCLUDES) \
92 $(PARAVIEW_INCLUDES) \
95 @CAS_CPPFLAGS@ @CAS_CXXFLAGS@ \
97 $(CORBA_CXXFLAGS) $(CORBA_INCLUDES) \
101 -I$(top_builddir)/idl \
102 -I$(srcdir)/../../idl \
103 -I$(top_builddir)/salome_adm/unix
105 # additionnal linkage flags
106 # Note that ParaView uses HDF5
107 libPARAVIS_la_LDFLAGS = \
111 $(QT_ASSISTANT_LIBS) \
113 ../../idl/libSalomeIDLPARAVIS.la \
114 $(KERNEL_LDFLAGS) -lSalomeNS -lSalomeDSClient -lSalomeContainer -lSalomeLifeCycleCORBA \
115 $(GUI_LDFLAGS) -lSalomeApp -lLightApp \
116 $(VISU_LDFLAGS) -lSalomeIDLVISU
118 libPARAVIS_la_LIBADD= \
123 -lSalomeCommunication \
127 -lSalomeLifeCycleCORBA \
136 nodist_salomeres_DATA = \
140 mostlyclean-local: clean-wrap