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