summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJussi Kukkonen <jku@openedhand.com>2008-06-18 09:44:24 +0000
committerJussi Kukkonen <jku@openedhand.com>2008-06-18 09:44:24 +0000
commit7b8e0d2871b3b10e92aa19c79e753ff01ab6836d (patch)
tree8d02c565ca48e629b3d509c3c4fc558e2f17628b /tests
parentff57143014dfea04c54dd4d6574e6b644c6fdaa2 (diff)
downloadgupnp-vala-7b8e0d2871b3b10e92aa19c79e753ff01ab6836d.tar.gz
* Makefile.am:
* configure.ac: * tests/Makefile.am: Update gssdp, gupnp and gupnp-av dependency versions. Make gupnp, gupnp-ui and gupnp-av optional dependencies (building without them will not build the respective bindings). git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/bindings/gupnp-vala@1103 d8cb91d7-bff9-0310-92b9-80b65e4482b2
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am17
1 files changed, 12 insertions, 5 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 7c658be..03382bc 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -2,11 +2,18 @@ include $(top_srcdir)/Makefile.decls
all: Makefile all-tests
-gssdp-tests: test-publisher test-browser
-gupnp-tests: server-test proxy-test browsing-test introspection-test
-gupnp-ui-tests: device-view-test
-gupnp-av-tests: search-criteria-test
-all-tests: gssdp-tests gupnp-tests gupnp-ui-tests gupnp-av-tests
+GSSDP_TESTS = test-publisher test-browser
+if WITH_GUPNP
+GUPNP_TESTS = server-test proxy-test browsing-test introspection-test
+endif
+if WITH_GUPNP_UI
+GUPNP_UI_TESTS = device-view-test
+endif
+if WITH_GUPNP_AV
+GUPNP_AV_TESTS = search-criteria-test
+endif
+
+all-tests: $(GSSDP_TESTS) $(GUPNP_TESTS) $(GUPNP_UI_TESTS) $(GUPNP_AV_TESTS)
test-publisher: test-publisher.vala
$(QUIET_VALAC)$(VALAC) \