# Below is all for the User Interface if CONDQWT QWTSOURCE = \ UIElements/Views/Qt4/Plotting/QScrollZoomer/ScrollBar.cpp \ UIElements/Views/Qt4/Plotting/QScrollZoomer/ScrollZoomer.cpp \ UIElements/Views/Qt4/Plotting/XMLParser/QSeisXMLParser_plotcurve.cpp \ UIElements/Views/Qt4/Plotting/XMLParser/QSeisXMLParser_plottype.cpp \ UIElements/Views/Qt4/Plotting/XMLParser/QSeisXMLParser.cpp \ UIElements/Views/Qt4/Plotting/QListWidgetCurveItem.cpp \ UIElements/Views/Qt4/Plotting/QSeisCurveRegistry.cpp \ UIElements/Views/Qt4/Plotting/QSeisData.cpp \ UIElements/Views/Qt4/Plotting/QSeisPageRegistry.cpp \ UIElements/Views/Qt4/Plotting/QSeisPlot.cpp \ UIElements/Views/Qt4/Plotting/QSeisPlotCurve.cpp \ UIElements/Views/Qt4/Plotting/QSeisPlotPage.cpp QWTMOC_HEADER = \ UIElements/Views/Qt4/Plotting/QScrollZoomer/ScrollBar.hpp \ UIElements/Views/Qt4/Plotting/QScrollZoomer/ScrollZoomer.hpp \ UIElements/Views/Qt4/Plotting/XMLParser/QSeisXMLParser_plotcurve.hpp \ UIElements/Views/Qt4/Plotting/XMLParser/QSeisXMLParser_plottype.hpp \ UIElements/Views/Qt4/Plotting/XMLParser/QSeisXMLParser.hpp \ UIElements/Views/Qt4/Plotting/QListWidgetCurveItem.hpp \ UIElements/Views/Qt4/Plotting/QSeisCurveRegistry.hpp \ UIElements/Views/Qt4/Plotting/QSeisData.hpp \ UIElements/Views/Qt4/Plotting/QSeisPageRegistry.hpp \ UIElements/Views/Qt4/Plotting/QSeisPlot.hpp \ UIElements/Views/Qt4/Plotting/QSeisPlotCurve.hpp \ UIElements/Views/Qt4/Plotting/QSeisPlotPage.hpp QWT_HEADER = \ $(QWTMOC_HEADER) if CONDQTGUI lib_LTLIBRARIES += libMolecuilderQwtUI.la libMolecuilderQwtUI_la_includedir = $(includedir)/MoleCuilder/ libMolecuilderQwtUI_la_CPPFLAGS = ${QT_CFLAGS} ${GLU_CXXFLAGS} ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS} ${JobMarket_CFLAGS} $(mol_ac_qwt_cxxflags) libMolecuilderQwtUI_la_LDFLAGS = $(AM_LDFLAGS) $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_RANDOM_LDFLAGS) $(BOOST_SYSTEM_LDFLAGS) $(BOOST_THREAD_LDFLAGS) $(mol_ac_qwt_ldflags) libMolecuilderQwtUI_la_LIBADD = \ $(mol_ac_qwt_libs) nobase_libMolecuilderQwtUI_la_include_HEADERS = ${QWTHEADER} libMolecuilderQwtUI_la_SOURCES = ${QWTSOURCE} nodist_libMolecuilderQwtUI_la_SOURCES = libMolecuilderQwtUI_la_LDFLAGS += -version-info $(MOLECUILDER_SO_VERSION) #libMolecuilderQwtUI_libincludedir = $(libdir)/MoleCuilder/include #nodist_libMolecuilderQwtUI_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h nodist_libMolecuilderQwtUI_la_SOURCES += allqwtmocs.moc.cpp #Rules needed for Qt4 # UI-Files are scattered throughout several subdirectories # Therfore `%'-rules do not seem to work #Quick fix to get it done otherwise allqwtmocs.moc.cpp: ${QWTMOC_HEADER} echo "" > allqwtmocs.moc.cpp;\ list='${QWTMOC_HEADER}'; for header in $$list; do \ echo "Making mocfile for $$header"; \ target=`basename $$header | sed "s/\(.*\)\..*/\1.moc.cpp/"`;\ $(QT_MOC) $(srcdir)/$$header -o $$target \ || eval $$failcom; \ echo "#include \"$$target\"" >> allqwtmocs.moc.cpp; \ done; MOSTLYCLEANFILES += \ *.moc.cpp \ moc_*.cpp \ ui_*.h endif endif