Parent Directory | Revision Log
GPS focus enable, portrait support and some attribute icon work
1 | harbaum | 1 | # |
2 | # Copyright (C) 2008 Till Harbaum <till@harbaum.org>. | ||
3 | # | ||
4 | # This file is part of GPXView. | ||
5 | # | ||
6 | # GPXView 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 | # GPXView 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 GPXView. If not, see <http://www.gnu.org/licenses/>. | ||
18 | # | ||
19 | |||
20 | APP = @PACKAGE@ | ||
21 | harbaum | 135 | prefix = @prefix@ |
22 | datarootdir = @datarootdir@ | ||
23 | datadir = @datarootdir@ | ||
24 | harbaum | 1 | EXTRA_OBJS = @EXTRA_OBJS@ |
25 | VERSION = $${VERSION_PREFIX}@PACKAGE_VERSION@$${VERSION_SUFFIX} | ||
26 | harbaum | 249 | MAEMO_VERSION_MAJOR = @MAEMO_VERSION_MAJOR@ |
27 | harbaum | 1 | |
28 | bindir = @bindir@ | ||
29 | |||
30 | OBJS = main.o gpx.o goto.o gps.o misc.o gconf.o html.o icons.o cache.o \ | ||
31 | geomath.o settings.o custom_size_renderer.o custom_rating_renderer.o \ | ||
32 | harbaum | 283 | notes.o custom_type_renderer.o unzip.o ioapi.o precpos.o astro.o \ |
33 | harbaum | 288 | portrait.o garmin_export.o geotext.o gcvote.o geotoad.o about.o \ |
34 | $(EXTRA_OBJS) | ||
35 | harbaum | 1 | |
36 | harbaum | 135 | DEFS = -DVERSION=\"$(VERSION)\" -DPREFIX=\"$(prefix)\" -DICONPATH=\"$(datadir)/$(APP)/\" -DAPP=\"$(APP)\" |
37 | harbaum | 1 | CFLAGS = -Wall -O2 $(DEFS) @CFLAGS@ |
38 | LDFLAGS = @LIBS@ -lz | ||
39 | |||
40 | all: $(APP) | ||
41 | |||
42 | %.o: %.c Makefile | ||
43 | gcc $(CFLAGS) -o $@ -c $< | ||
44 | |||
45 | $(APP): $(OBJS) | ||
46 | gcc -o $@ $(OBJS) $(LDFLAGS) | ||
47 | |||
48 | install: | ||
49 | harbaum | 135 | install -d $(DESTDIR)$(prefix)$(bindir) |
50 | harbaum | 249 | if [ "$(MAEMO_VERSION_MAJOR)" == "5" ]; then \ |
51 | echo "Optifying binary"; \ | ||
52 | install -d $(DESTDIR)$(datadir)/$(APP); \ | ||
53 | install $(APP) $(DESTDIR)$(datadir)/$(APP)/$(APP).bin; \ | ||
54 | ln -s $(datadir)/$(APP)/$(APP).bin $(DESTDIR)$(prefix)$(bindir)/$(APP); \ | ||
55 | else \ | ||
56 | echo "Not Optifying binary"; \ | ||
57 | install $(APP) $(DESTDIR)$(prefix)$(bindir); \ | ||
58 | fi | ||
59 | harbaum | 1 | |
60 | clean: | ||
61 | rm -f gpxview *.o *~ \#*\# | ||
62 | |||
63 | dep: | ||
64 | makedepend -Y -fMakefile.in *.c | ||
65 | |||
66 | |||
67 | # DO NOT DELETE | ||
68 | |||
69 | harbaum | 280 | about.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gcvote.h |
70 | about.o: gconf.h html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h | ||
71 | about.o: precpos.h garmin_export.h geotoad.h about.h misc.h | ||
72 | bct.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gcvote.h | ||
73 | bct.o: gconf.h html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h | ||
74 | bct.o: precpos.h garmin_export.h geotoad.h about.h misc.h | ||
75 | cache.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gcvote.h | ||
76 | cache.o: gconf.h html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h | ||
77 | cache.o: precpos.h garmin_export.h geotoad.h about.h misc.h | ||
78 | harbaum | 75 | converter.o: osm-gps-map-types.h osm-gps-map.h config.h converter.h |
79 | harbaum | 1 | custom_rating_renderer.o: gpxview.h config.h gpx.h settings.h gps.h goto.h |
80 | harbaum | 280 | custom_rating_renderer.o: cache.h gcvote.h gconf.h html.h icons.h geomath.h |
81 | custom_rating_renderer.o: geotext.h notes.h help.h mm_poi.h precpos.h | ||
82 | custom_rating_renderer.o: garmin_export.h geotoad.h about.h misc.h | ||
83 | custom_rating_renderer.o: custom_rating_renderer.h | ||
84 | harbaum | 1 | custom_size_renderer.o: gpxview.h config.h gpx.h settings.h gps.h goto.h |
85 | harbaum | 280 | custom_size_renderer.o: cache.h gcvote.h gconf.h html.h icons.h geomath.h |
86 | custom_size_renderer.o: geotext.h notes.h help.h mm_poi.h precpos.h | ||
87 | custom_size_renderer.o: garmin_export.h geotoad.h about.h misc.h | ||
88 | custom_size_renderer.o: custom_size_renderer.h | ||
89 | harbaum | 1 | custom_type_renderer.o: gpxview.h config.h gpx.h settings.h gps.h goto.h |
90 | harbaum | 280 | custom_type_renderer.o: cache.h gcvote.h gconf.h html.h icons.h geomath.h |
91 | custom_type_renderer.o: geotext.h notes.h help.h mm_poi.h precpos.h | ||
92 | custom_type_renderer.o: garmin_export.h geotoad.h about.h misc.h | ||
93 | custom_type_renderer.o: custom_type_renderer.h | ||
94 | dbus.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gcvote.h | ||
95 | dbus.o: gconf.h html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h | ||
96 | dbus.o: precpos.h garmin_export.h geotoad.h about.h misc.h dbus.h | ||
97 | harbaum | 1 | garmin_export.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h |
98 | harbaum | 280 | garmin_export.o: gcvote.h gconf.h html.h icons.h geomath.h geotext.h notes.h |
99 | garmin_export.o: help.h mm_poi.h precpos.h garmin_export.h geotoad.h about.h | ||
100 | garmin_export.o: misc.h | ||
101 | gconf.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gcvote.h | ||
102 | gconf.o: gconf.h html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h | ||
103 | gconf.o: precpos.h garmin_export.h geotoad.h about.h misc.h | ||
104 | gcvote.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gcvote.h | ||
105 | gcvote.o: gconf.h html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h | ||
106 | gcvote.o: precpos.h garmin_export.h geotoad.h about.h misc.h | ||
107 | geomath.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gcvote.h | ||
108 | geomath.o: gconf.h html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h | ||
109 | geomath.o: precpos.h garmin_export.h geotoad.h about.h misc.h | ||
110 | geotext.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gcvote.h | ||
111 | geotext.o: gconf.h html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h | ||
112 | geotext.o: precpos.h garmin_export.h geotoad.h about.h misc.h | ||
113 | geotoad.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gcvote.h | ||
114 | geotoad.o: gconf.h html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h | ||
115 | geotoad.o: precpos.h garmin_export.h geotoad.h about.h misc.h | ||
116 | goto.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gcvote.h | ||
117 | goto.o: gconf.h html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h | ||
118 | goto.o: precpos.h garmin_export.h geotoad.h about.h misc.h | ||
119 | gps.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gcvote.h | ||
120 | gps.o: gconf.h html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h | ||
121 | gps.o: precpos.h garmin_export.h geotoad.h about.h misc.h | ||
122 | gpx.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gcvote.h | ||
123 | gpx.o: gconf.h html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h | ||
124 | gpx.o: precpos.h garmin_export.h geotoad.h about.h misc.h unzip.h ioapi.h | ||
125 | html.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gcvote.h | ||
126 | html.o: gconf.h html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h | ||
127 | html.o: precpos.h garmin_export.h geotoad.h about.h misc.h | ||
128 | icons.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gcvote.h | ||
129 | icons.o: gconf.h html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h | ||
130 | icons.o: precpos.h garmin_export.h geotoad.h about.h misc.h | ||
131 | harbaum | 1 | ioapi.o: ioapi.h |
132 | harbaum | 280 | main.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gcvote.h |
133 | main.o: gconf.h html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h | ||
134 | main.o: precpos.h garmin_export.h geotoad.h about.h misc.h | ||
135 | main.o: custom_size_renderer.h custom_rating_renderer.h | ||
136 | main.o: custom_type_renderer.h | ||
137 | map-tool.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gcvote.h | ||
138 | map-tool.o: gconf.h html.h icons.h geomath.h geotext.h notes.h help.h | ||
139 | map-tool.o: mm_poi.h precpos.h garmin_export.h geotoad.h about.h misc.h | ||
140 | map-tool.o: converter.h | ||
141 | misc.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gcvote.h | ||
142 | misc.o: gconf.h html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h | ||
143 | misc.o: precpos.h garmin_export.h geotoad.h about.h misc.h | ||
144 | mm_poi.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gcvote.h | ||
145 | mm_poi.o: gconf.h html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h | ||
146 | mm_poi.o: precpos.h garmin_export.h geotoad.h about.h misc.h | ||
147 | notes.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gcvote.h | ||
148 | notes.o: gconf.h html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h | ||
149 | notes.o: precpos.h garmin_export.h geotoad.h about.h misc.h | ||
150 | harbaum | 65 | osm-gps-map.o: config.h converter.h osm-gps-map-types.h osm-gps-map.h |
151 | harbaum | 157 | osm-gps-map-osd-classic.o: config.h osm-gps-map.h converter.h |
152 | osm-gps-map-osd-classic.o: osm-gps-map-osd-classic.h | ||
153 | harbaum | 280 | precpos.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gcvote.h |
154 | precpos.o: gconf.h html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h | ||
155 | precpos.o: precpos.h garmin_export.h geotoad.h about.h misc.h | ||
156 | settings.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gcvote.h | ||
157 | settings.o: gconf.h html.h icons.h geomath.h geotext.h notes.h help.h | ||
158 | settings.o: mm_poi.h precpos.h garmin_export.h geotoad.h about.h misc.h | ||
159 | harbaum | 1 | unzip.o: unzip.h ioapi.h crypt.h |