]> SALOME platform Git repositories - modules/paravis.git/blob - src/PVGUI/Makefile.am
Salome HOME
Merge from BR_PARAVIS_DEV 29Dec09
[modules/paravis.git] / src / PVGUI / Makefile.am
1 #  PARAVIS : ParaView wrapper SALOME module
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 #  Author : Julia DOROVSKIKH
23 #  Date   : 01/06/2005
24 #  Modified by : Alexander BORODIN (OCN) - autotools usage
25
26 include $(top_srcdir)/adm_local/unix/make_common_starter.am
27
28 #Executable
29 bin_PROGRAMS = vtkWrapIDL_HH vtkWrapIDL_CC
30
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
33
34 vtkWrapIDL_HH_CPPFLAGS = -DIDL_I_HH     ${PARAVIEW_INCLUDES}
35
36
37 vtkWrapIDL_CC_CPPFLAGS = -DIDL_I_CC     ${PARAVIEW_INCLUDES}
38
39 include $(srcdir)/wrap.am
40
41 # Library target
42 lib_LTLIBRARIES = libPARAVIS.la
43
44 # Library sources
45 dist_libPARAVIS_la_SOURCES =    \
46         PVGUI_Module.h          \
47         PVGUI_Module_impl.h     \
48         PVGUI_Module.cxx        \
49         PVGUI_Module_actions.cxx \
50         PVGUI_Module_widgets.cxx \
51         PVGUI_ProcessModuleHelper.h \
52         PVGUI_ProcessModuleHelper.cxx \
53         PVGUI_ViewManager.h \
54         PVGUI_ViewManager.cxx \
55         PVGUI_ViewModel.h \
56         PVGUI_ViewModel.cxx \
57         PVGUI_ViewWindow.h \
58         PVGUI_ViewWindow.cxx \
59         PVGUI_OutputWindowAdapter.h \
60         PVGUI_OutputWindowAdapter.cxx \
61         PVGUI_Tools.h \
62         PVGUI_Tools.cxx \
63         PVGUI_Trace.h \
64         PVGUI_Trace.cxx \
65         PV_I.h \
66         PARAVIS_Gen_i.hh \
67         PV_Events.h \
68         PV_Tools.h \
69         PARAVIS_Gen_i.cc \
70         PV_Tools.cxx \
71         $(WRAP_IDL_I_HH) \
72         $(WRAP_IDL_I_CC) \
73         PARAVIS_CreateClass.cxx
74
75 # MOC pre-processing
76 MOC_FILES = \
77         PVGUI_Module_moc.cxx \
78         PVGUI_ViewManager_moc.cxx \
79         PVGUI_ViewModel_moc.cxx \
80         PVGUI_ViewWindow_moc.cxx \
81         PVGUI_Trace_moc.cxx
82
83 nodist_libPARAVIS_la_SOURCES = $(MOC_FILES)
84
85 # additionnal compilation flags
86 # Note that ParaView uses HDF5
87 libPARAVIS_la_CPPFLAGS = \
88         -ftemplate-depth-32 \
89         $(HDF5_INCLUDES) \
90         $(QT_INCLUDES) \
91         $(QT_ASSISTANT_INCLUDES) \
92         $(PARAVIEW_INCLUDES) \
93         $(CAS_CPPFLAGS) \
94         $(PYTHON_INCLUDES) \
95         @CAS_CPPFLAGS@ @CAS_CXXFLAGS@ \
96         $(KERNEL_CXXFLAGS) \
97         $(CORBA_CXXFLAGS) $(CORBA_INCLUDES) \
98         $(GUI_CXXFLAGS) \
99         $(VISU_CXXFLAGS) \
100         $(MED_CXXFLAGS) \
101         -I$(top_builddir)/idl \
102         -I$(srcdir)/../../idl   \
103         -I$(top_builddir)/salome_adm/unix
104
105 # additionnal linkage flags
106 # Note that ParaView uses HDF5
107 libPARAVIS_la_LDFLAGS = \
108         $(PYTHON_LIBS) \
109         $(QT_MT_LIBS) \
110         $(HDF5_LIBS) \
111         $(QT_ASSISTANT_LIBS) \
112         $(PARAVIEW_LIBS) \
113         ../../idl/libSalomeIDLPARAVIS.la \
114         $(KERNEL_LDFLAGS) -lSalomeNS -lSalomeDSClient -lSalomeContainer -lSalomeLifeCycleCORBA \
115         $(GUI_LDFLAGS) -lSalomeApp -lLightApp \
116         $(VISU_LDFLAGS) -lSalomeIDLVISU
117
118 libPARAVIS_la_LIBADD= \
119         -lSalomeIDLKernel \
120         -lSalomeHDFPersist \
121         -lSalomeGenericObj \
122         -lSalomeContainer \
123         -lSalomeCommunication \
124         -lSalomeNS \
125         -lTOOLSDS \
126         -lOpUtil \
127         -lSalomeLifeCycleCORBA \
128         -lEvent \
129         -lSalomeApp \
130         -lSalomeSession \
131         -lqtx \
132         -lLightApp
133
134 #       
135 # resources files
136 nodist_salomeres_DATA = \
137            PARAVIS_images.qm \
138            PARAVIS_msg_en.qm
139
140 mostlyclean-local: clean-wrap
141
142 clean-wrap:
143         -rm -f *.hh *.cc