From: Kaj-Michael Lang Date: Wed, 26 Sep 2007 12:12:36 +0000 (+0300) Subject: Build the gps widgets as a shared lib X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b30cee8fdc921608a8d7468a9f4fb03caef0256;p=mapper Build the gps widgets as a shared lib --- diff --git a/src/Makefile.am b/src/Makefile.am index b690f4b..13abe4a 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -29,7 +29,7 @@ mapper_CFLAGS = $(GLIBGTK_CFLAGS) $(OSSO_CFLAGS) $(HILDON_CFLAGS) $(HILDONFM_CFL mapper_LDADD = $(GLIBGTK_LIBS) $(OSSO_LIBS) $(HILDON_LIBS) $(HILDONFM_LIBS) \ $(GNOME_VFS_LIBS) $(GCONF_LIBS) $(LIBXML2_LIBS) $(GSTREAMER_LIBS) $(ESPEAK_LIBS) \ - $(SQLITE_LIBS) $(LIBCURL_LIBS) $(DBUS_GLIB_LIBS) $(BLUEZ_LIBS) -lm + $(SQLITE_LIBS) $(LIBCURL_LIBS) $(DBUS_GLIB_LIBS) $(BLUEZ_LIBS) -lm libgtkgps.la mapper_SOURCES = utils.c \ db.c file.c \ @@ -72,6 +72,16 @@ osm2db_LDADD = $(EXPAT_LIBS) $(SQLITE_LIBS) $(GLIBGTK_LIBS) -lm osm2db_SOURCES = latlon.c osm.c +lib_LTLIBRARIES = libgtkgps.la + +libgtkgps_la_SOURCES = gtkgps.c + +libgtkgps_la_CFLAGS = $(GLIBGTK_CFLAGS) $(defines) +libgtkgps_la_LIBADD = $(GLIBGTK_LIBS) +libgtkgps_la_LDFLAGS = -lm -no-undefined + +# libgtkgpsheading_la_SOURCES = gtkgpsheading.c + EXTRA_DIST = bt-maemo-marshal.list BUILT_SOURCES = bt-maemo-marshal.h bt-maemo-marshal.c