]> git.itanic.dy.fi Git - maemo-mapper/blob - Makefile.am
Modified to support Maemo 2.0.
[maemo-mapper] / Makefile.am
1 # The icons
2
3 icondir = $(datadir)/icons/hicolor
4
5 install-data-local:
6         i=pkg_maemo-mapper; \
7         $(mkinstalldirs) $(DESTDIR)$(icondir)/26x26/hildon; \
8         $(mkinstalldirs) $(DESTDIR)$(icondir)/40x40/hildon; \
9         $(mkinstalldirs) $(DESTDIR)$(icondir)/scalable/hildon; \
10         $(INSTALL_DATA) $(srcdir)/$$i.26.png $(DESTDIR)$(icondir)/26x26/hildon/$$i.png; \
11         $(INSTALL_DATA) $(srcdir)/$$i.40.png $(DESTDIR)$(icondir)/40x40/hildon/$$i.png; \
12         $(INSTALL_DATA) $(srcdir)/$$i.64.png $(DESTDIR)$(icondir)/scalable/hildon/$$i.png;
13
14 uninstall-local:
15         i=pkg_maemo-mapper; \
16         rm $(DESTDIR)$(icondir)/26x26/hildon/$$i.png; \
17         rm $(DESTDIR)$(icondir)/40x40/hildon/$$i.png; \
18         rm $(DESTDIR)$(icondir)/scalable/hildon/$$i.png;
19
20 # The program
21
22 bin_PROGRAMS = maemo-mapper
23
24 maemo_mapper_SOURCES = maemo-mapper.c
25 maemo_mapper_CFLAGS = $(GTK_CFLAGS) $(OSSO_CFLAGS) $(HILDON_CFLAGS) $(GNOME_VFS_CFLAGS) $(GCONF_CFLAGS) $(LIBXML2_CFLAGS)
26 maemo_mapper_LDADD = $(GTK_LIBS) $(OSSO_LIBS) $(HILDON_LIBS) $(GNOME_VFS_LIBS) $(GCONF_LIBS) $(LIBXML2_LIBS) -lbluetooth
27
28 desktopdir = $(datadir)/applications/hildon
29 desktop_DATA = maemo-mapper.desktop
30
31 servicedir = /usr/share/dbus-1/services
32 service_DATA = com.nokia.maemo_mapper.service
33
34 EXTRA_DIST =                                    \
35         autogen.sh                              \
36         debian/changelog                        \
37         debian/compat                           \
38         debian/copyright                        \
39         debian/control                          \
40         debian/rules                            \
41         debian/maemo-mapper.links               \
42         maemo-mapper.desktop                    \
43         com.nokia.maemo_mapper.service  \
44         pkg_maemo-mapper.26.png         \
45         pkg_maemo-mapper.40.png         \
46         pkg_maemo-mapper.64.png