# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
-SUBDIRS = libgtkmap libgtkgps
+SUBDIRS = libgtkgps libgtkmap
+#
+# This file is part of mapper
+#
+# Copyright (C) 2008 Kaj-Michael Lang
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+#
+INCLUDES = -DDATADIR=\""$(datadir)"\" -DDBUS_API_SUBJECT_TO_CHANGE
+
+TOPDIR=../../src
+
+lib_LTLIBRARIES = libgtkgps.la
+
+libgtkgps_la_SOURCES = gtkgps.c gtkcompass.c \
+ gtkgps.h gtkcompass.h
+libgtkgps_la_CFLAGS = $(GLIBGTK_CFLAGS) $(defines)
+libgtkgps_la_LIBADD = $(GLIBGTK_LIBS)
+libgtkgps_la_LDFLAGS = -lm -no-undefined
$(SQLITE_LIBS) $(LIBCURL_LIBS) \
$(DBUS_GLIB_LIBS) $(BLUEZ_LIBS) \
$(GYPSY_LIBS) $(LIBGPSBT_LIBS) $(HAL_LIBS)\
- -lm libgtkgps.la libosmdb.la libmappergps.la ../libs/libgtkmap/libgtkmap.la
+ -lm ../libs/libgtkgps/libgtkgps.la libosmdb.la libmappergps.la ../libs/libgtkmap/libgtkmap.la
mapper_SOURCES = \
announcements.c \
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 = libosmdb.la libmappergps.la
libmappergps_la_SOURCES = \
bluetooth-scan.h \
libmappergps_la_LIBADD+= $(HILDON_LIBS) $(HILDONFM_LIBS) $(HILDON_HELP_LIBS) $(LIBGPSBT_LIBS)
endif
-libgtkgps_la_SOURCES = gtkgps.c gtkcompass.c \
- gtkgps.h gtkcompass.h gpsdata.h
-libgtkgps_la_CFLAGS = $(GLIBGTK_CFLAGS) $(defines)
-libgtkgps_la_LIBADD = $(GLIBGTK_LIBS)
-libgtkgps_la_LDFLAGS = -lm -no-undefined
-
libosmdb_la_SOURCES = db.c osm-db.c osm-db-import.c latlon.c \
db.h osm-db.h osm-db-import.h latlon.h \
osm-sql-tables.h osm.h settings.h