source: src/UIElements/Views/Qt4/Plotting/Makefile.am@ 88bb6b

Last change on this file since 88bb6b was 6497a3, checked in by Frederik Heber <heber@…>, 12 years ago

DISTFIX: QwtPlotting had extra _ in QWTHEADER declaration.

  • this prevented distribution of headers.
  • Property mode set to 100644
File size: 3.0 KB
Line 
1# Below is all for the User Interface
2
3if CONDQWT
4QWTSOURCE = \
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
18QWTMOC_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
32QWTHEADER = \
33 $(QWTMOC_HEADER)
34
35if CONDQTGUI
36lib_LTLIBRARIES += libMolecuilderQwtUI.la
37
38libMolecuilderQwtUI_la_includedir = $(includedir)/MoleCuilder/
39libMolecuilderQwtUI_la_CPPFLAGS = ${QT_CFLAGS} ${GLU_CXXFLAGS} ${BOOST_CPPFLAGS} ${CodePatterns_CFLAGS} ${JobMarket_CFLAGS} $(mol_ac_qwt_cxxflags)
40libMolecuilderQwtUI_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
42libMolecuilderQwtUI_la_LIBADD = \
43 $(mol_ac_qwt_libs)
44
45nobase_libMolecuilderQwtUI_la_include_HEADERS = ${QWTHEADER}
46libMolecuilderQwtUI_la_SOURCES = ${QWTSOURCE}
47nodist_libMolecuilderQwtUI_la_SOURCES =
48libMolecuilderQwtUI_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
53nodist_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
59allqwtmocs.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
69MOSTLYCLEANFILES += \
70 *.moc.cpp \
71 moc_*.cpp \
72 ui_*.h
73
74endif
75endif
Note: See TracBrowser for help on using the repository browser.