1SUFFIXES = .hpp .cpp _moc.cpp _qrc.qrc 2 3QT_CXXFLAGS = @QT_CXXFLAGS@ 4QT_LIBS = @QT_LIBS@ 5MOC = @QT_MOC@ 6UIC = @QT_UIC@ 7RCC = @QT_RCC@ 8 9 10projectM_qt_qtheaders = qprojectm_mainwindow.hpp \ 11 qpresetfiledialog.hpp \ 12 qplaylistfiledialog.hpp \ 13 qplaylistmodel.hpp \ 14 qprojectmconfigdialog.hpp \ 15 qplaylisttableview.hpp \ 16 qpresettextedit.hpp \ 17 qpreseteditordialog.hpp \ 18 qprojectm.hpp \ 19 qprojectmwidget.hpp 20 21nodist_projectM_qt_moc_sources = $(projectM_qt_qtheaders:.hpp=_moc.cpp) 22 23.hpp_moc.cpp: 24 $(MOC) -o$@ $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $< 25 26ui_qprojectm_mainwindow.h: qprojectm_mainwindow.ui 27 $(UIC) -o $@ $< 28 29ui_qpreseteditordialog.h: qpreseteditordialog.ui 30 $(UIC) -o $@ $< 31 32ui_qprojectmconfigdialog.h: qprojectmconfigdialog.ui 33 $(UIC) -o $@ $< 34 35application_qrc.cpp: application.qrc 36 $(RCC) -o $@ $< 37 38 39BUILT_SOURCES = \ 40 ui_qprojectm_mainwindow.h \ 41 ui_qpreseteditordialog.h \ 42 ui_qprojectmconfigdialog.h 43 44noinst_LIBRARIES = libprojectM_qt.a 45 46libprojectM_qt_a_SOURCES = \ 47 qprojectm_mainwindow.cpp \ 48 configfile.hpp configfile.cpp \ 49 qplaylistfiledialog.cpp \ 50 qplaylistmodel.cpp \ 51 qprojectmconfigdialog.cpp \ 52 qpresettextedit.cpp \ 53 qpreseteditordialog.cpp \ 54 qprojectm_mainwindow.ui \ 55 qpreseteditordialog.ui \ 56 qprojectmconfigdialog.ui \ 57 $(projectM_qt_qtheaders) \ 58 qxmlplaylisthandler.hpp \ 59 nullable.hpp \ 60 application.qrc \ 61 images/* 62 63nodist_libprojectM_qt_a_SOURCES = \ 64 application_qrc.cpp \ 65 $(nodist_projectM_qt_moc_sources) 66 67AM_CPPFLAGS = \ 68 -include $(top_builddir)/config.h \ 69 -DSYSCONFDIR=\""$(sysconfdir)"\" \ 70 -I${top_srcdir}/src/libprojectM \ 71 -I${top_srcdir}/src/libprojectM/Renderer \ 72 ${QT_CXXFLAGS} \ 73 -fPIC 74 75AM_CFLAGS = ${my_CFLAGS} \ 76 -fvisibility=hidden \ 77 -ffunction-sections \ 78 -fdata-sections 79 80CLEANFILES = \ 81 application_qrc.cpp \ 82 ${BUILT_SOURCES} \ 83 ${nodist_projectM_qt_moc_sources} 84