1 |
include $(top_srcdir)/Makefile.inc
|
2 |
|
3 |
xpm_DATA = bus_halt.xpm
|
4 |
xpm_DATA += car_dealer.xpm
|
5 |
xpm_DATA += castle.xpm
|
6 |
xpm_DATA += cemetery.xpm
|
7 |
xpm_DATA += dumping_station.xpm
|
8 |
xpm_DATA += highway_exit.xpm
|
9 |
xpm_DATA += hunting_stand.xpm
|
10 |
xpm_DATA += level_crossing.xpm
|
11 |
xpm_DATA += library.xpm
|
12 |
xpm_DATA += memorial.xpm
|
13 |
xpm_DATA += picnic.xpm
|
14 |
xpm_DATA += potable_water.xpm
|
15 |
xpm_DATA += shelter.xpm
|
16 |
xpm_DATA += sport.xpm
|
17 |
xpm_DATA += theater.xpm
|
18 |
xpm_DATA += tower.xpm
|
19 |
xpm_DATA += townhall.xpm
|
20 |
xpm_DATA += trailerpark.xpm
|
21 |
xpm_DATA += unknown.xpm
|
22 |
xpm_DATA += public_office.xpm
|
23 |
|
24 |
|
25 |
## Obsolete. Should be removed eventually...
|
26 |
|
27 |
xpm_DATA += biergarten.xpm
|
28 |
xpm_DATA += restroom.xpm
|
29 |
|
30 |
## Obsolete end
|
31 |
|
32 |
|
33 |
xpm_DATA += flag_bk_tr.xpm
|
34 |
xpm_DATA += flag_bk_wh.xpm
|
35 |
xpm_DATA += flag_bl_wh.xpm
|
36 |
xpm_DATA += flag_wh_bk.xpm
|
37 |
|
38 |
xpm_DATA += gc_tradi.xpm
|
39 |
xpm_DATA += gc_multi.xpm
|
40 |
xpm_DATA += gc_mystery.xpm
|
41 |
xpm_DATA += gc_event.xpm
|
42 |
xpm_DATA += gc_reference.xpm
|
43 |
xpm_DATA += gc_webcam.xpm
|
44 |
xpm_DATA += gc_question.xpm
|
45 |
xpm_DATA += gc_stages.xpm
|
46 |
|
47 |
xpm_DATA += nav_left_1.xpm
|
48 |
xpm_DATA += nav_left_2.xpm
|
49 |
xpm_DATA += nav_right_1.xpm
|
50 |
xpm_DATA += nav_right_2.xpm
|
51 |
xpm_DATA += nav_straight.xpm
|
52 |
xpm_DATA += nav_straight_32.xpm
|
53 |
xpm_DATA += nav_left_1_32.xpm
|
54 |
xpm_DATA += nav_left_2_32.xpm
|
55 |
xpm_DATA += nav_right_1_32.xpm
|
56 |
xpm_DATA += nav_right_2_32.xpm
|
57 |
|
58 |
xpm_DATA += menu.xpm
|
59 |
xpm_DATA += toggle_fullscreen.xpm
|
60 |
|
61 |
svgs = gui_about.svg
|
62 |
svgs += gui_actions.svg
|
63 |
svgs += gui_active.svg
|
64 |
svgs += gui_bookmark.svg
|
65 |
svgs += gui_display.svg
|
66 |
svgs += gui_help.svg
|
67 |
svgs += gui_home.svg
|
68 |
svgs += gui_inactive.svg
|
69 |
svgs += gui_map.svg
|
70 |
svgs += gui_maps.svg
|
71 |
svgs += gui_rules.svg
|
72 |
svgs += gui_settings.svg
|
73 |
svgs += gui_sound.svg
|
74 |
svgs += gui_sound_off.svg
|
75 |
svgs += gui_tools.svg
|
76 |
svgs += gui_fullscreen.svg
|
77 |
svgs += gui_leave_fullscreen.svg
|
78 |
svgs += gui_quit.svg
|
79 |
svgs += gui_stop.svg
|
80 |
svgs += gui_town.svg
|
81 |
svgs += gui_vehicle.svg
|
82 |
svgs += gui_vehicle_pedestrian.svg
|
83 |
svgs += gui_zoom_in.svg
|
84 |
svgs += gui_zoom_out.svg
|
85 |
svgs += zoom_in.svg
|
86 |
svgs += zoom_out.svg
|
87 |
svgs += gui_select_street.svg
|
88 |
svgs += gui_select_town.svg
|
89 |
svgs += gui_select_country.svg
|
90 |
svgs += gui_arrow_left.svg
|
91 |
svgs += gui_arrow_right.svg
|
92 |
svgs += gui_arrow_up.svg
|
93 |
svgs += gui_arrow_down.svg
|
94 |
svgs += gui_menu.svg
|
95 |
svgs += gui_strength_0.svg
|
96 |
svgs += gui_strength_1.svg
|
97 |
svgs += gui_strength_2.svg
|
98 |
svgs += gui_strength_3.svg
|
99 |
svgs += gui_strength_4.svg
|
100 |
svgs += gui_strength_5.svg
|
101 |
svgs += gui_minus.svg
|
102 |
svgs += gui_plus.svg
|
103 |
svgs += gui_log.svg
|
104 |
|
105 |
svgs += airport.svg
|
106 |
svgs += attraction.svg
|
107 |
svgs += bank.svg
|
108 |
svgs += bar.svg
|
109 |
svgs += beer.svg
|
110 |
svgs += bench.svg
|
111 |
svgs += boat_ramp.svg
|
112 |
svgs += boundary_stone.svg
|
113 |
svgs += bus.svg
|
114 |
svgs += cafe.svg
|
115 |
svgs += camping.svg
|
116 |
svgs += cinema.svg
|
117 |
svgs += cursor.svg
|
118 |
svgs += danger.svg
|
119 |
svgs += exit.svg
|
120 |
svgs += fastfood.svg
|
121 |
svgs += firebrigade.svg
|
122 |
svgs += fountain.svg
|
123 |
svgs += fuel.svg
|
124 |
svgs += golf.svg
|
125 |
svgs += hospital.svg
|
126 |
svgs += hotel.svg
|
127 |
svgs += information.svg
|
128 |
svgs += justice.svg
|
129 |
svgs += mark.svg
|
130 |
svgs += military.svg
|
131 |
svgs += mini_roundabout.svg
|
132 |
svgs += museum.svg
|
133 |
svgs += parking.svg
|
134 |
svgs += peak.svg
|
135 |
svgs += pharmacy.svg
|
136 |
svgs += police.svg
|
137 |
svgs += post.svg
|
138 |
svgs += repair_service.svg
|
139 |
svgs += resort.svg
|
140 |
svgs += restaurant.svg
|
141 |
svgs += ruins.svg
|
142 |
svgs += school.svg
|
143 |
svgs += shopping.svg
|
144 |
svgs += shop_grocery.svg
|
145 |
svgs += skiing.svg
|
146 |
svgs += stadium.svg
|
147 |
svgs += swimming.svg
|
148 |
svgs += tec_common.svg
|
149 |
svgs += telephone.svg
|
150 |
svgs += toilets.svg
|
151 |
svgs += traffic_signals.svg
|
152 |
svgs += church.svg
|
153 |
svgs += zoo.svg
|
154 |
svgs += heliport.svg
|
155 |
svgs += wifi.svg
|
156 |
svgs += viewpoint.svg
|
157 |
|
158 |
|
159 |
nav_svgs = nav_left_1_bk.svg nav_left_1_wh.svg nav_left_2_bk.svg nav_left_2_wh.svg nav_left_3_bk.svg nav_left_3_wh.svg
|
160 |
nav_svgs += nav_right_1_bk.svg nav_right_1_wh.svg nav_right_2_bk.svg nav_right_2_wh.svg nav_right_3_bk.svg nav_right_3_wh.svg
|
161 |
nav_svgs += nav_roundabout_l1_bk.svg nav_roundabout_l1_wh.svg nav_roundabout_l2_bk.svg nav_roundabout_l2_wh.svg
|
162 |
nav_svgs += nav_roundabout_l3_bk.svg nav_roundabout_l3_wh.svg nav_roundabout_l4_bk.svg nav_roundabout_l4_wh.svg
|
163 |
nav_svgs += nav_roundabout_l5_bk.svg nav_roundabout_l5_wh.svg nav_roundabout_l6_bk.svg nav_roundabout_l6_wh.svg
|
164 |
nav_svgs += nav_roundabout_l7_bk.svg nav_roundabout_l7_wh.svg nav_roundabout_l8_bk.svg nav_roundabout_l8_wh.svg
|
165 |
nav_svgs += nav_roundabout_r1_bk.svg nav_roundabout_r1_wh.svg nav_roundabout_r2_bk.svg nav_roundabout_r2_wh.svg
|
166 |
nav_svgs += nav_roundabout_r3_bk.svg nav_roundabout_r3_wh.svg nav_roundabout_r4_bk.svg nav_roundabout_r4_wh.svg
|
167 |
nav_svgs += nav_roundabout_r5_bk.svg nav_roundabout_r5_wh.svg nav_roundabout_r6_bk.svg nav_roundabout_r6_wh.svg
|
168 |
nav_svgs += nav_roundabout_r7_bk.svg nav_roundabout_r7_wh.svg nav_roundabout_r8_bk.svg nav_roundabout_r8_wh.svg
|
169 |
nav_svgs += nav_straight_bk.svg nav_straight_wh.svg nav_turnaround_left_bk.svg nav_turnaround_left_wh.svg
|
170 |
nav_svgs += nav_turnaround_right_bk.svg nav_turnaround_right_wh.svg nav_destination_bk.svg nav_destination_wh.svg
|
171 |
|
172 |
flag_svgs = country_.svgz country_AD.svgz country_AE.svgz country_AF.svgz country_AG.svgz country_AI.svgz country_AL.svgz country_AM.svgz
|
173 |
flag_svgs += country_AN.svgz country_AO.svgz country_AQ.svgz country_AR.svgz country_AS.svgz country_AT.svgz country_AU.svgz country_AW.svgz
|
174 |
flag_svgs += country_AX.svgz country_AZ.svgz country_BA.svgz country_BB.svgz country_BD.svgz country_BE.svgz country_BF.svgz
|
175 |
flag_svgs += country_BG.svgz country_BH.svgz country_BI.svgz country_BJ.svgz country_BL.svgz country_BM.svgz country_BN.svgz
|
176 |
flag_svgs += country_BO.svgz country_BR.svgz country_BS.svgz country_BT.svgz country_BV.svgz country_BW.svgz country_BY.svgz
|
177 |
flag_svgs += country_BZ.svgz country_CA.svgz country_CC.svgz country_CD.svgz country_CF.svgz country_CG.svgz country_CH.svgz
|
178 |
flag_svgs += country_CI.svgz country_CK.svgz country_CL.svgz country_CM.svgz country_CN.svgz country_CO.svgz country_CR.svgz
|
179 |
flag_svgs += country_CU.svgz country_CV.svgz country_CX.svgz country_CY.svgz country_CZ.svgz country_DE.svgz country_DJ.svgz
|
180 |
flag_svgs += country_DK.svgz country_DM.svgz country_DO.svgz country_DZ.svgz country_EC.svgz country_EE.svgz country_EG.svgz
|
181 |
flag_svgs += country_EH.svgz country_ER.svgz country_ES.svgz country_ET.svgz country_FI.svgz country_FJ.svgz country_FK.svgz
|
182 |
flag_svgs += country_FM.svgz country_FO.svgz country_FR.svgz country_GA.svgz country_GB.svgz country_GD.svgz country_GE.svgz
|
183 |
flag_svgs += country_GF.svgz country_GG.svgz country_GH.svgz country_GI.svgz country_GL.svgz country_GM.svgz country_GN.svgz
|
184 |
flag_svgs += country_GP.svgz country_GQ.svgz country_GR.svgz country_GS.svgz country_GT.svgz country_GU.svgz country_GW.svgz
|
185 |
flag_svgs += country_GY.svgz country_HK.svgz country_HM.svgz country_HN.svgz country_HR.svgz country_HU.svgz
|
186 |
flag_svgs += country_ID.svgz country_IE.svgz country_IL.svgz country_IM.svgz country_IN.svgz country_IO.svgz country_IQ.svgz
|
187 |
flag_svgs += country_IR.svgz country_IS.svgz country_IT.svgz country_JE.svgz country_JM.svgz country_JO.svgz country_JP.svgz
|
188 |
flag_svgs += country_KE.svgz country_KG.svgz country_KH.svgz country_KI.svgz country_KM.svgz country_KN.svgz country_KP.svgz
|
189 |
flag_svgs += country_KR.svgz country_KW.svgz country_KY.svgz country_KZ.svgz country_LA.svgz country_LB.svgz country_LC.svgz
|
190 |
flag_svgs += country_LI.svgz country_LK.svgz country_LR.svgz country_LS.svgz country_LT.svgz country_LU.svgz country_LV.svgz
|
191 |
flag_svgs += country_LY.svgz country_MA.svgz country_MC.svgz country_MD.svgz country_ME.svgz country_MF.svgz country_MG.svgz
|
192 |
flag_svgs += country_MH.svgz country_MK.svgz country_ML.svgz country_MM.svgz country_MN.svgz country_MO.svgz country_MP.svgz
|
193 |
flag_svgs += country_MQ.svgz country_MR.svgz country_MS.svgz country_MT.svgz country_MU.svgz country_MV.svgz country_MW.svgz
|
194 |
flag_svgs += country_MX.svgz country_MY.svgz country_MZ.svgz country_NA.svgz country_NC.svgz country_NE.svgz country_NF.svgz
|
195 |
flag_svgs += country_NG.svgz country_NI.svgz country_NL.svgz country_NO.svgz country_NP.svgz country_NR.svgz country_NU.svgz
|
196 |
flag_svgs += country_NZ.svgz country_OM.svgz country_PA.svgz country_PE.svgz country_PF.svgz country_PG.svgz country_PH.svgz
|
197 |
flag_svgs += country_PK.svgz country_PL.svgz country_PM.svgz country_PN.svgz country_PR.svgz country_PS.svgz country_PT.svgz
|
198 |
flag_svgs += country_PW.svgz country_PY.svgz country_QA.svgz country_RE.svgz country_RO.svgz country_RS.svgz country_RU.svgz
|
199 |
flag_svgs += country_RW.svgz country_SA.svgz country_SB.svgz country_SC.svgz country_SD.svgz country_SE.svgz country_SG.svgz
|
200 |
flag_svgs += country_SH.svgz country_SI.svgz country_SJ.svgz country_SK.svgz country_SL.svgz country_SM.svgz country_SN.svgz
|
201 |
flag_svgs += country_SO.svgz country_SR.svgz country_ST.svgz country_SV.svgz country_SY.svgz country_SZ.svgz country_TC.svgz
|
202 |
flag_svgs += country_TD.svgz country_TF.svgz country_TG.svgz country_TH.svgz country_TJ.svgz country_TK.svgz country_TL.svgz
|
203 |
flag_svgs += country_TM.svgz country_TN.svgz country_TO.svgz country_TR.svgz country_TT.svgz country_TV.svgz country_TW.svgz
|
204 |
flag_svgs += country_TZ.svgz country_UA.svgz country_UG.svgz country_UM.svgz country_US.svgz country_UY.svgz country_UZ.svgz
|
205 |
flag_svgs += country_VA.svgz country_VC.svgz country_VE.svgz country_VG.svgz country_VI.svgz country_VN.svgz country_VU.svgz
|
206 |
flag_svgs += country_WF.svgz country_WS.svgz country_YE.svgz country_YT.svgz country_ZA.svgz country_ZM.svgz country_ZW.svgz
|
207 |
|
208 |
if USE_SVG
|
209 |
xpm_DATA += $(svgs) $(nav_svgs) $(flag_svgs)
|
210 |
endif
|
211 |
|
212 |
if USE_SVG2PNG
|
213 |
%.png: $(srcdir)/*.svgz
|
214 |
SRCDIR=$(abs_srcdir) BUILDDIR=$(abs_builddir) $(srcdir)/navit_svg2png "@SVG2PNG@" "$@"
|
215 |
%.png: $(srcdir)/*.svg
|
216 |
SRCDIR=$(abs_srcdir) BUILDDIR=$(abs_builddir) $(srcdir)/navit_svg2png "@SVG2PNG@" "$@"
|
217 |
|
218 |
pngs = $(addsuffix .png,$(basename $(svgs)))
|
219 |
xsize = $(word 1,$(subst x, ,$(scale)))
|
220 |
ysize = $(word $(words $(scale)),$(subst x, ,$(scale)))
|
221 |
comma =,
|
222 |
|
223 |
# png images of the user interface and other, sizes e.g. "8,16,32,48,96"
|
224 |
if USE_SVG2PNG_SCALES
|
225 |
pngs += $(foreach scale, $(subst $(comma), ,@SVG2PNG_SCALES@), $(addsuffix _$(xsize)_$(ysize).png,$(basename $(svgs))))
|
226 |
endif
|
227 |
# png state flags
|
228 |
if USE_SVG2PNG_SCALES_FLAG
|
229 |
pngs += $(foreach scale, $(subst $(comma), ,@SVG2PNG_SCALES_FLAG@), $(addsuffix _$(xsize)_$(ysize).png,$(basename $(flag_svgs))))
|
230 |
endif
|
231 |
# png symbols for navigation
|
232 |
if USE_SVG2PNG_SCALES_NAV
|
233 |
pngs += $(foreach scale, $(subst $(comma), ,@SVG2PNG_SCALES_NAV@), $(addsuffix _$(xsize)_$(ysize).png,$(basename $(nav_svgs))))
|
234 |
endif
|
235 |
xpm_DATA += $(pngs)
|
236 |
endif
|
237 |
|
238 |
if !SUPPORT_WIN32
|
239 |
DESKTOPFILEdir=$(datadir)/applications
|
240 |
DESKTOPFILE_DATA = desktop_icons/navit.desktop
|
241 |
|
242 |
ICON128dir=$(datadir)/icons/hicolor/128x128/apps
|
243 |
ICON128_DATA = desktop_icons/128x128/navit.png
|
244 |
|
245 |
ICON22dir=$(datadir)/icons/hicolor/22x22/apps
|
246 |
ICON22_DATA = desktop_icons/22x22/navit.png
|
247 |
endif
|
248 |
|
249 |
EXTRA_DIST = $(xpm_DATA) $(DESKTOPFILE_DATA) $(ICON128_DATA) $(ICON22_DATA) navit_svg2png
|
250 |
#burgerking.ico:
|
251 |
# wget http://www.burgerking.de/favicon.ico -O burgerking.ico
|
252 |
|
253 |
if USE_SVG2PNG
|
254 |
distclean-local:
|
255 |
rm -f $(pngs)
|
256 |
endif
|