Contents of /trunk/src/Makefile.maemo

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4 - (show annotations)
Wed Dec 10 19:50:17 2008 UTC (15 years, 5 months ago) by harbaum
File size: 9314 byte(s)
Asynchronous network io
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
31
32 DEFS = -DUSE_HILDON -DPACKAGE=\"$(APP)\" -DUSE_GOOCANVAS
33 CFLAGS = -Wall -O2 $(DEFS) `pkg-config --cflags $(PKGS)`
34 LDFLAGS = `pkg-config --libs $(PKGS)`
35
36 all: $(APP)
37
38 version.h: ../debian/changelog
39 awk '!/^$$/ { print "#define VERSION \"" $$2 "\"";exit }' $< | tr -d \(\) > $@
40
41 %.o: %.c
42 gcc $(CFLAGS) -o $@ -c $<
43
44 $(APP): $(OBJS)
45 gcc $(LDFLAGS) -o $@ $(OBJS)
46
47 install:
48 install $(APP) $(DESTDIR)$(PREFIX)/bin
49
50 clean:
51 rm -f osm2go *.o *~ */*~ \#*\# version.h *.bak
52
53 dep:
54 makedepend -Y -fMakefile.maemo *.c
55
56 # DO NOT DELETE
57
58 area_edit.o: appdata.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h
59 area_edit.o: project.h statusbar.h area_edit.h settings.h diff.h iconbar.h
60 area_edit.o: icon.h info.h track.h gps.h wms.h josm_presets.h relation_edit.h
61 area_edit.o: misc.h map_edit.h josm_elemstyles.h style.h net_io.h
62 canvas_gnomecanvas.o: appdata.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h
63 canvas_gnomecanvas.o: project.h statusbar.h area_edit.h settings.h diff.h
64 canvas_gnomecanvas.o: iconbar.h icon.h info.h track.h gps.h wms.h
65 canvas_gnomecanvas.o: josm_presets.h relation_edit.h misc.h map_edit.h
66 canvas_gnomecanvas.o: josm_elemstyles.h style.h net_io.h
67 canvas_goocanvas.o: appdata.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h
68 canvas_goocanvas.o: project.h statusbar.h area_edit.h settings.h diff.h
69 canvas_goocanvas.o: iconbar.h icon.h info.h track.h gps.h wms.h
70 canvas_goocanvas.o: josm_presets.h relation_edit.h misc.h map_edit.h
71 canvas_goocanvas.o: josm_elemstyles.h style.h net_io.h
72 dbus.o: appdata.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h project.h
73 dbus.o: statusbar.h area_edit.h settings.h diff.h iconbar.h icon.h info.h
74 dbus.o: track.h gps.h wms.h josm_presets.h relation_edit.h misc.h map_edit.h
75 dbus.o: josm_elemstyles.h style.h net_io.h
76 diff.o: appdata.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h project.h
77 diff.o: statusbar.h area_edit.h settings.h diff.h iconbar.h icon.h info.h
78 diff.o: track.h gps.h wms.h josm_presets.h relation_edit.h misc.h map_edit.h
79 diff.o: josm_elemstyles.h style.h net_io.h
80 gps.o: appdata.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h project.h
81 gps.o: statusbar.h area_edit.h settings.h diff.h iconbar.h icon.h info.h
82 gps.o: track.h gps.h wms.h josm_presets.h relation_edit.h misc.h map_edit.h
83 gps.o: josm_elemstyles.h style.h net_io.h
84 icon.o: appdata.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h project.h
85 icon.o: statusbar.h area_edit.h settings.h diff.h iconbar.h icon.h info.h
86 icon.o: track.h gps.h wms.h josm_presets.h relation_edit.h misc.h map_edit.h
87 icon.o: josm_elemstyles.h style.h net_io.h
88 iconbar.o: appdata.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h project.h
89 iconbar.o: statusbar.h area_edit.h settings.h diff.h iconbar.h icon.h info.h
90 iconbar.o: track.h gps.h wms.h josm_presets.h relation_edit.h misc.h
91 iconbar.o: map_edit.h josm_elemstyles.h style.h net_io.h
92 info.o: appdata.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h project.h
93 info.o: statusbar.h area_edit.h settings.h diff.h iconbar.h icon.h info.h
94 info.o: track.h gps.h wms.h josm_presets.h relation_edit.h misc.h map_edit.h
95 info.o: josm_elemstyles.h style.h net_io.h
96 josm_elemstyles.o: appdata.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h
97 josm_elemstyles.o: project.h statusbar.h area_edit.h settings.h diff.h
98 josm_elemstyles.o: iconbar.h icon.h info.h track.h gps.h wms.h josm_presets.h
99 josm_elemstyles.o: relation_edit.h misc.h map_edit.h josm_elemstyles.h
100 josm_elemstyles.o: style.h net_io.h
101 josm_presets.o: appdata.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h
102 josm_presets.o: project.h statusbar.h area_edit.h settings.h diff.h iconbar.h
103 josm_presets.o: icon.h info.h track.h gps.h wms.h josm_presets.h
104 josm_presets.o: relation_edit.h misc.h map_edit.h josm_elemstyles.h style.h
105 josm_presets.o: net_io.h
106 main.o: appdata.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h project.h
107 main.o: statusbar.h area_edit.h settings.h diff.h iconbar.h icon.h info.h
108 main.o: track.h gps.h wms.h josm_presets.h relation_edit.h misc.h map_edit.h
109 main.o: josm_elemstyles.h style.h net_io.h
110 map.o: appdata.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h project.h
111 map.o: statusbar.h area_edit.h settings.h diff.h iconbar.h icon.h info.h
112 map.o: track.h gps.h wms.h josm_presets.h relation_edit.h misc.h map_edit.h
113 map.o: josm_elemstyles.h style.h net_io.h
114 map_edit.o: appdata.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h project.h
115 map_edit.o: statusbar.h area_edit.h settings.h diff.h iconbar.h icon.h info.h
116 map_edit.o: track.h gps.h wms.h josm_presets.h relation_edit.h misc.h
117 map_edit.o: map_edit.h josm_elemstyles.h style.h net_io.h
118 map_hl.o: appdata.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h project.h
119 map_hl.o: statusbar.h area_edit.h settings.h diff.h iconbar.h icon.h info.h
120 map_hl.o: track.h gps.h wms.h josm_presets.h relation_edit.h misc.h
121 map_hl.o: map_edit.h josm_elemstyles.h style.h net_io.h
122 misc.o: appdata.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h project.h
123 misc.o: statusbar.h area_edit.h settings.h diff.h iconbar.h icon.h info.h
124 misc.o: track.h gps.h wms.h josm_presets.h relation_edit.h misc.h map_edit.h
125 misc.o: josm_elemstyles.h style.h net_io.h
126 net_io.o: appdata.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h project.h
127 net_io.o: statusbar.h area_edit.h settings.h diff.h iconbar.h icon.h info.h
128 net_io.o: track.h gps.h wms.h josm_presets.h relation_edit.h misc.h
129 net_io.o: map_edit.h josm_elemstyles.h style.h net_io.h
130 osm.o: appdata.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h project.h
131 osm.o: statusbar.h area_edit.h settings.h diff.h iconbar.h icon.h info.h
132 osm.o: track.h gps.h wms.h josm_presets.h relation_edit.h misc.h map_edit.h
133 osm.o: josm_elemstyles.h style.h net_io.h
134 osm_api.o: appdata.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h project.h
135 osm_api.o: statusbar.h area_edit.h settings.h diff.h iconbar.h icon.h info.h
136 osm_api.o: track.h gps.h wms.h josm_presets.h relation_edit.h misc.h
137 osm_api.o: map_edit.h josm_elemstyles.h style.h net_io.h
138 pos.o: appdata.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h project.h
139 pos.o: statusbar.h area_edit.h settings.h diff.h iconbar.h icon.h info.h
140 pos.o: track.h gps.h wms.h josm_presets.h relation_edit.h misc.h map_edit.h
141 pos.o: josm_elemstyles.h style.h net_io.h
142 project.o: appdata.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h project.h
143 project.o: statusbar.h area_edit.h settings.h diff.h iconbar.h icon.h info.h
144 project.o: track.h gps.h wms.h josm_presets.h relation_edit.h misc.h
145 project.o: map_edit.h josm_elemstyles.h style.h net_io.h
146 relation_edit.o: appdata.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h
147 relation_edit.o: project.h statusbar.h area_edit.h settings.h diff.h
148 relation_edit.o: iconbar.h icon.h info.h track.h gps.h wms.h josm_presets.h
149 relation_edit.o: relation_edit.h misc.h map_edit.h josm_elemstyles.h style.h
150 relation_edit.o: net_io.h
151 settings.o: appdata.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h project.h
152 settings.o: statusbar.h area_edit.h settings.h diff.h iconbar.h icon.h info.h
153 settings.o: track.h gps.h wms.h josm_presets.h relation_edit.h misc.h
154 settings.o: map_edit.h josm_elemstyles.h style.h net_io.h
155 statusbar.o: appdata.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h
156 statusbar.o: project.h statusbar.h area_edit.h settings.h diff.h iconbar.h
157 statusbar.o: icon.h info.h track.h gps.h wms.h josm_presets.h relation_edit.h
158 statusbar.o: misc.h map_edit.h josm_elemstyles.h style.h net_io.h
159 style.o: appdata.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h project.h
160 style.o: statusbar.h area_edit.h settings.h diff.h iconbar.h icon.h info.h
161 style.o: track.h gps.h wms.h josm_presets.h relation_edit.h misc.h map_edit.h
162 style.o: josm_elemstyles.h style.h net_io.h
163 track.o: appdata.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h project.h
164 track.o: statusbar.h area_edit.h settings.h diff.h iconbar.h icon.h info.h
165 track.o: track.h gps.h wms.h josm_presets.h relation_edit.h misc.h map_edit.h
166 track.o: josm_elemstyles.h style.h net_io.h
167 wms.o: appdata.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h project.h
168 wms.o: statusbar.h area_edit.h settings.h diff.h iconbar.h icon.h info.h
169 wms.o: track.h gps.h wms.h josm_presets.h relation_edit.h misc.h map_edit.h
170 wms.o: josm_elemstyles.h style.h net_io.h