18 |
# |
# |
19 |
|
|
20 |
APP = @PACKAGE@ |
APP = @PACKAGE@ |
21 |
PREFIX ?= @prefix@ |
prefix = @prefix@ |
22 |
|
datarootdir = @datarootdir@ |
23 |
|
datadir = @datarootdir@ |
24 |
EXTRA_OBJS = @EXTRA_OBJS@ |
EXTRA_OBJS = @EXTRA_OBJS@ |
25 |
VERSION = $${VERSION_PREFIX}@PACKAGE_VERSION@$${VERSION_SUFFIX} |
VERSION = $${VERSION_PREFIX}@PACKAGE_VERSION@$${VERSION_SUFFIX} |
26 |
|
MAEMO_VERSION_MAJOR = @MAEMO_VERSION_MAJOR@ |
27 |
|
|
28 |
bindir = @bindir@ |
bindir = @bindir@ |
29 |
|
|
30 |
OBJS = main.o gpx.o goto.o gps.o misc.o gconf.o html.o icons.o cache.o \ |
OBJS = main.o gpx.o goto.o gps.o misc.o gconf.o html.o icons.o cache.o \ |
31 |
geomath.o settings.o custom_size_renderer.o custom_rating_renderer.o \ |
geomath.o settings.o custom_size_renderer.o custom_rating_renderer.o \ |
32 |
notes.o custom_type_renderer.o unzip.o ioapi.o precpos.o \ |
notes.o custom_type_renderer.o unzip.o ioapi.o precpos.o \ |
33 |
garmin_export.o geotext.o $(EXTRA_OBJS) |
garmin_export.o geotext.o gcvote.o geotoad.o about.o $(EXTRA_OBJS) |
34 |
|
|
35 |
DEFS = -DVERSION=\"$(VERSION)\" -DICONPATH=\"$(PREFIX)/share/$(APP)/\" -DAPP=\"$(APP)\" |
DEFS = -DVERSION=\"$(VERSION)\" -DPREFIX=\"$(prefix)\" -DICONPATH=\"$(datadir)/$(APP)/\" -DAPP=\"$(APP)\" |
36 |
CFLAGS = -Wall -O2 $(DEFS) @CFLAGS@ |
CFLAGS = -Wall -O2 $(DEFS) @CFLAGS@ |
37 |
LDFLAGS = @LIBS@ -lz |
LDFLAGS = @LIBS@ -lz |
38 |
|
|
45 |
gcc -o $@ $(OBJS) $(LDFLAGS) |
gcc -o $@ $(OBJS) $(LDFLAGS) |
46 |
|
|
47 |
install: |
install: |
48 |
install -d $(DESTDIR)$(PREFIX)$(bindir) |
install -d $(DESTDIR)$(prefix)$(bindir) |
49 |
install $(APP) $(DESTDIR)$(PREFIX)$(bindir) |
if [ "$(MAEMO_VERSION_MAJOR)" == "5" ]; then \ |
50 |
|
echo "Optifying binary"; \ |
51 |
|
install -d $(DESTDIR)$(datadir)/$(APP); \ |
52 |
|
install $(APP) $(DESTDIR)$(datadir)/$(APP)/$(APP).bin; \ |
53 |
|
ln -s $(datadir)/$(APP)/$(APP).bin $(DESTDIR)$(prefix)$(bindir)/$(APP); \ |
54 |
|
else \ |
55 |
|
echo "Not Optifying binary"; \ |
56 |
|
install $(APP) $(DESTDIR)$(prefix)$(bindir); \ |
57 |
|
fi |
58 |
|
|
59 |
clean: |
clean: |
60 |
rm -f gpxview *.o *~ \#*\# |
rm -f gpxview *.o *~ \#*\# |
65 |
|
|
66 |
# DO NOT DELETE |
# DO NOT DELETE |
67 |
|
|
68 |
|
bct.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h |
69 |
|
bct.o: html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h precpos.h |
70 |
|
bct.o: garmin_export.h gcvote.h misc.h |
71 |
cache.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h |
cache.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h |
72 |
cache.o: html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h precpos.h |
cache.o: html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h precpos.h |
73 |
cache.o: garmin_export.h misc.h |
cache.o: garmin_export.h gcvote.h misc.h |
74 |
converter.o: osm-gps-map-types.h osm-gps-map.h converter.h |
converter.o: osm-gps-map-types.h osm-gps-map.h config.h converter.h |
75 |
custom_rating_renderer.o: gpxview.h config.h gpx.h settings.h gps.h goto.h |
custom_rating_renderer.o: gpxview.h config.h gpx.h settings.h gps.h goto.h |
76 |
custom_rating_renderer.o: cache.h gconf.h html.h icons.h geomath.h geotext.h |
custom_rating_renderer.o: cache.h gconf.h html.h icons.h geomath.h geotext.h |
77 |
custom_rating_renderer.o: notes.h help.h mm_poi.h precpos.h garmin_export.h |
custom_rating_renderer.o: notes.h help.h mm_poi.h precpos.h garmin_export.h |
78 |
custom_rating_renderer.o: misc.h custom_rating_renderer.h |
custom_rating_renderer.o: gcvote.h misc.h custom_rating_renderer.h |
79 |
custom_size_renderer.o: gpxview.h config.h gpx.h settings.h gps.h goto.h |
custom_size_renderer.o: gpxview.h config.h gpx.h settings.h gps.h goto.h |
80 |
custom_size_renderer.o: cache.h gconf.h html.h icons.h geomath.h geotext.h |
custom_size_renderer.o: cache.h gconf.h html.h icons.h geomath.h geotext.h |
81 |
custom_size_renderer.o: notes.h help.h mm_poi.h precpos.h garmin_export.h |
custom_size_renderer.o: notes.h help.h mm_poi.h precpos.h garmin_export.h |
82 |
custom_size_renderer.o: misc.h custom_size_renderer.h |
custom_size_renderer.o: gcvote.h misc.h custom_size_renderer.h |
83 |
custom_type_renderer.o: gpxview.h config.h gpx.h settings.h gps.h goto.h |
custom_type_renderer.o: gpxview.h config.h gpx.h settings.h gps.h goto.h |
84 |
custom_type_renderer.o: cache.h gconf.h html.h icons.h geomath.h geotext.h |
custom_type_renderer.o: cache.h gconf.h html.h icons.h geomath.h geotext.h |
85 |
custom_type_renderer.o: notes.h help.h mm_poi.h precpos.h garmin_export.h |
custom_type_renderer.o: notes.h help.h mm_poi.h precpos.h garmin_export.h |
86 |
custom_type_renderer.o: misc.h custom_type_renderer.h |
custom_type_renderer.o: gcvote.h misc.h custom_type_renderer.h |
87 |
dbus.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h |
dbus.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h |
88 |
dbus.o: html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h precpos.h |
dbus.o: html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h precpos.h |
89 |
dbus.o: garmin_export.h misc.h dbus.h |
dbus.o: garmin_export.h gcvote.h misc.h dbus.h |
90 |
garmin_export.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h |
garmin_export.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h |
91 |
garmin_export.o: gconf.h html.h icons.h geomath.h geotext.h notes.h help.h |
garmin_export.o: gconf.h html.h icons.h geomath.h geotext.h notes.h help.h |
92 |
garmin_export.o: mm_poi.h precpos.h garmin_export.h misc.h |
garmin_export.o: mm_poi.h precpos.h garmin_export.h gcvote.h misc.h |
93 |
gconf.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h |
gconf.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h |
94 |
gconf.o: html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h precpos.h |
gconf.o: html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h precpos.h |
95 |
gconf.o: garmin_export.h misc.h |
gconf.o: garmin_export.h gcvote.h misc.h |
96 |
|
gcvote.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h |
97 |
|
gcvote.o: html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h |
98 |
|
gcvote.o: precpos.h garmin_export.h gcvote.h misc.h |
99 |
geomath.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h |
geomath.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h |
100 |
geomath.o: html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h |
geomath.o: html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h |
101 |
geomath.o: precpos.h garmin_export.h misc.h |
geomath.o: precpos.h garmin_export.h gcvote.h misc.h |
102 |
geotext.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h |
geotext.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h |
103 |
geotext.o: html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h |
geotext.o: html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h |
104 |
geotext.o: precpos.h garmin_export.h misc.h |
geotext.o: precpos.h garmin_export.h gcvote.h misc.h |
105 |
goto.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h |
goto.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h |
106 |
goto.o: html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h precpos.h |
goto.o: html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h precpos.h |
107 |
goto.o: garmin_export.h misc.h |
goto.o: garmin_export.h gcvote.h misc.h |
108 |
gps.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h |
gps.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h |
109 |
gps.o: html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h precpos.h |
gps.o: html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h precpos.h |
110 |
gps.o: garmin_export.h misc.h |
gps.o: garmin_export.h gcvote.h misc.h |
111 |
gpx.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h |
gpx.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h |
112 |
gpx.o: html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h precpos.h |
gpx.o: html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h precpos.h |
113 |
gpx.o: garmin_export.h misc.h unzip.h ioapi.h |
gpx.o: garmin_export.h gcvote.h misc.h unzip.h ioapi.h |
|
gpx_dom.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h |
|
|
gpx_dom.o: html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h |
|
|
gpx_dom.o: precpos.h garmin_export.h misc.h unzip.h ioapi.h |
|
114 |
html.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h |
html.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h |
115 |
html.o: html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h precpos.h |
html.o: html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h precpos.h |
116 |
html.o: garmin_export.h misc.h |
html.o: garmin_export.h gcvote.h misc.h |
117 |
icons.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h |
icons.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h |
118 |
icons.o: html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h precpos.h |
icons.o: html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h precpos.h |
119 |
icons.o: garmin_export.h misc.h |
icons.o: garmin_export.h gcvote.h misc.h |
120 |
ioapi.o: ioapi.h |
ioapi.o: ioapi.h |
121 |
main.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h |
main.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h |
122 |
main.o: html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h precpos.h |
main.o: html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h precpos.h |
123 |
main.o: garmin_export.h misc.h custom_size_renderer.h |
main.o: garmin_export.h gcvote.h misc.h custom_size_renderer.h |
124 |
main.o: custom_rating_renderer.h custom_type_renderer.h |
main.o: custom_rating_renderer.h custom_type_renderer.h |
125 |
map-tool.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h |
map-tool.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h |
126 |
map-tool.o: html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h |
map-tool.o: html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h |
127 |
map-tool.o: precpos.h garmin_export.h misc.h converter.h |
map-tool.o: precpos.h garmin_export.h gcvote.h misc.h converter.h |
128 |
misc.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h |
misc.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h |
129 |
misc.o: html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h precpos.h |
misc.o: html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h precpos.h |
130 |
misc.o: garmin_export.h misc.h |
misc.o: garmin_export.h gcvote.h misc.h |
131 |
mm_poi.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h |
mm_poi.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h |
132 |
mm_poi.o: html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h |
mm_poi.o: html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h |
133 |
mm_poi.o: precpos.h garmin_export.h misc.h |
mm_poi.o: precpos.h garmin_export.h gcvote.h misc.h |
134 |
notes.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h |
notes.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h |
135 |
notes.o: html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h precpos.h |
notes.o: html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h precpos.h |
136 |
notes.o: garmin_export.h misc.h |
notes.o: garmin_export.h gcvote.h misc.h |
137 |
osm-gps-map.o: config.h converter.h osm-gps-map-types.h osm-gps-map.h |
osm-gps-map.o: config.h converter.h osm-gps-map-types.h osm-gps-map.h |
138 |
|
osm-gps-map-osd-classic.o: config.h osm-gps-map.h converter.h |
139 |
|
osm-gps-map-osd-classic.o: osm-gps-map-osd-classic.h |
140 |
precpos.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h |
precpos.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h |
141 |
precpos.o: html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h |
precpos.o: html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h |
142 |
precpos.o: precpos.h garmin_export.h misc.h |
precpos.o: precpos.h garmin_export.h gcvote.h misc.h |
143 |
settings.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h |
settings.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h |
144 |
settings.o: html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h |
settings.o: html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h |
145 |
settings.o: precpos.h garmin_export.h misc.h |
settings.o: precpos.h garmin_export.h gcvote.h misc.h |
146 |
unzip.o: unzip.h ioapi.h crypt.h |
unzip.o: unzip.h ioapi.h crypt.h |