[rygel] tests: Simpler (hopefully) build rules



commit 0cdc2bf2c31d6eeb75a9d13c8191867dbb4b7cea
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Tue Mar 16 20:17:04 2010 +0200

    tests: Simpler (hopefully) build rules
    
    Use of internal libs seems like a complicated approach than it first
    seems, better just use more symlinks (with different names) instead.

 tests/Makefile.am                            |   26 ++++++++------------------
 tests/rygel-http-response_live-response.vala |    1 +
 tests/rygel-state-machine_live-response.vala |    1 +
 3 files changed, 10 insertions(+), 18 deletions(-)
---
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 65b4c5b..f62154a 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -33,23 +33,13 @@ TESTS = $(check_PROGRAMS)
 rygel_http_item_uri_test_SOURCES = rygel-http-item-uri-test.vala \
                                    rygel-http-item-uri.vala
 
-noinst_LTLIBRARIES = librygel-http-response.la
-librygel_http_response_la_SOURCES = rygel-http-response.vala \
-				    rygel-http-seek.vala \
-				    rygel-state-machine.vala \
-				    rygel-gst-utils.vala
-librygel_http_response_la_VALAFLAGS = $(AM_VALAFLAGS) \
-				     --header rygel-http-response-external.h \
-				     -h rygel-http-response-internal.h \
-				     --internal-vapi rygel-http-response.vapi
-
-rygel_http_response_test_SOURCES = rygel-http-response-test.vala
-rygel_http_response_test_VALAFLAGS = $(AM_VALAFLAGS) --vapidir $(srcdir) \
-				     --pkg rygel-http-response
-rygel_http_response_test_LDADD = $(LDADD) librygel-http-response.la
+rygel_http_response_test_SOURCES = rygel-http-response-test.vala \
+				   rygel-http-response.vala \
+				   rygel-state-machine.vala
 
 rygel_live_response_test_SOURCES = rygel-live-response-test.vala \
-				   rygel-live-response.vala
-rygel_live_response_test_VALAFLAGS = $(AM_VALAFLAGS) --vapidir $(srcdir) \
-				     --pkg rygel-http-response
-rygel_live_response_test_LDADD = $(LDADD) librygel-http-response.la
+				   rygel-live-response.vala \
+                                   rygel-http-response_live-response.vala \
+				   rygel-state-machine_live-response.vala \
+				   rygel-http-seek.vala \
+				   rygel-gst-utils.vala
diff --git a/tests/rygel-http-response_live-response.vala b/tests/rygel-http-response_live-response.vala
new file mode 120000
index 0000000..e23cfdf
--- /dev/null
+++ b/tests/rygel-http-response_live-response.vala
@@ -0,0 +1 @@
+../src/rygel/rygel-http-response.vala
\ No newline at end of file
diff --git a/tests/rygel-state-machine_live-response.vala b/tests/rygel-state-machine_live-response.vala
new file mode 120000
index 0000000..5063d68
--- /dev/null
+++ b/tests/rygel-state-machine_live-response.vala
@@ -0,0 +1 @@
+../src/rygel/rygel-state-machine.vala
\ No newline at end of file



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]