libmbca r27 - trunk/src



Author: kaijanma
Date: Wed Aug 20 08:54:08 2008
New Revision: 27
URL: http://svn.gnome.org/viewvc/libmbca?rev=27&view=rev

Log:
* use libtool's -version-info
* split external sources to convenience library
* use -Wextra -Werror for libmbca

Modified:
   trunk/src/Makefile.am

Modified: trunk/src/Makefile.am
==============================================================================
--- trunk/src/Makefile.am	(original)
+++ trunk/src/Makefile.am	Wed Aug 20 08:54:08 2008
@@ -17,9 +17,14 @@
 	-DPACKAGE_DATA_DIR=\""$(datadir)"\" \
 	$(LIBMBCA_CFLAGS)
 
-AM_CFLAGS =\
-	 -Wall\
-	 -g
+AM_CFLAGS = \
+	-Wall \
+	-g
+
+libmbca_la_CFLAGS = \
+	$(AM_CFLAGS) \
+	-Wextra \
+	-Werror 
 
 pkginclude_HEADERS = \
 	mbca_assistant.h \
@@ -28,6 +33,9 @@
 lib_LTLIBRARIES = \
 	libmbca.la
 
+noinst_LTLIBRARIES = \
+	libexternal.la
+
 libmbca_la_SOURCES = \
 	bluetooth_page.c\
 	callbacks.h \
@@ -46,7 +54,13 @@
 	mbca_serviceprovider_private.h \
 	serviceprovider_parser.c \
 	serviceprovider_parser.h \
-	summary_page.c \
+	summary_page.c 
+
+nodist_libmbca_la_SOURCES = \
+	mbca_type_builtins.c \
+	mbca_type_builtins.h
+
+libexternal_la_SOURCES = \
 	bluez-gnome/bluetooth-device-selection.c \
 	bluez-gnome/bluetooth-device-selection.h \
 	bluez-gnome/client.h \
@@ -57,16 +71,15 @@
 	gnome-panel/system-timezone.c \
 	gnome-panel/system-timezone.h
 
-nodist_libmbca_la_SOURCES = \
-	mbca_type_builtins.c \
-	mbca_type_builtins.h
-
 BUILT_SOURCES = mbca_type_builtins.c mbca_type_builtins.h
 CLEANFILES = mbca_type_builtins.c mbca_type_builtins.h
 
 libmbca_la_LIBADD = \
+	libexternal.la \
 	$(LIBMBCA_LIBS)
 
+libmbca_la_LDFLAGS = -version-info @LIBMBCA_VERSION_INFO@
+
 noinst_PROGRAMS = \
 	test_mbca
 



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