[gnome-bluetooth] Move the pin handling code into a new library, libwizard



commit 8939e96d3802bcad42d78ab731615c302dc248ed
Author: Joshua Lock <josh linux intel com>
Date:   Thu Sep 24 17:11:18 2009 +0100

    Move the pin handling code into a new library, libwizard
    
    https://bugzilla.gnome.org/show_bug.cgi?id=596201

 wizard/Makefile.am |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/wizard/Makefile.am b/wizard/Makefile.am
index 3d07b47..fc92c5e 100644
--- a/wizard/Makefile.am
+++ b/wizard/Makefile.am
@@ -1,9 +1,15 @@
+noinst_LTLIBRARIES = libwizard.la
+
+libwizard_la_SOURCES = pin.c pin.h
+
+libwizard_la_LIBADD = $(WIZARD_LIBS)
+libwizard_la_LDFLAGS = -no-undefined $(AM_LDFLAGS)
 
 bin_PROGRAMS = bluetooth-wizard
 
-bluetooth_wizard_SOURCES = main.c pin.c pin.h
+bluetooth_wizard_SOURCES = main.c
 
-bluetooth_wizard_LDADD = $(top_builddir)/lib/libgnome-bluetooth.la $(top_builddir)/lib/libcommon.la $(WIZARD_LIBS)
+bluetooth_wizard_LDADD = $(top_builddir)/lib/libgnome-bluetooth.la $(top_builddir)/lib/libcommon.la $(top_builddir)/wizard/libwizard.la $(WIZARD_LIBS)
 
 AM_CFLAGS = $(WIZARD_CFLAGS) $(WARN_CFLAGS) $(DISABLE_DEPRECATED) -DPKGDATADIR="\"$(pkgdatadir)\""
 



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