Salome HOME
Merge from V6_main_20120808 08Aug12
[modules/gui.git] / src / TreeData / Makefile.am
1 # Copyright (C) 2010-2012  CEA/DEN, EDF R&D, OPEN CASCADE
2 #
3 # This library is free software; you can redistribute it and/or
4 # modify it under the terms of the GNU Lesser General Public
5 # License as published by the Free Software Foundation; either
6 # version 2.1 of the License.
7 #
8 # This library is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11 # Lesser General Public License for more details.
12 #
13 # You should have received a copy of the GNU Lesser General Public
14 # License along with this library; if not, write to the Free Software
15 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
16 #
17 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 #
19 # Author : Guillaume Boulant (EDF) 
20 #
21
22 include $(top_srcdir)/adm_local/unix/make_common_starter.am
23
24 SUBDIRS = . Test
25
26 # moc-files generation
27 %_moc.cxx: %.hxx
28         $(MOC) $< -o $@
29
30 mostlyclean-local:
31         rm -f @builddir@/*_moc.cxx
32         rm -f @builddir@/*.qm
33
34 # Libraries targets
35 lib_LTLIBRARIES = libSalomeTreeData.la
36
37 #
38 # Generic source files
39 #
40 salomeinclude_HEADERS = \
41         TreeData.hxx \
42         DockWidgets.hxx \
43         TreeModel.hxx \
44         TreeItem.hxx \
45         TreeView.hxx \
46         TreeObserver.hxx \
47         DataModel.hxx \
48         DataObject.hxx \
49         DataProcessor.hxx \
50         TreeGuiManager.hxx
51
52 dist_libSalomeTreeData_la_SOURCES = \
53         DockWidgets.cxx \
54         TreeModel.cxx \
55         TreeItem.cxx \
56         TreeView.cxx \
57         TreeObserver.cxx \
58         DataModel.cxx \
59         DataObject.cxx \
60         DataProcessor.cxx \
61         TreeGuiManager.cxx
62
63 # MOC pre-processing
64 MOC_FILES_HXX = \
65         TreeModel_moc.cxx \
66         TreeView_moc.cxx \
67         TreeObserver_moc.cxx
68
69 nodist_libSalomeTreeData_la_SOURCES = $(MOC_FILES_HXX)
70
71 CORBA_CXXFLAGS=@OMNIORB_CXXFLAGS@ @OMNIORB_INCLUDES@
72 CORBA_LIBS=@OMNIORB_LIBS@
73
74 QT_CXXFLAGS=@QT_INCLUDES@ @QT_MT_INCLUDES@
75 CAS_CXXFLAGS=@CAS_CPPFLAGS@ @CAS_CXXFLAGS@
76
77 BOOST_CPPFLAGS=@BOOST_CPPFLAGS@
78 BOOST_LIBS=@BOOST_LIBS@
79
80 libSalomeTreeData_la_CPPFLAGS = \
81         $(QT_CXXFLAGS) \
82         $(CAS_CXXFLAGS) \
83         $(BOOST_CPPFLAGS) \
84         $(CORBA_CXXFLAGS) \
85         $(KERNEL_CXXFLAGS) \
86         -I$(srcdir)/../SalomeApp \
87         -I$(srcdir)/../LightApp  \
88         -I$(srcdir)/../CAM  \
89         -I$(srcdir)/../STD \
90         -I$(srcdir)/../ObjBrowser \
91         -I$(srcdir)/../SUIT \
92         -I$(srcdir)/../Qtx \
93         -I$(srcdir)/../GuiHelpers
94
95
96
97
98 libSalomeTreeData_la_LDFLAGS  = \
99         $(CORBA_LIBS) $(QT_LIBS)\
100         $(KERNEL_LDFLAGS) -lSalomeLifeCycleCORBA -lSalomeKernelHelpers \
101         $(top_builddir)/src/SalomeApp/libSalomeApp.la \
102         $(top_builddir)/src/LightApp/libLightApp.la \
103         $(top_builddir)/src/SUIT/libsuit.la \
104         $(top_builddir)/src/Qtx/libqtx.la \
105         $(top_builddir)/src/CAM/libCAM.la \
106         $(top_builddir)/src/STD/libstd.la \
107         $(top_builddir)/src/ObjBrowser/libObjBrowser.la