]> err.no Git - mapper/commitdiff
Add latlon.c to source list.
authorKaj-Michael Lang <milang@onion.tal.org>
Mon, 16 Jul 2007 13:32:11 +0000 (16:32 +0300)
committerKaj-Michael Lang <milang@onion.tal.org>
Mon, 16 Jul 2007 13:32:11 +0000 (16:32 +0300)
Link to libm

src/Makefile.am

index 1015b55f99014d674403148bb62d6f092884d7d1..5fafb54aae33ce03c27ec0aa901020753a455f88 100644 (file)
@@ -26,13 +26,14 @@ mapper_CFLAGS = $(GTK_CFLAGS) $(OSSO_CFLAGS) $(HILDON_CFLAGS) \
 
 mapper_LDADD = $(GTK_LIBS) $(OSSO_LIBS) $(HILDON_LIBS) \
        $(GNOME_VFS_LIBS) $(GCONF_LIBS) $(LIBXML2_LIBS) $(GSTREAMER_LIBS) \
-       $(SQLITE_LIBS) $(LIBCURL_LIBS) $(DBUS_GLIB_LIBS) $(BLUEZ_LIBS)
+       $(SQLITE_LIBS) $(LIBCURL_LIBS) $(DBUS_GLIB_LIBS) $(BLUEZ_LIBS) -lm
 
 mapper_SOURCES = utils.c \
        db.c file.c \
        gpx.c \
        bt-bluez.c \
        bt-maemo.c \
+       latlon.c \
        gps-browse.c \
        gps-nmea-parse.c \
        gps-panels.c \
@@ -55,6 +56,6 @@ mapper_SOURCES = utils.c \
 
 osm2db_CFLAGS = $(EXPAT_CFLAGS) $(SQLITE_CFLAGS) $(GLIB_CFLAGS)
 
-osm2db_LDADD = $(EXPAT_LIBS) $(SQLITE_LIBS) $(GLIB_LIBS)
+osm2db_LDADD = $(EXPAT_LIBS) $(SQLITE_LIBS) $(GLIB_LIBS) -lm
 
-osm2db_SOURCES = osm.c
+osm2db_SOURCES = latlon.c osm.c