endif
libgtkmap_la_SOURCES = gtkmap.c gtkmap.h
-libgtkmap_la_CFLAGS = $(GLIBGTK_CFLAGS) $(defines)
-libgtkmap_la_LIBADD = $(GLIBGTK_LIBS)
+libgtkmap_la_CFLAGS = $(GLIBGTK_CFLAGS) $(GTKGLEXT_CFLAGS) $(defines)
+libgtkmap_la_LIBADD = $(GLIBGTK_LIBS) $(GTKGLEXT_LIBS)
libgtkmap_la_LDFLAGS = -lm -no-undefined
-map_widget_test_SOURCES = map-widget-test.c latlon.c image-cache.c
+map_widget_test_SOURCES = map-widget-test.c latlon.c image-cache.c map-tile-repo.c
map_widget_test_LDADD = $(GLIBGTK_LIBS) $(GTKHTML_LIBS) $(CAIRO_LIBS) $(GTKGLEXT_LIBS) -lm libgtkgps.la libgtkmap.la
map_widget_test_CFLAGS = $(GLIBGTK_CFLAGS) $(GTKHTML_CFLAGS) $(CAIRO_CFLAGS) $(GTKGLEXT_CFLAGS)