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