summaryrefslogtreecommitdiffstats
path: root/xembed/tests/Makefile.am
diff options
context:
space:
mode:
authorVincent Untz <vuntz@gnome.org>2012-03-02 15:36:01 +0100
committerVincent Untz <vuntz@gnome.org>2012-03-02 15:36:01 +0100
commit94db110fab0dcea1f8f87efce6ce1be15a67dfc7 (patch)
tree5e04297a2a3a811f9097de50160c4533887a141e /xembed/tests/Makefile.am
parenta988ef565a037a39aecca754a2f9d2f43e5c5131 (diff)
parent23d7d60971b8428429f120cbf77f3fcf70304b67 (diff)
downloadxdg-specs-94db110fab0dcea1f8f87efce6ce1be15a67dfc7.tar.xz
xembed: Merge import from CVS
Diffstat (limited to 'xembed/tests/Makefile.am')
-rw-r--r--xembed/tests/Makefile.am39
1 files changed, 39 insertions, 0 deletions
diff --git a/xembed/tests/Makefile.am b/xembed/tests/Makefile.am
new file mode 100644
index 0000000..ecce952
--- /dev/null
+++ b/xembed/tests/Makefile.am
@@ -0,0 +1,39 @@
+noinst_PROGRAMS = qt-client qt-embedder gtk-client gtk-embedder
+
+INCLUDES = @all_includes@ @GTK_CFLAGS@ -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED
+
+#
+# Qt Examples
+#
+
+qt_libs = $(LIB_QT) $(LIB_KDECORE) $(LIB_KDEUI) $(LIB_KFILE) $(LIBSOCKET)
+
+BUILT_SOURCES=moc_qt-client.cpp moc_qt-embedder.cpp moc_qt-common.cpp
+
+moc_qt-client.cpp: qt-client.h
+ $(MOC) $< -o $@
+
+moc_qt-embedder.cpp: qt-embedder.h
+ $(MOC) $< -o $@
+
+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-common.cpp qt-common.h
+qt_embedder_LDADD = $(qt_libs) moc_qt-embedder.$(OBJEXT) moc_qt-common.$(OBJEXT)
+
+CLEANFILES = moc_qt-client.cpp moc_qt-embedder.cpp moc_qt-common.cpp
+
+#
+# GTK+ examples
+#
+
+gtk_client_SOURCES = gtk-client.c gtk-common.c gtk-common.h
+gtk_client_LDADD = $(GTK_LIBS)
+
+gtk_embedder_SOURCES = gtk-embedder.c gtk-common.c gtk-common.h
+gtk_embedder_LDADD = $(GTK_LIBS)
+