]> err.no Git - mapper/commitdiff
Build map widget
authorKaj-Michael Lang <milang@tal.org>
Mon, 28 Apr 2008 12:03:10 +0000 (15:03 +0300)
committerKaj-Michael Lang <milang@tal.org>
Mon, 28 Apr 2008 12:03:10 +0000 (15:03 +0300)
src/Makefile.am

index 074f53022d0242fc253ffe258ca43efe397fbeeb..28c5c06ddbe997dedde7a841a27a8790a2792aed 100644 (file)
@@ -117,7 +117,7 @@ osm2db_CFLAGS = $(EXPAT_CFLAGS) $(SQLITE_CFLAGS) $(GLIBGTK_CFLAGS)
 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 \
@@ -142,6 +142,11 @@ libmappergps_la_CFLAGS+= $(HILDON_CFLAGS) $(HILDONFM_CFLAGS) $(HILDON_HELP_CFLAG
 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)