2 # This file is part of mapper
4 # Copyright (C) 2007 Kaj-Michael Lang
5 # Copyright (C) 2006 John Costigan.
7 # This program is free software; you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation; either version 2 of the License, or
10 # (at your option) any later version.
12 # This program is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
17 # You should have received a copy of the GNU General Public License along
18 # with this program; if not, write to the Free Software Foundation, Inc.,
19 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
22 INCLUDES = -DDATADIR=\""$(datadir)"\" -DDBUS_API_SUBJECT_TO_CHANGE
24 bin_PROGRAMS = mapper osm2db
26 mapper_CFLAGS = $(GLIBGTK_CFLAGS) \
27 $(OSSO_CFLAGS) $(CONIC_CFLAGS) \
28 $(HILDON_CFLAGS) $(HILDONFM_CFLAGS) $(HILDON_HELP_CFLAGS) $(OSSO_HELP_CFLAGS) \
29 $(GNOME_VFS_CFLAGS) $(GCONF_CFLAGS) \
30 $(LIBXML2_CFLAGS) $(GSTREAMER_CFLAGS) $(ESPEAK_CFLAGS) \
31 $(SQLITE_CFLAGS) $(LIBCURL_CFLAGS) \
32 $(DBUS_GLIB_CFLAGS) $(BLUEZ_CFLAGS)
34 mapper_LDADD = $(GLIBGTK_LIBS) \
35 $(OSSO_LIBS) $(CONIC_LIBS) \
36 $(HILDON_LIBS) $(HILDONFM_LIBS) $(HILDON_HELP_LIBS) $(OSSO_HELP_LIBS) \
37 $(GNOME_VFS_LIBS) $(GCONF_LIBS) \
38 $(LIBXML2_LIBS) $(GSTREAMER_LIBS) $(ESPEAK_LIBS) \
39 $(SQLITE_LIBS) $(LIBCURL_LIBS) \
40 $(DBUS_GLIB_LIBS) $(BLUEZ_LIBS) -lm libgtkgps.la
42 mapper_SOURCES = utils.c \
78 osm2db_CFLAGS = $(EXPAT_CFLAGS) $(SQLITE_CFLAGS) $(GLIBGTK_CFLAGS)
80 osm2db_LDADD = $(EXPAT_LIBS) $(SQLITE_LIBS) $(GLIBGTK_LIBS) $(BZ2_LIBS) -lm
82 osm2db_SOURCES = latlon.c osm.c
84 lib_LTLIBRARIES = libgtkgps.la
86 libgtkgps_la_SOURCES = gtkgps.c gtkcompass.c
88 libgtkgps_la_CFLAGS = $(GLIBGTK_CFLAGS) $(defines)
89 libgtkgps_la_LIBADD = $(GLIBGTK_LIBS)
90 libgtkgps_la_LDFLAGS = -lm -no-undefined
92 EXTRA_DIST = bt-maemo-marshal.list
94 BUILT_SOURCES = bt-maemo-marshal.h bt-maemo-marshal.c
96 bt-maemo-marshal.h: bt-maemo-marshal.list
97 glib-genmarshal --prefix _bt_maemo --header $< > $@
98 bt-maemo-marshal.c: bt-maemo-marshal.list
99 glib-genmarshal --prefix _bt_maemo --body $< > $@