Parent Directory | Revision Log
Versioning fixes, more install flexibility, new desktop icon resolutions.
1 | # |
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 | PREFIX ?= @prefix@ |
22 | EXTRA_OBJS = @EXTRA_OBJS@ |
23 | VERSION = $${VERSION_PREFIX}@PACKAGE_VERSION@$${VERSION_SUFFIX} |
24 | |
25 | bindir = @bindir@ |
26 | |
27 | |
28 | OBJS = main.o map.o osm.o osm_api.o wms.o \ |
29 | statusbar.o project.o settings.o pos.o diff.o map_hl.o \ |
30 | iconbar.o info.o icon.o track.o gps.o canvas_goocanvas.o \ |
31 | area_edit.o josm_presets.o relation_edit.o misc.o map_edit.o \ |
32 | josm_elemstyles.o style.o net_io.o banner.o undo.o $(EXTRA_OBJS) |
33 | |
34 | DEFS = -DPACKAGE=\"$(APP)\" -DPREFIX=\"@prefix@\" -DVERSION=\"$(VERSION)\" |
35 | CFLAGS = -Wall $(DEFS) @CFLAGS@ |
36 | LDFLAGS = @LIBS@ |
37 | |
38 | all: $(APP) |
39 | |
40 | %.o: %.c |
41 | gcc $(CFLAGS) -o $@ -c $< |
42 | |
43 | $(APP): $(OBJS) |
44 | gcc $(LDFLAGS) -o $@ $(OBJS) |
45 | |
46 | clean: |
47 | rm -f osm2go *.o *~ */*~ \#*\# version.h *.bak |
48 | |
49 | install: $(APP) |
50 | install -d $(DESTDIR)$(PREFIX)$(bindir) |
51 | install $(APP) $(DESTDIR)$(PREFIX)$(bindir) |
52 | |
53 | # DO NOT DELETE |
54 | |
55 | area_edit.o: appdata.h pos.h osm.h canvas.h undo.h map.h map_hl.h |
56 | area_edit.o: osm_api.h project.h statusbar.h area_edit.h settings.h diff.h |
57 | area_edit.o: iconbar.h icon.h info.h track.h gps.h wms.h josm_presets.h |
58 | area_edit.o: relation_edit.h misc.h map_edit.h josm_elemstyles.h style.h |
59 | area_edit.o: net_io.h banner.h |
60 | banner.o: banner.h appdata.h pos.h osm.h canvas.h undo.h map.h |
61 | banner.o: map_hl.h osm_api.h project.h statusbar.h area_edit.h settings.h |
62 | banner.o: diff.h iconbar.h icon.h info.h track.h gps.h wms.h josm_presets.h |
63 | banner.o: relation_edit.h misc.h map_edit.h josm_elemstyles.h style.h |
64 | banner.o: net_io.h |
65 | canvas_gnomecanvas.o: appdata.h pos.h osm.h canvas.h undo.h map.h |
66 | canvas_gnomecanvas.o: map_hl.h osm_api.h project.h statusbar.h area_edit.h |
67 | canvas_gnomecanvas.o: settings.h diff.h iconbar.h icon.h info.h track.h gps.h |
68 | canvas_gnomecanvas.o: wms.h josm_presets.h relation_edit.h misc.h map_edit.h |
69 | canvas_gnomecanvas.o: josm_elemstyles.h style.h net_io.h banner.h |
70 | canvas_goocanvas.o: appdata.h pos.h osm.h canvas.h undo.h map.h |
71 | canvas_goocanvas.o: map_hl.h osm_api.h project.h statusbar.h area_edit.h |
72 | canvas_goocanvas.o: settings.h diff.h iconbar.h icon.h info.h track.h gps.h |
73 | canvas_goocanvas.o: wms.h josm_presets.h relation_edit.h misc.h map_edit.h |
74 | canvas_goocanvas.o: josm_elemstyles.h style.h net_io.h banner.h |
75 | dbus.o: appdata.h pos.h osm.h canvas.h undo.h map.h map_hl.h |
76 | dbus.o: osm_api.h project.h statusbar.h area_edit.h settings.h diff.h |
77 | dbus.o: iconbar.h icon.h info.h track.h gps.h wms.h josm_presets.h |
78 | dbus.o: relation_edit.h misc.h map_edit.h josm_elemstyles.h style.h net_io.h |
79 | dbus.o: banner.h |
80 | diff.o: appdata.h pos.h osm.h canvas.h undo.h map.h map_hl.h |
81 | diff.o: osm_api.h project.h statusbar.h area_edit.h settings.h diff.h |
82 | diff.o: iconbar.h icon.h info.h track.h gps.h wms.h josm_presets.h |
83 | diff.o: relation_edit.h misc.h map_edit.h josm_elemstyles.h style.h net_io.h |
84 | diff.o: banner.h |
85 | gps.o: appdata.h pos.h osm.h canvas.h undo.h map.h map_hl.h |
86 | gps.o: osm_api.h project.h statusbar.h area_edit.h settings.h diff.h |
87 | gps.o: iconbar.h icon.h info.h track.h gps.h wms.h josm_presets.h |
88 | gps.o: relation_edit.h misc.h map_edit.h josm_elemstyles.h style.h net_io.h |
89 | gps.o: banner.h |
90 | icon.o: appdata.h pos.h osm.h canvas.h undo.h map.h map_hl.h |
91 | icon.o: osm_api.h project.h statusbar.h area_edit.h settings.h diff.h |
92 | icon.o: iconbar.h icon.h info.h track.h gps.h wms.h josm_presets.h |
93 | icon.o: relation_edit.h misc.h map_edit.h josm_elemstyles.h style.h net_io.h |
94 | icon.o: banner.h |
95 | iconbar.o: appdata.h pos.h osm.h canvas.h undo.h map.h map_hl.h |
96 | iconbar.o: osm_api.h project.h statusbar.h area_edit.h settings.h diff.h |
97 | iconbar.o: iconbar.h icon.h info.h track.h gps.h wms.h josm_presets.h |
98 | iconbar.o: relation_edit.h misc.h map_edit.h josm_elemstyles.h style.h |
99 | iconbar.o: net_io.h banner.h |
100 | info.o: appdata.h pos.h osm.h canvas.h undo.h map.h map_hl.h |
101 | info.o: osm_api.h project.h statusbar.h area_edit.h settings.h diff.h |
102 | info.o: iconbar.h icon.h info.h track.h gps.h wms.h josm_presets.h |
103 | info.o: relation_edit.h misc.h map_edit.h josm_elemstyles.h style.h net_io.h |
104 | info.o: banner.h |
105 | josm_elemstyles.o: appdata.h pos.h osm.h canvas.h undo.h map.h |
106 | josm_elemstyles.o: map_hl.h osm_api.h project.h statusbar.h area_edit.h |
107 | josm_elemstyles.o: settings.h diff.h iconbar.h icon.h info.h track.h gps.h |
108 | josm_elemstyles.o: wms.h josm_presets.h relation_edit.h misc.h map_edit.h |
109 | josm_elemstyles.o: josm_elemstyles.h style.h net_io.h banner.h |
110 | josm_presets.o: appdata.h pos.h osm.h canvas.h undo.h map.h |
111 | josm_presets.o: map_hl.h osm_api.h project.h statusbar.h area_edit.h |
112 | josm_presets.o: settings.h diff.h iconbar.h icon.h info.h track.h gps.h wms.h |
113 | josm_presets.o: josm_presets.h relation_edit.h misc.h map_edit.h |
114 | josm_presets.o: josm_elemstyles.h style.h net_io.h banner.h |
115 | main.o: appdata.h pos.h osm.h canvas.h undo.h map.h map_hl.h |
116 | main.o: osm_api.h project.h statusbar.h area_edit.h settings.h diff.h |
117 | main.o: iconbar.h icon.h info.h track.h gps.h wms.h josm_presets.h |
118 | main.o: relation_edit.h misc.h map_edit.h josm_elemstyles.h style.h net_io.h |
119 | main.o: banner.h |
120 | map.o: appdata.h pos.h osm.h canvas.h undo.h map.h map_hl.h |
121 | map.o: osm_api.h project.h statusbar.h area_edit.h settings.h diff.h |
122 | map.o: iconbar.h icon.h info.h track.h gps.h wms.h josm_presets.h |
123 | map.o: relation_edit.h misc.h map_edit.h josm_elemstyles.h style.h net_io.h |
124 | map.o: banner.h |
125 | map_edit.o: appdata.h pos.h osm.h canvas.h undo.h map.h map_hl.h |
126 | map_edit.o: osm_api.h project.h statusbar.h area_edit.h settings.h diff.h |
127 | map_edit.o: iconbar.h icon.h info.h track.h gps.h wms.h josm_presets.h |
128 | map_edit.o: relation_edit.h misc.h map_edit.h josm_elemstyles.h style.h |
129 | map_edit.o: net_io.h banner.h |
130 | map_hl.o: appdata.h pos.h osm.h canvas.h undo.h map.h map_hl.h |
131 | map_hl.o: osm_api.h project.h statusbar.h area_edit.h settings.h diff.h |
132 | map_hl.o: iconbar.h icon.h info.h track.h gps.h wms.h josm_presets.h |
133 | map_hl.o: relation_edit.h misc.h map_edit.h josm_elemstyles.h style.h |
134 | map_hl.o: net_io.h banner.h |
135 | misc.o: appdata.h pos.h osm.h canvas.h undo.h map.h map_hl.h |
136 | misc.o: osm_api.h project.h statusbar.h area_edit.h settings.h diff.h |
137 | misc.o: iconbar.h icon.h info.h track.h gps.h wms.h josm_presets.h |
138 | misc.o: relation_edit.h misc.h map_edit.h josm_elemstyles.h style.h net_io.h |
139 | misc.o: banner.h |
140 | net_io.o: appdata.h pos.h osm.h canvas.h undo.h map.h map_hl.h |
141 | net_io.o: osm_api.h project.h statusbar.h area_edit.h settings.h diff.h |
142 | net_io.o: iconbar.h icon.h info.h track.h gps.h wms.h josm_presets.h |
143 | net_io.o: relation_edit.h misc.h map_edit.h josm_elemstyles.h style.h |
144 | net_io.o: net_io.h banner.h |
145 | osm.o: appdata.h pos.h osm.h canvas.h undo.h map.h map_hl.h |
146 | osm.o: osm_api.h project.h statusbar.h area_edit.h settings.h diff.h |
147 | osm.o: iconbar.h icon.h info.h track.h gps.h wms.h josm_presets.h |
148 | osm.o: relation_edit.h misc.h map_edit.h josm_elemstyles.h style.h net_io.h |
149 | osm.o: banner.h |
150 | osm_api.o: appdata.h pos.h osm.h canvas.h undo.h map.h map_hl.h |
151 | osm_api.o: osm_api.h project.h statusbar.h area_edit.h settings.h diff.h |
152 | osm_api.o: iconbar.h icon.h info.h track.h gps.h wms.h josm_presets.h |
153 | osm_api.o: relation_edit.h misc.h map_edit.h josm_elemstyles.h style.h |
154 | osm_api.o: net_io.h banner.h |
155 | pos.o: appdata.h pos.h osm.h canvas.h undo.h map.h map_hl.h |
156 | pos.o: osm_api.h project.h statusbar.h area_edit.h settings.h diff.h |
157 | pos.o: iconbar.h icon.h info.h track.h gps.h wms.h josm_presets.h |
158 | pos.o: relation_edit.h misc.h map_edit.h josm_elemstyles.h style.h net_io.h |
159 | pos.o: banner.h |
160 | project.o: appdata.h pos.h osm.h canvas.h undo.h map.h map_hl.h |
161 | project.o: osm_api.h project.h statusbar.h area_edit.h settings.h diff.h |
162 | project.o: iconbar.h icon.h info.h track.h gps.h wms.h josm_presets.h |
163 | project.o: relation_edit.h misc.h map_edit.h josm_elemstyles.h style.h |
164 | project.o: net_io.h banner.h |
165 | relation_edit.o: appdata.h pos.h osm.h canvas.h undo.h map.h |
166 | relation_edit.o: map_hl.h osm_api.h project.h statusbar.h area_edit.h |
167 | relation_edit.o: settings.h diff.h iconbar.h icon.h info.h track.h gps.h |
168 | relation_edit.o: wms.h josm_presets.h relation_edit.h misc.h map_edit.h |
169 | relation_edit.o: josm_elemstyles.h style.h net_io.h banner.h |
170 | settings.o: appdata.h pos.h osm.h canvas.h undo.h map.h map_hl.h |
171 | settings.o: osm_api.h project.h statusbar.h area_edit.h settings.h diff.h |
172 | settings.o: iconbar.h icon.h info.h track.h gps.h wms.h josm_presets.h |
173 | settings.o: relation_edit.h misc.h map_edit.h josm_elemstyles.h style.h |
174 | settings.o: net_io.h banner.h |
175 | statusbar.o: appdata.h pos.h osm.h canvas.h undo.h map.h map_hl.h |
176 | statusbar.o: osm_api.h project.h statusbar.h area_edit.h settings.h diff.h |
177 | statusbar.o: iconbar.h icon.h info.h track.h gps.h wms.h josm_presets.h |
178 | statusbar.o: relation_edit.h misc.h map_edit.h josm_elemstyles.h style.h |
179 | statusbar.o: net_io.h banner.h |
180 | style.o: appdata.h pos.h osm.h canvas.h undo.h map.h map_hl.h |
181 | style.o: osm_api.h project.h statusbar.h area_edit.h settings.h diff.h |
182 | style.o: iconbar.h icon.h info.h track.h gps.h wms.h josm_presets.h |
183 | style.o: relation_edit.h misc.h map_edit.h josm_elemstyles.h style.h net_io.h |
184 | style.o: banner.h |
185 | track.o: appdata.h pos.h osm.h canvas.h undo.h map.h map_hl.h |
186 | track.o: osm_api.h project.h statusbar.h area_edit.h settings.h diff.h |
187 | track.o: iconbar.h icon.h info.h track.h gps.h wms.h josm_presets.h |
188 | track.o: relation_edit.h misc.h map_edit.h josm_elemstyles.h style.h net_io.h |
189 | track.o: banner.h |
190 | undo.o: appdata.h pos.h osm.h canvas.h undo.h map.h map_hl.h |
191 | undo.o: osm_api.h project.h statusbar.h area_edit.h settings.h diff.h |
192 | undo.o: iconbar.h icon.h info.h track.h gps.h wms.h josm_presets.h |
193 | undo.o: relation_edit.h misc.h map_edit.h josm_elemstyles.h style.h net_io.h |
194 | undo.o: banner.h |
195 | wms.o: appdata.h pos.h osm.h canvas.h undo.h map.h map_hl.h |
196 | wms.o: osm_api.h project.h statusbar.h area_edit.h settings.h diff.h |
197 | wms.o: iconbar.h icon.h info.h track.h gps.h wms.h josm_presets.h |
198 | wms.o: relation_edit.h misc.h map_edit.h josm_elemstyles.h style.h net_io.h |
199 | wms.o: banner.h |