libgtkmap_la_SOURCES = gtkmap.c gtkmap.h \
gtkmap-marshal.c gtkmap-marshal.h \
path.c path.h position.c position.h \
+ tilerepo.c tilerepo.h \
$(TOPDIR)/latlon.c $(TOPDIR)/image-cache.c
libgtkmap_la_CFLAGS = $(GLIBGTK_CFLAGS) $(GNOME_VFS_CFLAGS) $(LIBXML2_CFLAGS) $(GTKGLEXT_CFLAGS) $(defines)
libgtkmap_la_LIBADD = $(GLIBGTK_LIBS) $(GNOME_VFS_LIBS) $(LIBXML2_LIBS) $(GTKGLEXT_LIBS)
libgtkmap_la_LDFLAGS = -lm -no-undefined
-map_widget_test_SOURCES = map-widget-test.c $(TOPDIR)/map-tile-repo.c
+map_widget_test_SOURCES = map-widget-test.c
map_widget_test_LDADD = $(GLIBGTK_LIBS) $(GTKHTML_LIBS) $(CAIRO_LIBS) $(GTKGLEXT_LIBS) -lm libgtkmap.la
map_widget_test_CFLAGS = $(GLIBGTK_CFLAGS) $(GTKHTML_CFLAGS) $(CAIRO_CFLAGS) $(GTKGLEXT_CFLAGS)