1 # Copyright (C) 2010-2012 CEA/DEN, EDF R&D, OPEN CASCADE
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.
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.
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
17 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
19 # Author : Guillaume Boulant (EDF)
22 include $(top_srcdir)/adm_local/unix/make_common_starter.am
24 # moc-files generation
29 rm -f @builddir@/*_moc.cxx
31 rm -f @builddir@/*_moc.cxx @builddir@/ui_*.h
33 # qt forms files generation (uic)
38 CORBA_CXXFLAGS=@OMNIORB_CXXFLAGS@ @OMNIORB_INCLUDES@
39 CORBA_LIBS=@OMNIORB_LIBS@
40 QT_CXXFLAGS=@QT_INCLUDES@ @QT_MT_INCLUDES@
46 -I$(top_srcdir)/src/GuiHelpers \
47 -I$(top_srcdir)/src/TreeData \
51 $(CORBA_LIBS) $(QT_LIBS) $(VTK_LIBS) \
52 $(top_builddir)/src/TreeData/libSalomeTreeData.la \
53 $(top_builddir)/src/GuiHelpers/libSalomeGuiHelpers.la \
54 $(top_builddir)/src/SUIT/libsuit.la \
55 $(top_builddir)/src/CAM/libCAM.la \
56 $(top_builddir)/src/Plot2d/libPlot2d.la \
57 $(top_builddir)/src/LightApp/libLightApp.la \
58 $(top_builddir)/src/SalomeApp/libSalomeApp.la \
59 $(KERNEL_LDFLAGS) -lSalomeLifeCycleCORBA -lSalomeKernelHelpers @LIBXML_LIBS@
62 bin_PROGRAMS = TreeData_guitester TreeData_tester
70 BUILT_SOURCES = $(UIC_FILES)
72 nodist_TreeData_guitester_SOURCES = $(MOC_FILES_HXX) $(UIC_FILES)
74 TreeData_guitester_SOURCES = \
83 TreeData_guitester_CPPFLAGS = \
86 TreeData_guitester_LDFLAGS = \
89 TreeData_tester_SOURCES = \
93 TreeData_tester_CPPFLAGS = \
96 TreeData_tester_LDFLAGS = \
100 testdir = $(salomeresdir)/testdata
104 EXTRA_DIST+=$(test_DATA)