summaryrefslogtreecommitdiffstats
path: root/xembed/tests/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'xembed/tests/Makefile.am')
-rw-r--r--xembed/tests/Makefile.am23
1 files changed, 13 insertions, 10 deletions
diff --git a/xembed/tests/Makefile.am b/xembed/tests/Makefile.am
index c33cdf2..ecce952 100644
--- a/xembed/tests/Makefile.am
+++ b/xembed/tests/Makefile.am
@@ -8,29 +8,32 @@ INCLUDES = @all_includes@ @GTK_CFLAGS@ -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPR
qt_libs = $(LIB_QT) $(LIB_KDECORE) $(LIB_KDEUI) $(LIB_KFILE) $(LIBSOCKET)
-BUILT_SOURCES=moc_qt-client.cc moc_qt-embedder.cc
+BUILT_SOURCES=moc_qt-client.cpp moc_qt-embedder.cpp moc_qt-common.cpp
-moc_qt-client.cc: qt-client.h
+moc_qt-client.cpp: qt-client.h
$(MOC) $< -o $@
-moc_qt-embedder.cc: qt-embedder.h
+moc_qt-embedder.cpp: qt-embedder.h
$(MOC) $< -o $@
-qt_client_SOURCES = qt-client.cpp qt-client.h
-qt_client_LDADD = $(qt_libs) moc_qt-client.$(OBJEXT)
+moc_qt-common.cpp: qt-common.h
+ $(MOC) $< -o $@
+
+qt_client_SOURCES = qt-client.cpp qt-client.h qt-common.cpp qt-common.h
+qt_client_LDADD = $(qt_libs) moc_qt-client.$(OBJEXT) moc_qt-common.$(OBJEXT)
-qt_embedder_SOURCES = qt-embedder.cpp qt-embedder.h
-qt_embedder_LDADD = $(qt_libs) moc_qt-embedder.$(OBJEXT)
+qt_embedder_SOURCES = qt-embedder.cpp qt-embedder.h qt-common.cpp qt-common.h
+qt_embedder_LDADD = $(qt_libs) moc_qt-embedder.$(OBJEXT) moc_qt-common.$(OBJEXT)
-CLEANFILES = moc_qt-client.cc moc_qt-embedder.cc
+CLEANFILES = moc_qt-client.cpp moc_qt-embedder.cpp moc_qt-common.cpp
#
# GTK+ examples
#
-gtk_client_SOURCES = gtk-client.c
+gtk_client_SOURCES = gtk-client.c gtk-common.c gtk-common.h
gtk_client_LDADD = $(GTK_LIBS)
-gtk_embedder_SOURCES = gtk-embedder.c
+gtk_embedder_SOURCES = gtk-embedder.c gtk-common.c gtk-common.h
gtk_embedder_LDADD = $(GTK_LIBS)