[rygel/config: 5/6] Put Configuration into a separate static library.



commit 60d333ec1bb5ab1a52f31446b6a37203adeec7b4
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Fri Apr 17 16:40:24 2009 +0300

    Put Configuration into a separate static library.
    
    So that apps in other directories can easily access/link to it.
---
 src/rygel/Makefile.am |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/rygel/Makefile.am b/src/rygel/Makefile.am
index bc1be81..dacb529 100644
--- a/src/rygel/Makefile.am
+++ b/src/rygel/Makefile.am
@@ -59,7 +59,6 @@ rygel_SOURCES = $(VAPI_SOURCE_FILES) \
 		rygel-media-server.vala \
 		rygel-media-server-factory.c \
 		rygel-media-server-factory.vala \
-		rygel-configuration.c \
 		rygel-main.c \
 		rygel-main.vala \
 		rygel-content-directory.c \
@@ -105,7 +104,8 @@ rygel_LDADD = $(LIBGUPNP_LIBS) \
 	      $(GIO_LIBS) \
 	      $(GEE_LIBS) \
 	      $(UUID_LIBS) \
-	      $(LIBSOUP_LIBS)
+	      $(LIBSOUP_LIBS) \
+	      librygel-configuration.a
 rygel_LDFLAGS = -export-dynamic
 
 VAPI_FILES = rygel-1.0.vapi
@@ -145,6 +145,10 @@ rygel-1.0.vapi: $(VAPI_SOURCE_FILES)
 	--pkg gee-1.0 --pkg gstreamer-0.10 \
 	$^
 
+noinst_LIBRARIES = librygel-configuration.a
+
+librygel_configuration_a_SOURCES = rygel-configuration.c
+
 CLEANFILES = $(BUILT_SOURCES)
 MAINTAINERCLEANFILES = Makefile.in
 EXTRA_DIST = cstuff.vapi $(VAPI_FILES) $(VAPI_SOURCE_FILES)



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