Parent Directory | Revision Log
Double buffering for OSD
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 | PREFIX ?= @prefix@ |
22 | EXTRA_OBJS = @EXTRA_OBJS@ |
23 | VERSION = $${VERSION_PREFIX}@PACKAGE_VERSION@$${VERSION_SUFFIX} |
24 | |
25 | bindir = @bindir@ |
26 | |
27 | OBJS = main.o gpx.o goto.o gps.o misc.o gconf.o html.o icons.o cache.o \ |
28 | geomath.o settings.o custom_size_renderer.o custom_rating_renderer.o \ |
29 | notes.o custom_type_renderer.o unzip.o ioapi.o precpos.o \ |
30 | garmin_export.o geotext.o $(EXTRA_OBJS) |
31 | |
32 | DEFS = -DVERSION=\"$(VERSION)\" -DICONPATH=\"$(PREFIX)/share/$(APP)/\" -DAPP=\"$(APP)\" |
33 | CFLAGS = -Wall -O2 $(DEFS) @CFLAGS@ |
34 | LDFLAGS = @LIBS@ -lz |
35 | |
36 | all: $(APP) |
37 | |
38 | %.o: %.c Makefile |
39 | gcc $(CFLAGS) -o $@ -c $< |
40 | |
41 | $(APP): $(OBJS) |
42 | gcc -o $@ $(OBJS) $(LDFLAGS) |
43 | |
44 | install: |
45 | install -d $(DESTDIR)$(PREFIX)$(bindir) |
46 | install $(APP) $(DESTDIR)$(PREFIX)$(bindir) |
47 | |
48 | clean: |
49 | rm -f gpxview *.o *~ \#*\# |
50 | |
51 | dep: |
52 | makedepend -Y -fMakefile.in *.c |
53 | |
54 | |
55 | # DO NOT DELETE |
56 | |
57 | cache.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h |
58 | cache.o: html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h precpos.h |
59 | cache.o: garmin_export.h misc.h |
60 | converter.o: osm-gps-map-types.h osm-gps-map.h config.h converter.h |
61 | custom_rating_renderer.o: gpxview.h config.h gpx.h settings.h gps.h goto.h |
62 | custom_rating_renderer.o: cache.h gconf.h html.h icons.h geomath.h geotext.h |
63 | custom_rating_renderer.o: notes.h help.h mm_poi.h precpos.h garmin_export.h |
64 | custom_rating_renderer.o: misc.h custom_rating_renderer.h |
65 | custom_size_renderer.o: gpxview.h config.h gpx.h settings.h gps.h goto.h |
66 | custom_size_renderer.o: cache.h gconf.h html.h icons.h geomath.h geotext.h |
67 | custom_size_renderer.o: notes.h help.h mm_poi.h precpos.h garmin_export.h |
68 | custom_size_renderer.o: misc.h custom_size_renderer.h |
69 | custom_type_renderer.o: gpxview.h config.h gpx.h settings.h gps.h goto.h |
70 | custom_type_renderer.o: cache.h gconf.h html.h icons.h geomath.h geotext.h |
71 | custom_type_renderer.o: notes.h help.h mm_poi.h precpos.h garmin_export.h |
72 | custom_type_renderer.o: misc.h custom_type_renderer.h |
73 | dbus.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h |
74 | dbus.o: html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h precpos.h |
75 | dbus.o: garmin_export.h misc.h dbus.h |
76 | garmin_export.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h |
77 | garmin_export.o: gconf.h html.h icons.h geomath.h geotext.h notes.h help.h |
78 | garmin_export.o: mm_poi.h precpos.h garmin_export.h misc.h |
79 | gconf.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h |
80 | gconf.o: html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h precpos.h |
81 | gconf.o: garmin_export.h misc.h |
82 | geomath.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h |
83 | geomath.o: html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h |
84 | geomath.o: precpos.h garmin_export.h misc.h |
85 | geotext.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h |
86 | geotext.o: html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h |
87 | geotext.o: precpos.h garmin_export.h misc.h |
88 | goto.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h |
89 | goto.o: html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h precpos.h |
90 | goto.o: garmin_export.h misc.h |
91 | gps.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h |
92 | gps.o: html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h precpos.h |
93 | gps.o: garmin_export.h misc.h |
94 | gpx.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h |
95 | gpx.o: html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h precpos.h |
96 | gpx.o: garmin_export.h misc.h unzip.h ioapi.h |
97 | html.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h |
98 | html.o: html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h precpos.h |
99 | html.o: garmin_export.h misc.h |
100 | icons.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h |
101 | icons.o: html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h precpos.h |
102 | icons.o: garmin_export.h misc.h |
103 | ioapi.o: ioapi.h |
104 | main.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h |
105 | main.o: html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h precpos.h |
106 | main.o: garmin_export.h misc.h custom_size_renderer.h |
107 | main.o: custom_rating_renderer.h custom_type_renderer.h |
108 | map-tool.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h |
109 | map-tool.o: html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h |
110 | map-tool.o: precpos.h garmin_export.h misc.h converter.h |
111 | misc.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h |
112 | misc.o: html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h precpos.h |
113 | misc.o: garmin_export.h misc.h |
114 | mm_poi.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h |
115 | mm_poi.o: html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h |
116 | mm_poi.o: precpos.h garmin_export.h misc.h |
117 | notes.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h |
118 | notes.o: html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h precpos.h |
119 | notes.o: garmin_export.h misc.h |
120 | osm-gps-map.o: config.h converter.h osm-gps-map-types.h osm-gps-map.h |
121 | osm-gps-map-osd-classic.o: config.h osm-gps-map.h osm-gps-map-osd-classic.h |
122 | precpos.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h |
123 | precpos.o: html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h |
124 | precpos.o: precpos.h garmin_export.h misc.h |
125 | settings.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h |
126 | settings.o: html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h |
127 | settings.o: precpos.h garmin_export.h misc.h |
128 | unzip.o: unzip.h ioapi.h crypt.h |