18 |
# |
# |
19 |
|
|
20 |
APP = @PACKAGE@ |
APP = @PACKAGE@ |
21 |
PREFIX ?= @prefix@ |
prefix = @prefix@ |
22 |
|
datarootdir = @datarootdir@ |
23 |
|
datadir = @datarootdir@ |
24 |
EXTRA_OBJS = @EXTRA_OBJS@ |
EXTRA_OBJS = @EXTRA_OBJS@ |
25 |
VERSION = $${VERSION_PREFIX}@PACKAGE_VERSION@$${VERSION_SUFFIX} |
VERSION = $${VERSION_PREFIX}@PACKAGE_VERSION@$${VERSION_SUFFIX} |
26 |
|
|
31 |
notes.o custom_type_renderer.o unzip.o ioapi.o precpos.o \ |
notes.o custom_type_renderer.o unzip.o ioapi.o precpos.o \ |
32 |
garmin_export.o geotext.o $(EXTRA_OBJS) |
garmin_export.o geotext.o $(EXTRA_OBJS) |
33 |
|
|
34 |
DEFS = -DVERSION=\"$(VERSION)\" -DICONPATH=\"$(PREFIX)/share/$(APP)/\" -DAPP=\"$(APP)\" |
DEFS = -DVERSION=\"$(VERSION)\" -DPREFIX=\"$(prefix)\" -DICONPATH=\"$(datadir)/$(APP)/\" -DAPP=\"$(APP)\" |
35 |
CFLAGS = -Wall -O2 $(DEFS) @CFLAGS@ |
CFLAGS = -Wall -O2 $(DEFS) @CFLAGS@ |
36 |
LDFLAGS = @LIBS@ -lz |
LDFLAGS = @LIBS@ -lz |
37 |
|
|
44 |
gcc -o $@ $(OBJS) $(LDFLAGS) |
gcc -o $@ $(OBJS) $(LDFLAGS) |
45 |
|
|
46 |
install: |
install: |
47 |
install -d $(DESTDIR)$(PREFIX)$(bindir) |
install -d $(DESTDIR)$(prefix)$(bindir) |
48 |
install $(APP) $(DESTDIR)$(PREFIX)$(bindir) |
install $(APP) $(DESTDIR)$(prefix)$(bindir) |
49 |
|
|
50 |
clean: |
clean: |
51 |
rm -f gpxview *.o *~ \#*\# |
rm -f gpxview *.o *~ \#*\# |
59 |
cache.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h |
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 |
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 |
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 |
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 |
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 |
custom_rating_renderer.o: notes.h help.h mm_poi.h precpos.h garmin_export.h |
72 |
custom_type_renderer.o: cache.h gconf.h html.h icons.h geomath.h geotext.h |
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 |
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 |
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 |
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 |
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 |
garmin_export.o: mm_poi.h precpos.h garmin_export.h misc.h |
107 |
main.o: html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h precpos.h |
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 |
main.o: garmin_export.h misc.h custom_size_renderer.h |
109 |
main.o: custom_rating_renderer.h custom_type_renderer.h |
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 |
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 |
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 |
misc.o: garmin_export.h misc.h |
119 |
notes.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h |
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 |
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 |
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 |
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 |
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 |
precpos.o: precpos.h garmin_export.h misc.h |