summaryrefslogtreecommitdiffstats
path: root/xembed/tests/Makefile.am
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2002-04-21 13:02:50 +0000
committerOwen Taylor <otaylor@redhat.com>2002-04-21 13:02:50 +0000
commit0384881729afeaa1ff5c6ef1282b1222ebfd7179 (patch)
tree6bb052bd461c4c59514ef1c9f6decf3c7917b6cc /xembed/tests/Makefile.am
parent19ceb4ed34fd0368294ed42f72e95dfaac4b107e (diff)
downloadxdg-specs-0384881729afeaa1ff5c6ef1282b1222ebfd7179.tar.xz
Sun Apr 21 09:20:30 2002 Owen Taylor <otaylor@redhat.com>
* Reorganize, add test cases in tests/
Diffstat (limited to 'xembed/tests/Makefile.am')
-rw-r--r--xembed/tests/Makefile.am36
1 files changed, 36 insertions, 0 deletions
diff --git a/xembed/tests/Makefile.am b/xembed/tests/Makefile.am
new file mode 100644
index 0000000..c33cdf2
--- /dev/null
+++ b/xembed/tests/Makefile.am
@@ -0,0 +1,36 @@
+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.cc moc_qt-embedder.cc
+
+moc_qt-client.cc: qt-client.h
+ $(MOC) $< -o $@
+
+moc_qt-embedder.cc: qt-embedder.h
+ $(MOC) $< -o $@
+
+qt_client_SOURCES = qt-client.cpp qt-client.h
+qt_client_LDADD = $(qt_libs) moc_qt-client.$(OBJEXT)
+
+qt_embedder_SOURCES = qt-embedder.cpp qt-embedder.h
+qt_embedder_LDADD = $(qt_libs) moc_qt-embedder.$(OBJEXT)
+
+CLEANFILES = moc_qt-client.cc moc_qt-embedder.cc
+
+#
+# GTK+ examples
+#
+
+gtk_client_SOURCES = gtk-client.c
+gtk_client_LDADD = $(GTK_LIBS)
+
+gtk_embedder_SOURCES = gtk-embedder.c
+gtk_embedder_LDADD = $(GTK_LIBS)
+