-# The icons
-
-icondir = $(datadir)/icons/hicolor
-
-install-data-local:
- i=maemo-mapper; \
- $(mkinstalldirs) $(DESTDIR)$(icondir)/26x26/hildon; \
- $(mkinstalldirs) $(DESTDIR)$(icondir)/40x40/hildon; \
- $(mkinstalldirs) $(DESTDIR)$(icondir)/scalable/hildon; \
- $(INSTALL_DATA) $(srcdir)/$$i.26.png $(DESTDIR)$(icondir)/26x26/hildon/$$i.png; \
- $(INSTALL_DATA) $(srcdir)/$$i.40.png $(DESTDIR)$(icondir)/40x40/hildon/$$i.png; \
- $(INSTALL_DATA) $(srcdir)/$$i.64.png $(DESTDIR)$(icondir)/scalable/hildon/$$i.png;
-
-uninstall-local:
- i=maemo-mapper; \
- rm $(DESTDIR)$(icondir)/26x26/hildon/$$i.png; \
- rm $(DESTDIR)$(icondir)/40x40/hildon/$$i.png; \
- rm $(DESTDIR)$(icondir)/scalable/hildon/$$i.png;
-
-# The program
-
-bin_PROGRAMS = maemo-mapper
-
-maemo_mapper_SOURCES = maemo-mapper.c
-maemo_mapper_CFLAGS = $(GTK_CFLAGS) $(OSSO_CFLAGS) $(HILDON_CFLAGS) $(GNOME_VFS_CFLAGS) $(GCONF_CFLAGS) $(LIBXML2_CFLAGS)
-maemo_mapper_LDADD = $(GTK_LIBS) $(OSSO_LIBS) $(HILDON_LIBS) $(GNOME_VFS_LIBS) $(GCONF_LIBS) $(LIBXML2_LIBS) -lbluetooth
-
-desktopdir = $(datadir)/applications/hildon
-desktop_DATA = maemo-mapper.desktop
-
-servicedir = $(datadir)/dbus-1/services
-service_DATA = com.nokia.maemo_mapper.service
-
-EXTRA_DIST = \
- autogen.sh \
- debian/changelog \
- debian/compat \
- debian/copyright \
- debian/control \
- debian/rules \
- debian/maemo-mapper.links \
- maemo-mapper.desktop \
- com.nokia.maemo_mapper.service \
- maemo-mapper.26.png \
- maemo-mapper.40.png \
- maemo-mapper.64.png
-
-deb:
- ./make-package $(PACKAGE) $(VERSION)
-
+#
+# Copyright (C) 2006, 2007 John Costigan.
+#
+# This file is part of Maemo Mapper.
+#
+# Maemo Mapper 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 3 of the License, or
+# (at your option) any later version.
+#
+# Maemo Mapper 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 Maemo Mapper. If not, see <http://www.gnu.org/licenses/>.
+#
+
+EXTRA_DIST = \
+ autogen.sh \
+ intltool-extract.in \
+ intltool-merge.in \
+ intltool-update.in \
+ debian/changelog \
+ debian/compat \
+ debian/copyright \
+ debian/control \
+ debian/rules \
+ debian/maemo-mapper.links
+
+SUBDIRS = src data po