Contents of /trunk/src/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4 - (show annotations)
Wed Dec 10 19:50:17 2008 UTC (15 years, 4 months ago) by harbaum
File size: 9194 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/local
22
23 PKGS = gtk+-2.0 libxml-2.0 goocanvas libcurl gthread-2.0 \
24 gnome-vfs-module-2.0
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 josm_presets.o relation_edit.o misc.o map_edit.o \
30 josm_elemstyles.o style.o net_io.o
31
32 DEFS = -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 clean:
48 rm -f osm2go *.o *~ */*~ \#*\# version.h *.bak
49
50 dep:
51 makedepend -Y *.c
52
53 # DO NOT DELETE
54
55 area_edit.o: appdata.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h
56 area_edit.o: project.h statusbar.h area_edit.h settings.h diff.h iconbar.h
57 area_edit.o: icon.h info.h track.h gps.h wms.h josm_presets.h relation_edit.h
58 area_edit.o: misc.h map_edit.h josm_elemstyles.h style.h net_io.h
59 canvas_gnomecanvas.o: appdata.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h
60 canvas_gnomecanvas.o: project.h statusbar.h area_edit.h settings.h diff.h
61 canvas_gnomecanvas.o: iconbar.h icon.h info.h track.h gps.h wms.h
62 canvas_gnomecanvas.o: josm_presets.h relation_edit.h misc.h map_edit.h
63 canvas_gnomecanvas.o: josm_elemstyles.h style.h net_io.h
64 canvas_goocanvas.o: appdata.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h
65 canvas_goocanvas.o: project.h statusbar.h area_edit.h settings.h diff.h
66 canvas_goocanvas.o: iconbar.h icon.h info.h track.h gps.h wms.h
67 canvas_goocanvas.o: josm_presets.h relation_edit.h misc.h map_edit.h
68 canvas_goocanvas.o: josm_elemstyles.h style.h net_io.h
69 dbus.o: appdata.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h project.h
70 dbus.o: statusbar.h area_edit.h settings.h diff.h iconbar.h icon.h info.h
71 dbus.o: track.h gps.h wms.h josm_presets.h relation_edit.h misc.h map_edit.h
72 dbus.o: josm_elemstyles.h style.h net_io.h
73 diff.o: appdata.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h project.h
74 diff.o: statusbar.h area_edit.h settings.h diff.h iconbar.h icon.h info.h
75 diff.o: track.h gps.h wms.h josm_presets.h relation_edit.h misc.h map_edit.h
76 diff.o: josm_elemstyles.h style.h net_io.h
77 gps.o: appdata.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h project.h
78 gps.o: statusbar.h area_edit.h settings.h diff.h iconbar.h icon.h info.h
79 gps.o: track.h gps.h wms.h josm_presets.h relation_edit.h misc.h map_edit.h
80 gps.o: josm_elemstyles.h style.h net_io.h
81 icon.o: appdata.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h project.h
82 icon.o: statusbar.h area_edit.h settings.h diff.h iconbar.h icon.h info.h
83 icon.o: track.h gps.h wms.h josm_presets.h relation_edit.h misc.h map_edit.h
84 icon.o: josm_elemstyles.h style.h net_io.h
85 iconbar.o: appdata.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h project.h
86 iconbar.o: statusbar.h area_edit.h settings.h diff.h iconbar.h icon.h info.h
87 iconbar.o: track.h gps.h wms.h josm_presets.h relation_edit.h misc.h
88 iconbar.o: map_edit.h josm_elemstyles.h style.h net_io.h
89 info.o: appdata.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h project.h
90 info.o: statusbar.h area_edit.h settings.h diff.h iconbar.h icon.h info.h
91 info.o: track.h gps.h wms.h josm_presets.h relation_edit.h misc.h map_edit.h
92 info.o: josm_elemstyles.h style.h net_io.h
93 josm_elemstyles.o: appdata.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h
94 josm_elemstyles.o: project.h statusbar.h area_edit.h settings.h diff.h
95 josm_elemstyles.o: iconbar.h icon.h info.h track.h gps.h wms.h josm_presets.h
96 josm_elemstyles.o: relation_edit.h misc.h map_edit.h josm_elemstyles.h
97 josm_elemstyles.o: style.h net_io.h
98 josm_presets.o: appdata.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h
99 josm_presets.o: project.h statusbar.h area_edit.h settings.h diff.h iconbar.h
100 josm_presets.o: icon.h info.h track.h gps.h wms.h josm_presets.h
101 josm_presets.o: relation_edit.h misc.h map_edit.h josm_elemstyles.h style.h
102 josm_presets.o: net_io.h
103 main.o: appdata.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h project.h
104 main.o: statusbar.h area_edit.h settings.h diff.h iconbar.h icon.h info.h
105 main.o: track.h gps.h wms.h josm_presets.h relation_edit.h misc.h map_edit.h
106 main.o: josm_elemstyles.h style.h net_io.h
107 map.o: appdata.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h project.h
108 map.o: statusbar.h area_edit.h settings.h diff.h iconbar.h icon.h info.h
109 map.o: track.h gps.h wms.h josm_presets.h relation_edit.h misc.h map_edit.h
110 map.o: josm_elemstyles.h style.h net_io.h
111 map_edit.o: appdata.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h project.h
112 map_edit.o: statusbar.h area_edit.h settings.h diff.h iconbar.h icon.h info.h
113 map_edit.o: track.h gps.h wms.h josm_presets.h relation_edit.h misc.h
114 map_edit.o: map_edit.h josm_elemstyles.h style.h net_io.h
115 map_hl.o: appdata.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h project.h
116 map_hl.o: statusbar.h area_edit.h settings.h diff.h iconbar.h icon.h info.h
117 map_hl.o: track.h gps.h wms.h josm_presets.h relation_edit.h misc.h
118 map_hl.o: map_edit.h josm_elemstyles.h style.h net_io.h
119 misc.o: appdata.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h project.h
120 misc.o: statusbar.h area_edit.h settings.h diff.h iconbar.h icon.h info.h
121 misc.o: track.h gps.h wms.h josm_presets.h relation_edit.h misc.h map_edit.h
122 misc.o: josm_elemstyles.h style.h net_io.h
123 net_io.o: appdata.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h project.h
124 net_io.o: statusbar.h area_edit.h settings.h diff.h iconbar.h icon.h info.h
125 net_io.o: track.h gps.h wms.h josm_presets.h relation_edit.h misc.h
126 net_io.o: map_edit.h josm_elemstyles.h style.h net_io.h
127 osm.o: appdata.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h project.h
128 osm.o: statusbar.h area_edit.h settings.h diff.h iconbar.h icon.h info.h
129 osm.o: track.h gps.h wms.h josm_presets.h relation_edit.h misc.h map_edit.h
130 osm.o: josm_elemstyles.h style.h net_io.h
131 osm_api.o: appdata.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h project.h
132 osm_api.o: statusbar.h area_edit.h settings.h diff.h iconbar.h icon.h info.h
133 osm_api.o: track.h gps.h wms.h josm_presets.h relation_edit.h misc.h
134 osm_api.o: map_edit.h josm_elemstyles.h style.h net_io.h
135 pos.o: appdata.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h project.h
136 pos.o: statusbar.h area_edit.h settings.h diff.h iconbar.h icon.h info.h
137 pos.o: track.h gps.h wms.h josm_presets.h relation_edit.h misc.h map_edit.h
138 pos.o: josm_elemstyles.h style.h net_io.h
139 project.o: appdata.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h project.h
140 project.o: statusbar.h area_edit.h settings.h diff.h iconbar.h icon.h info.h
141 project.o: track.h gps.h wms.h josm_presets.h relation_edit.h misc.h
142 project.o: map_edit.h josm_elemstyles.h style.h net_io.h
143 relation_edit.o: appdata.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h
144 relation_edit.o: project.h statusbar.h area_edit.h settings.h diff.h
145 relation_edit.o: iconbar.h icon.h info.h track.h gps.h wms.h josm_presets.h
146 relation_edit.o: relation_edit.h misc.h map_edit.h josm_elemstyles.h style.h
147 relation_edit.o: net_io.h
148 settings.o: appdata.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h project.h
149 settings.o: statusbar.h area_edit.h settings.h diff.h iconbar.h icon.h info.h
150 settings.o: track.h gps.h wms.h josm_presets.h relation_edit.h misc.h
151 settings.o: map_edit.h josm_elemstyles.h style.h net_io.h
152 statusbar.o: appdata.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h
153 statusbar.o: project.h statusbar.h area_edit.h settings.h diff.h iconbar.h
154 statusbar.o: icon.h info.h track.h gps.h wms.h josm_presets.h relation_edit.h
155 statusbar.o: misc.h map_edit.h josm_elemstyles.h style.h net_io.h
156 style.o: appdata.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h project.h
157 style.o: statusbar.h area_edit.h settings.h diff.h iconbar.h icon.h info.h
158 style.o: track.h gps.h wms.h josm_presets.h relation_edit.h misc.h map_edit.h
159 style.o: josm_elemstyles.h style.h net_io.h
160 track.o: appdata.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h project.h
161 track.o: statusbar.h area_edit.h settings.h diff.h iconbar.h icon.h info.h
162 track.o: track.h gps.h wms.h josm_presets.h relation_edit.h misc.h map_edit.h
163 track.o: josm_elemstyles.h style.h net_io.h
164 wms.o: appdata.h pos.h osm.h canvas.h map.h map_hl.h osm_api.h project.h
165 wms.o: statusbar.h area_edit.h settings.h diff.h iconbar.h icon.h info.h
166 wms.o: track.h gps.h wms.h josm_presets.h relation_edit.h misc.h map_edit.h
167 wms.o: josm_elemstyles.h style.h net_io.h