summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2012-11-07 15:34:16 +0100
committerChristophe Fergeau <cfergeau@redhat.com>2012-11-07 15:34:16 +0100
commit3d0491edccdf11bb28b05e51d1deca84ee0d6b3b (patch)
treed25e6c8b98db41d7465766c3fdc12a5511435fba /examples
parent6ca2d54c00460b5acff6c8c7ecd7a2adc2c601e7 (diff)
Add test program
Diffstat (limited to 'examples')
-rw-r--r--examples/Makefile.am15
-rw-r--r--examples/sync-test.c0
2 files changed, 15 insertions, 0 deletions
diff --git a/examples/Makefile.am b/examples/Makefile.am
new file mode 100644
index 0000000..98c4dc7
--- /dev/null
+++ b/examples/Makefile.am
@@ -0,0 +1,15 @@
+noinst_PROGRAMS = sync-test
+
+EXTRA_DIST =
+
+sync_test_CFLAGS = \
+ $(WARNINGFLAGS_C) \
+ $(GLIB_CFLAGS) \
+ $(LIBREST_CFLAGS) \
+ -I$(top_srcdir)
+sync_test_SOURCES = \
+ sync-test.c
+sync_test_LDADD = \
+ ../libvirt-glib/libvirt-glib-1.0.la \
+ $(LIBVIRT_LIBS) \
+ $(GLIB2_LIBS)
diff --git a/examples/sync-test.c b/examples/sync-test.c
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/examples/sync-test.c