summaryrefslogtreecommitdiff
path: root/qt
diff options
context:
space:
mode:
Diffstat (limited to 'qt')
-rw-r--r--qt/Makefile.am11
1 files changed, 10 insertions, 1 deletions
diff --git a/qt/Makefile.am b/qt/Makefile.am
index 80d0a9b..e6f7a08 100644
--- a/qt/Makefile.am
+++ b/qt/Makefile.am
@@ -10,7 +10,16 @@ dbusinclude_HEADERS= \
libdbus_qt_1_la_SOURCES = \
dbus-qthread.cpp message.cpp connection.cpp \
- integrator.cpp server.cpp
+ integrator.cpp server.cpp integrator.h
+
+connection.cpp: connection.moc
+integrator.cpp: integrator.moc
+server.cpp: server.moc
+
+CLEANFILES=connection.moc integrator.moc server.moc
libdbus_qt_1_la_LIBADD= $(DBUS_QT_LIBS) $(top_builddir)/dbus/libdbus-1.la
libdbus_qt_1_la_LDFLAGS= -version-info 1:0
+
+%.moc: %.h
+ $(QT_MOC) $< > $@