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