Parent Directory | Revision Log
Update from trunk; make it build properly with the new stuff.
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 = osm2go |
21 | PREFIX = /usr |
22 | |
23 | PKGS = gtk+-2.0 hildon-1 libosso libxml-2.0 goocanvas \ |
24 | libcurl gthread-2.0 hildon-fm-2 gnome-vfs-module-2.0 gpsbt |
25 | |
26 | OBJS = main.o map.o osm.o osm_api.o wms.o \ |
27 | statusbar.o project.o settings.o pos.o diff.o map_hl.o \ |
28 | iconbar.o info.o icon.o track.o gps.o canvas_goocanvas.o \ |
29 | area_edit.o dbus.o josm_presets.o relation_edit.o misc.o \ |
30 | map_edit.o josm_elemstyles.o style.o net_io.o banner.o \ |
31 | qnd_xml.o undo.o |
32 | |
33 | DEFS = -DUSE_HILDON -DPACKAGE=\"$(APP)\" -DPREFIX=\"$(PREFIX)\" -DOSM_QND_XML_PARSER -DUSE_GOOCANVAS -DUSE_FLOAT |
34 | CFLAGS = -Wall -O2 $(DEFS) `pkg-config --cflags $(PKGS)` |
35 | LDFLAGS = `pkg-config --libs $(PKGS)` |
36 | |
37 | all: $(APP) |
38 | |
39 | %.o: %.c |
40 | gcc $(CFLAGS) -o $@ -c $< |
41 | |
42 | $(APP): $(OBJS) |
43 | gcc $(LDFLAGS) -o $@ $(OBJS) |
44 | |
45 | install: |
46 | install $(APP) $(DESTDIR)$(PREFIX)/bin |
47 | |
48 | clean: |
49 | rm -f osm2go *.o *~ */*~ \#*\# version.h *.bak |
50 | |
51 | -include ../version.mk |
52 | |
53 | dep: version.h |
54 | makedepend -Y -fMakefile.maemo *.c |
55 | |
56 | # DO NOT DELETE |
57 | |
58 | area_edit.o: appdata.h version.h pos.h osm.h canvas.h map.h map_hl.h |
59 | area_edit.o: osm_api.h project.h statusbar.h area_edit.h settings.h diff.h |
60 | area_edit.o: iconbar.h icon.h info.h track.h gps.h wms.h josm_presets.h |
61 | area_edit.o: relation_edit.h misc.h map_edit.h josm_elemstyles.h style.h |
62 | area_edit.o: net_io.h |
63 | canvas_gnomecanvas.o: appdata.h version.h pos.h osm.h canvas.h map.h map_hl.h |
64 | canvas_gnomecanvas.o: osm_api.h project.h statusbar.h area_edit.h settings.h |
65 | canvas_gnomecanvas.o: diff.h iconbar.h icon.h info.h track.h gps.h wms.h |
66 | canvas_gnomecanvas.o: josm_presets.h relation_edit.h misc.h map_edit.h |
67 | canvas_gnomecanvas.o: josm_elemstyles.h style.h net_io.h |
68 | canvas_goocanvas.o: appdata.h version.h pos.h osm.h canvas.h map.h map_hl.h |
69 | canvas_goocanvas.o: osm_api.h project.h statusbar.h area_edit.h settings.h |
70 | canvas_goocanvas.o: diff.h iconbar.h icon.h info.h track.h gps.h wms.h |
71 | canvas_goocanvas.o: josm_presets.h relation_edit.h misc.h map_edit.h |
72 | canvas_goocanvas.o: josm_elemstyles.h style.h net_io.h |
73 | dbus.o: appdata.h version.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h |
74 | dbus.o: project.h statusbar.h area_edit.h settings.h diff.h iconbar.h icon.h |
75 | dbus.o: info.h track.h gps.h wms.h josm_presets.h relation_edit.h misc.h |
76 | dbus.o: map_edit.h josm_elemstyles.h style.h net_io.h |
77 | diff.o: appdata.h version.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h |
78 | diff.o: project.h statusbar.h area_edit.h settings.h diff.h iconbar.h icon.h |
79 | diff.o: info.h track.h gps.h wms.h josm_presets.h relation_edit.h misc.h |
80 | diff.o: map_edit.h josm_elemstyles.h style.h net_io.h |
81 | gps.o: appdata.h version.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h |
82 | gps.o: project.h statusbar.h area_edit.h settings.h diff.h iconbar.h icon.h |
83 | gps.o: info.h track.h gps.h wms.h josm_presets.h relation_edit.h misc.h |
84 | gps.o: map_edit.h josm_elemstyles.h style.h net_io.h |
85 | icon.o: appdata.h version.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h |
86 | icon.o: project.h statusbar.h area_edit.h settings.h diff.h iconbar.h icon.h |
87 | icon.o: info.h track.h gps.h wms.h josm_presets.h relation_edit.h misc.h |
88 | icon.o: map_edit.h josm_elemstyles.h style.h net_io.h |
89 | iconbar.o: appdata.h version.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h |
90 | iconbar.o: project.h statusbar.h area_edit.h settings.h diff.h iconbar.h |
91 | iconbar.o: icon.h info.h track.h gps.h wms.h josm_presets.h relation_edit.h |
92 | iconbar.o: misc.h map_edit.h josm_elemstyles.h style.h net_io.h |
93 | info.o: appdata.h version.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h |
94 | info.o: project.h statusbar.h area_edit.h settings.h diff.h iconbar.h icon.h |
95 | info.o: info.h track.h gps.h wms.h josm_presets.h relation_edit.h misc.h |
96 | info.o: map_edit.h josm_elemstyles.h style.h net_io.h |
97 | josm_elemstyles.o: appdata.h version.h pos.h osm.h canvas.h map.h map_hl.h |
98 | josm_elemstyles.o: osm_api.h project.h statusbar.h area_edit.h settings.h |
99 | josm_elemstyles.o: diff.h iconbar.h icon.h info.h track.h gps.h wms.h |
100 | josm_elemstyles.o: josm_presets.h relation_edit.h misc.h map_edit.h |
101 | josm_elemstyles.o: josm_elemstyles.h style.h net_io.h |
102 | josm_presets.o: appdata.h version.h pos.h osm.h canvas.h map.h map_hl.h |
103 | josm_presets.o: osm_api.h project.h statusbar.h area_edit.h settings.h diff.h |
104 | josm_presets.o: iconbar.h icon.h info.h track.h gps.h wms.h josm_presets.h |
105 | josm_presets.o: relation_edit.h misc.h map_edit.h josm_elemstyles.h style.h |
106 | josm_presets.o: net_io.h |
107 | map.o: appdata.h version.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h |
108 | map.o: project.h statusbar.h area_edit.h settings.h diff.h iconbar.h icon.h |
109 | map.o: info.h track.h gps.h wms.h josm_presets.h relation_edit.h misc.h |
110 | map.o: map_edit.h josm_elemstyles.h style.h net_io.h |
111 | map_edit.o: appdata.h version.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h |
112 | map_edit.o: project.h statusbar.h area_edit.h settings.h diff.h iconbar.h |
113 | map_edit.o: icon.h info.h track.h gps.h wms.h josm_presets.h relation_edit.h |
114 | map_edit.o: misc.h map_edit.h josm_elemstyles.h style.h net_io.h |
115 | map_hl.o: appdata.h version.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h |
116 | map_hl.o: project.h statusbar.h area_edit.h settings.h diff.h iconbar.h |
117 | map_hl.o: icon.h info.h track.h gps.h wms.h josm_presets.h relation_edit.h |
118 | map_hl.o: misc.h map_edit.h josm_elemstyles.h style.h net_io.h |
119 | misc.o: appdata.h version.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h |
120 | misc.o: project.h statusbar.h area_edit.h settings.h diff.h iconbar.h icon.h |
121 | misc.o: info.h track.h gps.h wms.h josm_presets.h relation_edit.h misc.h |
122 | misc.o: map_edit.h josm_elemstyles.h style.h net_io.h |
123 | net_io.o: appdata.h version.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h |
124 | net_io.o: project.h statusbar.h area_edit.h settings.h diff.h iconbar.h |
125 | net_io.o: icon.h info.h track.h gps.h wms.h josm_presets.h relation_edit.h |
126 | net_io.o: misc.h map_edit.h josm_elemstyles.h style.h net_io.h |
127 | osm.o: appdata.h version.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h |
128 | osm.o: project.h statusbar.h area_edit.h settings.h diff.h iconbar.h icon.h |
129 | osm.o: info.h track.h gps.h wms.h josm_presets.h relation_edit.h misc.h |
130 | osm.o: map_edit.h josm_elemstyles.h style.h net_io.h |
131 | osm_api.o: appdata.h version.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h |
132 | osm_api.o: project.h statusbar.h area_edit.h settings.h diff.h iconbar.h |
133 | osm_api.o: icon.h info.h track.h gps.h wms.h josm_presets.h relation_edit.h |
134 | osm_api.o: misc.h map_edit.h josm_elemstyles.h style.h net_io.h |
135 | pos.o: appdata.h version.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h |
136 | pos.o: project.h statusbar.h area_edit.h settings.h diff.h iconbar.h icon.h |
137 | pos.o: info.h track.h gps.h wms.h josm_presets.h relation_edit.h misc.h |
138 | pos.o: map_edit.h josm_elemstyles.h style.h net_io.h |
139 | project.o: appdata.h version.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h |
140 | project.o: project.h statusbar.h area_edit.h settings.h diff.h iconbar.h |
141 | project.o: icon.h info.h track.h gps.h wms.h josm_presets.h relation_edit.h |
142 | project.o: misc.h map_edit.h josm_elemstyles.h style.h net_io.h |
143 | relation_edit.o: appdata.h version.h pos.h osm.h canvas.h map.h map_hl.h |
144 | relation_edit.o: osm_api.h project.h statusbar.h area_edit.h settings.h |
145 | relation_edit.o: diff.h iconbar.h icon.h info.h track.h gps.h wms.h |
146 | relation_edit.o: josm_presets.h relation_edit.h misc.h map_edit.h |
147 | relation_edit.o: josm_elemstyles.h style.h net_io.h |
148 | settings.o: appdata.h version.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h |
149 | settings.o: project.h statusbar.h area_edit.h settings.h diff.h iconbar.h |
150 | settings.o: icon.h info.h track.h gps.h wms.h josm_presets.h relation_edit.h |
151 | settings.o: misc.h map_edit.h josm_elemstyles.h style.h net_io.h |
152 | statusbar.o: appdata.h version.h pos.h osm.h canvas.h map.h map_hl.h |
153 | statusbar.o: osm_api.h project.h statusbar.h area_edit.h settings.h diff.h |
154 | statusbar.o: iconbar.h icon.h info.h track.h gps.h wms.h josm_presets.h |
155 | statusbar.o: relation_edit.h misc.h map_edit.h josm_elemstyles.h style.h |
156 | statusbar.o: net_io.h |
157 | style.o: appdata.h version.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h |
158 | style.o: project.h statusbar.h area_edit.h settings.h diff.h iconbar.h icon.h |
159 | style.o: info.h track.h gps.h wms.h josm_presets.h relation_edit.h misc.h |
160 | style.o: map_edit.h josm_elemstyles.h style.h net_io.h |
161 | track.o: appdata.h version.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h |
162 | track.o: project.h statusbar.h area_edit.h settings.h diff.h iconbar.h icon.h |
163 | track.o: info.h track.h gps.h wms.h josm_presets.h relation_edit.h misc.h |
164 | track.o: map_edit.h josm_elemstyles.h style.h net_io.h |
165 | wms.o: appdata.h version.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h |
166 | wms.o: project.h statusbar.h area_edit.h settings.h diff.h iconbar.h icon.h |
167 | wms.o: info.h track.h gps.h wms.h josm_presets.h relation_edit.h misc.h |
168 | wms.o: map_edit.h josm_elemstyles.h style.h net_io.h |
169 | banner.o: banner.h appdata.h version.h pos.h osm.h canvas.h map.h map_hl.h |
170 | banner.o: osm_api.h project.h statusbar.h area_edit.h settings.h diff.h |
171 | banner.o: iconbar.h icon.h info.h track.h gps.h wms.h josm_presets.h |
172 | banner.o: relation_edit.h misc.h map_edit.h josm_elemstyles.h style.h |
173 | banner.o: net_io.h |
174 | main.o: appdata.h version.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h |
175 | main.o: project.h statusbar.h area_edit.h settings.h diff.h iconbar.h icon.h |
176 | main.o: info.h track.h gps.h wms.h josm_presets.h relation_edit.h misc.h |
177 | main.o: map_edit.h josm_elemstyles.h style.h net_io.h banner.h |