osm2db_LDADD = $(EXPAT_LIBS) $(SQLITE_LIBS) $(GLIBGTK_LIBS) -lm libosmdb.la
osm2db_SOURCES = osm.c osm.h
-lib_LTLIBRARIES = libgtkgps.la libosmdb.la libmappergps.la
+lib_LTLIBRARIES = libgtkgps.la libosmdb.la libmappergps.la libgtkmap.la
libmappergps_la_SOURCES = \
bluetooth-scan.h \
libmappergps_la_LIBADD+= $(HILDON_LIBS) $(HILDONFM_LIBS) $(HILDON_HELP_LIBS) $(LIBGPSBT_LIBS)
endif
+libgtkmap_la_SOURCES = gtkmap.c gtkmap.h
+libgtkmap_la_CFLAGS = $(GLIBGTK_CFLAGS) $(defines)
+libgtkmap_la_LIBADD = $(GLIBGTK_LIBS)
+libgtkmap_la_LDFLAGS = -lm -no-undefined
+
libgtkgps_la_SOURCES = gtkgps.c gtkcompass.c \
gtkgps.h gtkcompass.h gpsdata.h
libgtkgps_la_CFLAGS = $(GLIBGTK_CFLAGS) $(defines)