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/R&D)
21 include $(top_srcdir)/adm_local/unix/make_common_starter.am
23 # moc-files generation (using MOC)
27 # Qt form files generation (using UIC)
32 bin_PROGRAMS = qtester gtester
44 ui_GenericDialog.hxx \
49 GenericDialog_moc.cxx \
52 QDIALOG_TEMPLATES = __QDIALOG__.ui __QDIALOG__.hxx __QDIALOG__.cxx
53 GDIALOG_TEMPLATES = __GDIALOG__.ui __GDIALOG__.hxx __GDIALOG__.cxx
56 BUILT_SOURCES = $(UIC_FILES_QDIALOG) $(UIC_FILES_GDIALOG)
58 # extra distributed files
59 EXTRA_DIST += $(QDIALOG_TEMPLATES) $(GDIALOG_TEMPLATES) GenericDialog.ui README.txt dlgfactory.py
62 rm @builddir@/QDialogTest*
63 rm @builddir@/GDialogTest*
64 rm -f @builddir@/*_moc.cxx @builddir@/ui_*.hxx
66 QDialogTest.hxx QDialogTest.cxx QDialogTest.ui: $(QDIALOG_TEMPLATES) dlgfactory.py
67 $(srcdir)/dlgfactory.py -s -n QDialogTest -t qdialog
69 GDialogTest.hxx GDialogTest.cxx GDialogTest.ui : $(GDIALOG_TEMPLATES) dlgfactory.py
70 $(srcdir)/dlgfactory.py -s -n GDialogTest -t gdialog
72 QT_CXXFLAGS=@QT_INCLUDES@ @QT_MT_INCLUDES@
78 nodist_qtester_SOURCES = \
80 $(MOC_FILES_QDIALOG) \
94 nodist_gtester_SOURCES = \
96 $(MOC_FILES_GDIALOG) \