search.h \
settings-gui.c \
settings-gui.h \
- audio.h \
- audio-note.c \
- audio-note.h \
speak.c \
speak.h \
speed-display.c \
mapper-types.h \
settings-gconf.h
+if HAVE_GST
+mapper_SOURCES+=audio.h audio-note.c audio-note.h
+endif
+
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
libmappergps_la_LIBADD+= $(HILDON_LIBS) $(HILDONFM_LIBS) $(HILDON_HELP_LIBS) $(LIBGPSBT_LIBS)
endif
-libgtkmap_la_SOURCES = gtkmap.c gtkmap.h
+libgtkmap_la_SOURCES = gtkmap.c gtkmap.h gtkmap-marshal.c gtkmap-marshal.h
libgtkmap_la_CFLAGS = $(GLIBGTK_CFLAGS) $(GTKGLEXT_CFLAGS) $(defines)
libgtkmap_la_LIBADD = $(GLIBGTK_LIBS) $(GTKGLEXT_LIBS)
libgtkmap_la_LDFLAGS = -lm -no-undefined
libosmdb_la_LIBADD = $(GLIBGTK_LIBS) $(SQLITE_LIBS) $(BZ2_LIBS)
libosmdb_la_LDFLAGS = -lm -no-undefined
-EXTRA_DIST = gps-bluetooth-maemo-marshal.list gps-bluetooth-bluez-marshal.list
+EXTRA_DIST = gps-bluetooth-maemo-marshal.list gps-bluetooth-bluez-marshal.list gtkmap-marshal.list
BUILT_SOURCES = gps-bluetooth-maemo-marshal.h gps-bluetooth-maemo-marshal.c \
gps-bluetooth-bluez-marshal.h gps-bluetooth-bluez-marshal.c
gps-bluetooth-bluez-marshal.c: gps-bluetooth-bluez-marshal.list
glib-genmarshal --prefix _bt_bluez --body $< > $@
+gtkmap-marshal.c: gtkmap-marshal.list
+ glib-genmarshal --prefix _gtkamp --body $< > $@
+
+gtkmap-marshal.h: gtkmap-marshal.list
+ glib-genmarshal --prefix _gtkamp --header $< > $@
+
CLEANFILES = $(BUILT_SOURCES)