Parent Directory | Revision Log
Binary optified
1 | harbaum | 110 | # |
2 | # Copyright (C) 2008 Till Harbaum <till@harbaum.org>. | ||
3 | # | ||
4 | # This file is part of OSM2Go. | ||
5 | # | ||
6 | # OSM2Go is free software: you can redistribute it and/or modify | ||
7 | # it under the terms of the GNU General Public License as published by | ||
8 | # the Free Software Foundation, either version 3 of the License, or | ||
9 | # (at your option) any later version. | ||
10 | # | ||
11 | # OSM2Go is distributed in the hope that it will be useful, | ||
12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | # GNU General Public License for more details. | ||
15 | # | ||
16 | # You should have received a copy of the GNU General Public License | ||
17 | # along with OSM2Go. If not, see <http://www.gnu.org/licenses/>. | ||
18 | # | ||
19 | |||
20 | APP = @PACKAGE@ | ||
21 | harbaum | 308 | prefix = @prefix@ |
22 | datarootdir = @datarootdir@ | ||
23 | datadir = @datarootdir@ | ||
24 | harbaum | 110 | EXTRA_OBJS = @EXTRA_OBJS@ |
25 | achadwick | 129 | VERSION = $${VERSION_PREFIX}@PACKAGE_VERSION@$${VERSION_SUFFIX} |
26 | harbaum | 342 | MAEMO_VERSION_MAJOR = @MAEMO_VERSION_MAJOR@ |
27 | harbaum | 110 | |
28 | achadwick | 129 | bindir = @bindir@ |
29 | |||
30 | |||
31 | harbaum | 315 | OBJS = main.o map.o osm.o osm_api.o wms.o about.o \ |
32 | harbaum | 110 | statusbar.o project.o settings.o pos.o diff.o map_hl.o \ |
33 | iconbar.o info.o icon.o track.o gps.o canvas_goocanvas.o \ | ||
34 | area_edit.o josm_presets.o relation_edit.o misc.o map_edit.o \ | ||
35 | harbaum | 143 | josm_elemstyles.o style.o net_io.o banner.o undo.o canvas.o \ |
36 | harbaum | 249 | list.o scale_popup.o $(EXTRA_OBJS) |
37 | harbaum | 110 | |
38 | harbaum | 308 | DEFS = -DPACKAGE=\"$(APP)\" -DPREFIX=\"@prefix@\" -DDATADIR=\"$(datadir)/$(APP)\" -DVERSION=\"$(VERSION)\" |
39 | harbaum | 145 | CFLAGS = -Wall $(DEFS) @CFLAGS@ -DCANVAS_CUSTOM_ITEM_AT |
40 | harbaum | 110 | LDFLAGS = @LIBS@ |
41 | |||
42 | all: $(APP) | ||
43 | |||
44 | harbaum | 167 | %.o: %.c Makefile |
45 | harbaum | 110 | gcc $(CFLAGS) -o $@ -c $< |
46 | |||
47 | harbaum | 167 | $(APP): $(OBJS) Makefile |
48 | harbaum | 110 | gcc $(LDFLAGS) -o $@ $(OBJS) |
49 | |||
50 | clean: | ||
51 | rm -f osm2go *.o *~ */*~ \#*\# version.h *.bak | ||
52 | |||
53 | install: $(APP) | ||
54 | harbaum | 308 | install -d $(DESTDIR)$(prefix)$(bindir) |
55 | harbaum | 342 | if [ "$(MAEMO_VERSION_MAJOR)" == "5" ]; then \ |
56 | echo "Optifying binary"; \ | ||
57 | install -d $(DESTDIR)$(datadir)/$(APP); \ | ||
58 | install $(APP) $(DESTDIR)$(datadir)/$(APP)/$(APP).bin; \ | ||
59 | ln -s $(datadir)/$(APP)/$(APP).bin $(DESTDIR)$(prefix)$(bindir)/$(APP); \ | ||
60 | else \ | ||
61 | echo "Not Optifying binary"; \ | ||
62 | install $(APP) $(DESTDIR)$(prefix)$(bindir); \ | ||
63 | fi | ||
64 | harbaum | 110 | |
65 | harbaum | 144 | dep: |
66 | makedepend -Y -fMakefile.in *.c | ||
67 | |||
68 | harbaum | 110 | # DO NOT DELETE |
69 | |||
70 | harbaum | 315 | about.o: appdata.h pos.h osm.h canvas.h undo.h settings.h map.h map_hl.h |
71 | about.o: osm_api.h project.h statusbar.h area_edit.h diff.h iconbar.h icon.h | ||
72 | about.o: info.h track.h gps.h wms.h josm_presets.h relation_edit.h misc.h | ||
73 | about.o: map_edit.h josm_elemstyles.h style.h net_io.h banner.h list.h | ||
74 | about.o: scale_popup.h about.h | ||
75 | harbaum | 214 | area_edit.o: appdata.h pos.h osm.h canvas.h undo.h settings.h map.h map_hl.h |
76 | area_edit.o: osm_api.h project.h statusbar.h area_edit.h diff.h iconbar.h | ||
77 | harbaum | 144 | area_edit.o: icon.h info.h track.h gps.h wms.h josm_presets.h relation_edit.h |
78 | area_edit.o: misc.h map_edit.h josm_elemstyles.h style.h net_io.h banner.h | ||
79 | harbaum | 315 | area_edit.o: list.h scale_popup.h about.h |
80 | harbaum | 214 | banner.o: banner.h appdata.h pos.h osm.h canvas.h undo.h settings.h map.h |
81 | banner.o: map_hl.h osm_api.h project.h statusbar.h area_edit.h diff.h | ||
82 | harbaum | 144 | banner.o: iconbar.h icon.h info.h track.h gps.h wms.h josm_presets.h |
83 | harbaum | 110 | banner.o: relation_edit.h misc.h map_edit.h josm_elemstyles.h style.h |
84 | harbaum | 315 | banner.o: net_io.h list.h scale_popup.h about.h |
85 | harbaum | 214 | canvas.o: appdata.h pos.h osm.h canvas.h undo.h settings.h map.h map_hl.h |
86 | canvas.o: osm_api.h project.h statusbar.h area_edit.h diff.h iconbar.h icon.h | ||
87 | canvas.o: info.h track.h gps.h wms.h josm_presets.h relation_edit.h misc.h | ||
88 | canvas.o: map_edit.h josm_elemstyles.h style.h net_io.h banner.h list.h | ||
89 | harbaum | 315 | canvas.o: scale_popup.h about.h |
90 | harbaum | 214 | canvas_goocanvas.o: appdata.h pos.h osm.h canvas.h undo.h settings.h map.h |
91 | canvas_goocanvas.o: map_hl.h osm_api.h project.h statusbar.h area_edit.h | ||
92 | harbaum | 144 | canvas_goocanvas.o: diff.h iconbar.h icon.h info.h track.h gps.h wms.h |
93 | canvas_goocanvas.o: josm_presets.h relation_edit.h misc.h map_edit.h | ||
94 | harbaum | 146 | canvas_goocanvas.o: josm_elemstyles.h style.h net_io.h banner.h list.h |
95 | harbaum | 315 | canvas_goocanvas.o: scale_popup.h about.h |
96 | converter.o: osm-gps-map-types.h osm-gps-map.h config.h converter.h | ||
97 | harbaum | 214 | dbus.o: appdata.h pos.h osm.h canvas.h undo.h settings.h map.h map_hl.h |
98 | dbus.o: osm_api.h project.h statusbar.h area_edit.h diff.h iconbar.h icon.h | ||
99 | harbaum | 144 | dbus.o: info.h track.h gps.h wms.h josm_presets.h relation_edit.h misc.h |
100 | harbaum | 146 | dbus.o: map_edit.h josm_elemstyles.h style.h net_io.h banner.h list.h |
101 | harbaum | 315 | dbus.o: scale_popup.h about.h |
102 | harbaum | 214 | diff.o: appdata.h pos.h osm.h canvas.h undo.h settings.h map.h map_hl.h |
103 | diff.o: osm_api.h project.h statusbar.h area_edit.h diff.h iconbar.h icon.h | ||
104 | harbaum | 144 | diff.o: info.h track.h gps.h wms.h josm_presets.h relation_edit.h misc.h |
105 | harbaum | 146 | diff.o: map_edit.h josm_elemstyles.h style.h net_io.h banner.h list.h |
106 | harbaum | 315 | diff.o: scale_popup.h about.h |
107 | harbaum | 214 | gps.o: appdata.h pos.h osm.h canvas.h undo.h settings.h map.h map_hl.h |
108 | gps.o: osm_api.h project.h statusbar.h area_edit.h diff.h iconbar.h icon.h | ||
109 | harbaum | 144 | gps.o: info.h track.h gps.h wms.h josm_presets.h relation_edit.h misc.h |
110 | harbaum | 146 | gps.o: map_edit.h josm_elemstyles.h style.h net_io.h banner.h list.h |
111 | harbaum | 315 | gps.o: scale_popup.h about.h |
112 | harbaum | 214 | iconbar.o: appdata.h pos.h osm.h canvas.h undo.h settings.h map.h map_hl.h |
113 | iconbar.o: osm_api.h project.h statusbar.h area_edit.h diff.h iconbar.h | ||
114 | harbaum | 144 | iconbar.o: icon.h info.h track.h gps.h wms.h josm_presets.h relation_edit.h |
115 | iconbar.o: misc.h map_edit.h josm_elemstyles.h style.h net_io.h banner.h | ||
116 | harbaum | 315 | iconbar.o: list.h scale_popup.h about.h |
117 | harbaum | 214 | icon.o: appdata.h pos.h osm.h canvas.h undo.h settings.h map.h map_hl.h |
118 | icon.o: osm_api.h project.h statusbar.h area_edit.h diff.h iconbar.h icon.h | ||
119 | harbaum | 144 | icon.o: info.h track.h gps.h wms.h josm_presets.h relation_edit.h misc.h |
120 | harbaum | 146 | icon.o: map_edit.h josm_elemstyles.h style.h net_io.h banner.h list.h |
121 | harbaum | 315 | icon.o: scale_popup.h about.h |
122 | harbaum | 214 | info.o: appdata.h pos.h osm.h canvas.h undo.h settings.h map.h map_hl.h |
123 | info.o: osm_api.h project.h statusbar.h area_edit.h diff.h iconbar.h icon.h | ||
124 | harbaum | 144 | info.o: info.h track.h gps.h wms.h josm_presets.h relation_edit.h misc.h |
125 | harbaum | 146 | info.o: map_edit.h josm_elemstyles.h style.h net_io.h banner.h list.h |
126 | harbaum | 315 | info.o: scale_popup.h about.h |
127 | harbaum | 214 | josm_elemstyles.o: appdata.h pos.h osm.h canvas.h undo.h settings.h map.h |
128 | josm_elemstyles.o: map_hl.h osm_api.h project.h statusbar.h area_edit.h | ||
129 | harbaum | 144 | josm_elemstyles.o: diff.h iconbar.h icon.h info.h track.h gps.h wms.h |
130 | josm_elemstyles.o: josm_presets.h relation_edit.h misc.h map_edit.h | ||
131 | harbaum | 146 | josm_elemstyles.o: josm_elemstyles.h style.h net_io.h banner.h list.h |
132 | harbaum | 315 | josm_elemstyles.o: scale_popup.h about.h |
133 | harbaum | 214 | josm_presets.o: appdata.h pos.h osm.h canvas.h undo.h settings.h map.h |
134 | josm_presets.o: map_hl.h osm_api.h project.h statusbar.h area_edit.h diff.h | ||
135 | harbaum | 144 | josm_presets.o: iconbar.h icon.h info.h track.h gps.h wms.h josm_presets.h |
136 | josm_presets.o: relation_edit.h misc.h map_edit.h josm_elemstyles.h style.h | ||
137 | harbaum | 315 | josm_presets.o: net_io.h banner.h list.h scale_popup.h about.h |
138 | harbaum | 214 | list.o: appdata.h pos.h osm.h canvas.h undo.h settings.h map.h map_hl.h |
139 | list.o: osm_api.h project.h statusbar.h area_edit.h diff.h iconbar.h icon.h | ||
140 | harbaum | 146 | list.o: info.h track.h gps.h wms.h josm_presets.h relation_edit.h misc.h |
141 | list.o: map_edit.h josm_elemstyles.h style.h net_io.h banner.h list.h | ||
142 | harbaum | 315 | list.o: scale_popup.h about.h |
143 | harbaum | 214 | main.o: appdata.h pos.h osm.h canvas.h undo.h settings.h map.h map_hl.h |
144 | main.o: osm_api.h project.h statusbar.h area_edit.h diff.h iconbar.h icon.h | ||
145 | harbaum | 144 | main.o: info.h track.h gps.h wms.h josm_presets.h relation_edit.h misc.h |
146 | harbaum | 146 | main.o: map_edit.h josm_elemstyles.h style.h net_io.h banner.h list.h |
147 | harbaum | 315 | main.o: scale_popup.h about.h |
148 | harbaum | 214 | map.o: appdata.h pos.h osm.h canvas.h undo.h settings.h map.h map_hl.h |
149 | map.o: osm_api.h project.h statusbar.h area_edit.h diff.h iconbar.h icon.h | ||
150 | harbaum | 144 | map.o: info.h track.h gps.h wms.h josm_presets.h relation_edit.h misc.h |
151 | harbaum | 146 | map.o: map_edit.h josm_elemstyles.h style.h net_io.h banner.h list.h |
152 | harbaum | 315 | map.o: scale_popup.h about.h |
153 | harbaum | 214 | map_edit.o: appdata.h pos.h osm.h canvas.h undo.h settings.h map.h map_hl.h |
154 | map_edit.o: osm_api.h project.h statusbar.h area_edit.h diff.h iconbar.h | ||
155 | harbaum | 144 | map_edit.o: icon.h info.h track.h gps.h wms.h josm_presets.h relation_edit.h |
156 | map_edit.o: misc.h map_edit.h josm_elemstyles.h style.h net_io.h banner.h | ||
157 | harbaum | 315 | map_edit.o: list.h scale_popup.h about.h |
158 | harbaum | 214 | map_hl.o: appdata.h pos.h osm.h canvas.h undo.h settings.h map.h map_hl.h |
159 | map_hl.o: osm_api.h project.h statusbar.h area_edit.h diff.h iconbar.h icon.h | ||
160 | map_hl.o: info.h track.h gps.h wms.h josm_presets.h relation_edit.h misc.h | ||
161 | map_hl.o: map_edit.h josm_elemstyles.h style.h net_io.h banner.h list.h | ||
162 | harbaum | 315 | map_hl.o: scale_popup.h about.h |
163 | harbaum | 214 | misc.o: appdata.h pos.h osm.h canvas.h undo.h settings.h map.h map_hl.h |
164 | misc.o: osm_api.h project.h statusbar.h area_edit.h diff.h iconbar.h icon.h | ||
165 | harbaum | 144 | misc.o: info.h track.h gps.h wms.h josm_presets.h relation_edit.h misc.h |
166 | harbaum | 146 | misc.o: map_edit.h josm_elemstyles.h style.h net_io.h banner.h list.h |
167 | harbaum | 315 | misc.o: scale_popup.h about.h |
168 | harbaum | 214 | net_io.o: appdata.h pos.h osm.h canvas.h undo.h settings.h map.h map_hl.h |
169 | net_io.o: osm_api.h project.h statusbar.h area_edit.h diff.h iconbar.h icon.h | ||
170 | net_io.o: info.h track.h gps.h wms.h josm_presets.h relation_edit.h misc.h | ||
171 | net_io.o: map_edit.h josm_elemstyles.h style.h net_io.h banner.h list.h | ||
172 | harbaum | 315 | net_io.o: scale_popup.h about.h |
173 | harbaum | 214 | osm_api.o: appdata.h pos.h osm.h canvas.h undo.h settings.h map.h map_hl.h |
174 | osm_api.o: osm_api.h project.h statusbar.h area_edit.h diff.h iconbar.h | ||
175 | harbaum | 144 | osm_api.o: icon.h info.h track.h gps.h wms.h josm_presets.h relation_edit.h |
176 | osm_api.o: misc.h map_edit.h josm_elemstyles.h style.h net_io.h banner.h | ||
177 | harbaum | 315 | osm_api.o: list.h scale_popup.h about.h |
178 | harbaum | 214 | osm.o: appdata.h pos.h osm.h canvas.h undo.h settings.h map.h map_hl.h |
179 | osm.o: osm_api.h project.h statusbar.h area_edit.h diff.h iconbar.h icon.h | ||
180 | harbaum | 144 | osm.o: info.h track.h gps.h wms.h josm_presets.h relation_edit.h misc.h |
181 | harbaum | 146 | osm.o: map_edit.h josm_elemstyles.h style.h net_io.h banner.h list.h |
182 | harbaum | 315 | osm.o: scale_popup.h about.h |
183 | harbaum | 214 | osm-gps-map.o: config.h converter.h osm-gps-map-types.h osm-gps-map.h |
184 | harbaum | 315 | osm-gps-map-osd-classic.o: config.h osm-gps-map.h converter.h |
185 | osm-gps-map-osd-classic.o: osm-gps-map-osd-classic.h | ||
186 | osm-gps-map-osd-select.o: config.h osm-gps-map.h converter.h | ||
187 | osm-gps-map-osd-select.o: osm-gps-map-osd-select.h | ||
188 | harbaum | 214 | pos.o: appdata.h pos.h osm.h canvas.h undo.h settings.h map.h map_hl.h |
189 | pos.o: osm_api.h project.h statusbar.h area_edit.h diff.h iconbar.h icon.h | ||
190 | harbaum | 144 | pos.o: info.h track.h gps.h wms.h josm_presets.h relation_edit.h misc.h |
191 | harbaum | 146 | pos.o: map_edit.h josm_elemstyles.h style.h net_io.h banner.h list.h |
192 | harbaum | 315 | pos.o: scale_popup.h about.h |
193 | harbaum | 214 | project.o: appdata.h pos.h osm.h canvas.h undo.h settings.h map.h map_hl.h |
194 | project.o: osm_api.h project.h statusbar.h area_edit.h diff.h iconbar.h | ||
195 | harbaum | 144 | project.o: icon.h info.h track.h gps.h wms.h josm_presets.h relation_edit.h |
196 | project.o: misc.h map_edit.h josm_elemstyles.h style.h net_io.h banner.h | ||
197 | harbaum | 315 | project.o: list.h scale_popup.h about.h |
198 | harbaum | 214 | relation_edit.o: appdata.h pos.h osm.h canvas.h undo.h settings.h map.h |
199 | relation_edit.o: map_hl.h osm_api.h project.h statusbar.h area_edit.h diff.h | ||
200 | relation_edit.o: iconbar.h icon.h info.h track.h gps.h wms.h josm_presets.h | ||
201 | relation_edit.o: relation_edit.h misc.h map_edit.h josm_elemstyles.h style.h | ||
202 | harbaum | 315 | relation_edit.o: net_io.h banner.h list.h scale_popup.h about.h |
203 | harbaum | 270 | scale_popup.o: appdata.h pos.h osm.h canvas.h undo.h settings.h map.h |
204 | scale_popup.o: map_hl.h osm_api.h project.h statusbar.h area_edit.h diff.h | ||
205 | scale_popup.o: iconbar.h icon.h info.h track.h gps.h wms.h josm_presets.h | ||
206 | scale_popup.o: relation_edit.h misc.h map_edit.h josm_elemstyles.h style.h | ||
207 | harbaum | 315 | scale_popup.o: net_io.h banner.h list.h scale_popup.h about.h |
208 | harbaum | 214 | search.o: appdata.h pos.h osm.h canvas.h undo.h settings.h map.h map_hl.h |
209 | search.o: osm_api.h project.h statusbar.h area_edit.h diff.h iconbar.h icon.h | ||
210 | search.o: info.h track.h gps.h wms.h josm_presets.h relation_edit.h misc.h | ||
211 | search.o: map_edit.h josm_elemstyles.h style.h net_io.h banner.h list.h | ||
212 | harbaum | 315 | search.o: scale_popup.h about.h |
213 | harbaum | 214 | settings.o: appdata.h pos.h osm.h canvas.h undo.h settings.h map.h map_hl.h |
214 | settings.o: osm_api.h project.h statusbar.h area_edit.h diff.h iconbar.h | ||
215 | harbaum | 144 | settings.o: icon.h info.h track.h gps.h wms.h josm_presets.h relation_edit.h |
216 | settings.o: misc.h map_edit.h josm_elemstyles.h style.h net_io.h banner.h | ||
217 | harbaum | 315 | settings.o: list.h scale_popup.h about.h |
218 | harbaum | 214 | statusbar.o: appdata.h pos.h osm.h canvas.h undo.h settings.h map.h map_hl.h |
219 | statusbar.o: osm_api.h project.h statusbar.h area_edit.h diff.h iconbar.h | ||
220 | harbaum | 144 | statusbar.o: icon.h info.h track.h gps.h wms.h josm_presets.h relation_edit.h |
221 | statusbar.o: misc.h map_edit.h josm_elemstyles.h style.h net_io.h banner.h | ||
222 | harbaum | 315 | statusbar.o: list.h scale_popup.h about.h |
223 | harbaum | 214 | style.o: appdata.h pos.h osm.h canvas.h undo.h settings.h map.h map_hl.h |
224 | style.o: osm_api.h project.h statusbar.h area_edit.h diff.h iconbar.h icon.h | ||
225 | harbaum | 144 | style.o: info.h track.h gps.h wms.h josm_presets.h relation_edit.h misc.h |
226 | harbaum | 146 | style.o: map_edit.h josm_elemstyles.h style.h net_io.h banner.h list.h |
227 | harbaum | 315 | style.o: scale_popup.h about.h |
228 | harbaum | 214 | track.o: appdata.h pos.h osm.h canvas.h undo.h settings.h map.h map_hl.h |
229 | track.o: osm_api.h project.h statusbar.h area_edit.h diff.h iconbar.h icon.h | ||
230 | harbaum | 144 | track.o: info.h track.h gps.h wms.h josm_presets.h relation_edit.h misc.h |
231 | harbaum | 146 | track.o: map_edit.h josm_elemstyles.h style.h net_io.h banner.h list.h |
232 | harbaum | 315 | track.o: scale_popup.h about.h |
233 | harbaum | 214 | undo.o: appdata.h pos.h osm.h canvas.h undo.h settings.h map.h map_hl.h |
234 | undo.o: osm_api.h project.h statusbar.h area_edit.h diff.h iconbar.h icon.h | ||
235 | harbaum | 144 | undo.o: info.h track.h gps.h wms.h josm_presets.h relation_edit.h misc.h |
236 | harbaum | 146 | undo.o: map_edit.h josm_elemstyles.h style.h net_io.h banner.h list.h |
237 | harbaum | 315 | undo.o: scale_popup.h about.h |
238 | harbaum | 214 | wms.o: appdata.h pos.h osm.h canvas.h undo.h settings.h map.h map_hl.h |
239 | wms.o: osm_api.h project.h statusbar.h area_edit.h diff.h iconbar.h icon.h | ||
240 | harbaum | 144 | wms.o: info.h track.h gps.h wms.h josm_presets.h relation_edit.h misc.h |
241 | harbaum | 146 | wms.o: map_edit.h josm_elemstyles.h style.h net_io.h banner.h list.h |
242 | harbaum | 315 | wms.o: scale_popup.h about.h |