[35302b] | 1 | # Below is all for the User Interface
|
---|
| 2 |
|
---|
| 3 | if CONDQWT
|
---|
| 4 | QWTSOURCE = \
|
---|
| 5 | UIElements/Views/Qt4/Plotting/QScrollZoomer/ScrollBar.cpp \
|
---|
| 6 | UIElements/Views/Qt4/Plotting/QScrollZoomer/ScrollZoomer.cpp \
|
---|
| 7 | UIElements/Views/Qt4/Plotting/XMLParser/QSeisXMLParser_plotcurve.cpp \
|
---|
| 8 | UIElements/Views/Qt4/Plotting/XMLParser/QSeisXMLParser_plottype.cpp \
|
---|
| 9 | UIElements/Views/Qt4/Plotting/XMLParser/QSeisXMLParser.cpp \
|
---|
| 10 | UIElements/Views/Qt4/Plotting/QListWidgetCurveItem.cpp \
|
---|
| 11 | UIElements/Views/Qt4/Plotting/QSeisCurveRegistry.cpp \
|
---|
| 12 | UIElements/Views/Qt4/Plotting/QSeisData.cpp \
|
---|
| 13 | UIElements/Views/Qt4/Plotting/QSeisPageRegistry.cpp \
|
---|
| 14 | UIElements/Views/Qt4/Plotting/QSeisPlot.cpp \
|
---|
| 15 | UIElements/Views/Qt4/Plotting/QSeisPlotCurve.cpp \
|
---|
| 16 | UIElements/Views/Qt4/Plotting/QSeisPlotPage.cpp
|
---|
| 17 |
|
---|
| 18 | QWTMOC_HEADER = \
|
---|
| 19 | UIElements/Views/Qt4/Plotting/QScrollZoomer/ScrollBar.hpp \
|
---|
| 20 | UIElements/Views/Qt4/Plotting/QScrollZoomer/ScrollZoomer.hpp \
|
---|
| 21 | UIElements/Views/Qt4/Plotting/XMLParser/QSeisXMLParser_plotcurve.hpp \
|
---|
| 22 | UIElements/Views/Qt4/Plotting/XMLParser/QSeisXMLParser_plottype.hpp \
|
---|
| 23 | UIElements/Views/Qt4/Plotting/XMLParser/QSeisXMLParser.hpp \
|
---|
| 24 | UIElements/Views/Qt4/Plotting/QListWidgetCurveItem.hpp \
|
---|
| 25 | UIElements/Views/Qt4/Plotting/QSeisCurveRegistry.hpp \
|
---|
| 26 | UIElements/Views/Qt4/Plotting/QSeisData.hpp \
|
---|
| 27 | UIElements/Views/Qt4/Plotting/QSeisPageRegistry.hpp \
|
---|
| 28 | UIElements/Views/Qt4/Plotting/QSeisPlot.hpp \
|
---|
| 29 | UIElements/Views/Qt4/Plotting/QSeisPlotCurve.hpp \
|
---|
| 30 | UIElements/Views/Qt4/Plotting/QSeisPlotPage.hpp
|
---|
| 31 |
|
---|
[6497a3] | 32 | QWTHEADER = \
|
---|
[35302b] | 33 | $(QWTMOC_HEADER)
|
---|
| 34 |
|
---|
| 35 | if CONDQTGUI
|
---|
| 36 | lib_LTLIBRARIES += libMolecuilderQwtUI.la
|
---|
| 37 |
|
---|
| 38 | libMolecuilderQwtUI_la_includedir = $(includedir)/MoleCuilder/
|
---|
[3b35e7] | 39 | libMolecuilderQwtUI_la_CPPFLAGS = $(AM_CPPFLAGS) ${QT_CFLAGS} ${GLU_CXXFLAGS} ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS} ${JobMarket_CFLAGS} $(mol_ac_qwt_cxxflags)
|
---|
[35302b] | 40 | 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)
|
---|
| 41 |
|
---|
| 42 | libMolecuilderQwtUI_la_LIBADD = \
|
---|
| 43 | $(mol_ac_qwt_libs)
|
---|
| 44 |
|
---|
| 45 | nobase_libMolecuilderQwtUI_la_include_HEADERS = ${QWTHEADER}
|
---|
| 46 | libMolecuilderQwtUI_la_SOURCES = ${QWTSOURCE}
|
---|
| 47 | nodist_libMolecuilderQwtUI_la_SOURCES =
|
---|
| 48 | libMolecuilderQwtUI_la_LDFLAGS += -version-info $(MOLECUILDER_SO_VERSION)
|
---|
| 49 | #libMolecuilderQwtUI_libincludedir = $(libdir)/MoleCuilder/include
|
---|
| 50 | #nodist_libMolecuilderQwtUI_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
|
---|
| 51 |
|
---|
| 52 |
|
---|
| 53 | nodist_libMolecuilderQwtUI_la_SOURCES += allqwtmocs.moc.cpp
|
---|
| 54 |
|
---|
| 55 | #Rules needed for Qt4
|
---|
| 56 | # UI-Files are scattered throughout several subdirectories
|
---|
| 57 | # Therfore `%'-rules do not seem to work
|
---|
| 58 | #Quick fix to get it done otherwise
|
---|
| 59 | allqwtmocs.moc.cpp: ${QWTMOC_HEADER}
|
---|
| 60 | echo "" > allqwtmocs.moc.cpp;\
|
---|
| 61 | list='${QWTMOC_HEADER}'; for header in $$list; do \
|
---|
| 62 | echo "Making mocfile for $$header"; \
|
---|
| 63 | target=`basename $$header | sed "s/\(.*\)\..*/\1.moc.cpp/"`;\
|
---|
| 64 | $(QT_MOC) $(srcdir)/$$header -o $$target \
|
---|
| 65 | || eval $$failcom; \
|
---|
| 66 | echo "#include \"$$target\"" >> allqwtmocs.moc.cpp; \
|
---|
| 67 | done;
|
---|
| 68 |
|
---|
| 69 | MOSTLYCLEANFILES += \
|
---|
| 70 | *.moc.cpp \
|
---|
| 71 | moc_*.cpp \
|
---|
| 72 | ui_*.h
|
---|
| 73 |
|
---|
| 74 | endif
|
---|
| 75 | endif
|
---|