Contents of /trunk/src/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1 - (show annotations)
Sat Jun 20 11:08:47 2009 UTC (14 years, 11 months ago) by harbaum
File size: 5504 byte(s)
Initial import
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 custom_rating_renderer.o: gpxview.h config.h gpx.h settings.h gps.h goto.h
61 custom_rating_renderer.o: cache.h gconf.h html.h icons.h geomath.h geotext.h
62 custom_rating_renderer.o: notes.h help.h mm_poi.h precpos.h garmin_export.h
63 custom_rating_renderer.o: misc.h custom_rating_renderer.h
64 custom_size_renderer.o: gpxview.h config.h gpx.h settings.h gps.h goto.h
65 custom_size_renderer.o: cache.h gconf.h html.h icons.h geomath.h geotext.h
66 custom_size_renderer.o: notes.h help.h mm_poi.h precpos.h garmin_export.h
67 custom_size_renderer.o: misc.h custom_size_renderer.h
68 custom_type_renderer.o: gpxview.h config.h gpx.h settings.h gps.h goto.h
69 custom_type_renderer.o: cache.h gconf.h html.h icons.h geomath.h geotext.h
70 custom_type_renderer.o: notes.h help.h mm_poi.h precpos.h garmin_export.h
71 custom_type_renderer.o: misc.h custom_type_renderer.h
72 garmin_export.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h
73 garmin_export.o: gconf.h html.h icons.h geomath.h geotext.h notes.h help.h
74 garmin_export.o: mm_poi.h precpos.h garmin_export.h misc.h
75 gconf.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h
76 gconf.o: html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h precpos.h
77 gconf.o: garmin_export.h misc.h
78 geomath.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h
79 geomath.o: html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h
80 geomath.o: precpos.h garmin_export.h misc.h
81 geotext.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h
82 geotext.o: html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h
83 geotext.o: precpos.h garmin_export.h misc.h
84 goto.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h
85 goto.o: html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h precpos.h
86 goto.o: garmin_export.h misc.h
87 gps.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h
88 gps.o: html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h precpos.h
89 gps.o: garmin_export.h misc.h
90 gpx.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h
91 gpx.o: html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h precpos.h
92 gpx.o: garmin_export.h misc.h unzip.h ioapi.h
93 html.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h
94 html.o: html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h precpos.h
95 html.o: garmin_export.h misc.h
96 icons.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h
97 icons.o: html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h precpos.h
98 icons.o: garmin_export.h misc.h
99 ioapi.o: ioapi.h
100 main.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h
101 main.o: html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h precpos.h
102 main.o: garmin_export.h misc.h custom_size_renderer.h
103 main.o: custom_rating_renderer.h custom_type_renderer.h
104 misc.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h
105 misc.o: html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h precpos.h
106 misc.o: garmin_export.h misc.h
107 mm_poi.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h
108 mm_poi.o: html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h
109 mm_poi.o: precpos.h garmin_export.h misc.h
110 notes.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h
111 notes.o: html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h precpos.h
112 notes.o: garmin_export.h misc.h
113 precpos.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h
114 precpos.o: html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h
115 precpos.o: precpos.h garmin_export.h misc.h
116 settings.o: gpxview.h config.h gpx.h settings.h gps.h goto.h cache.h gconf.h
117 settings.o: html.h icons.h geomath.h geotext.h notes.h help.h mm_poi.h
118 settings.o: precpos.h garmin_export.h misc.h
119 unzip.o: unzip.h ioapi.h crypt.h