summaryrefslogtreecommitdiff
path: root/xpm/Makefile.am
blob: 7521ee46e9469d245fc17921c24cebe3f2a7688d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
include $(top_srcdir)/Makefile.inc

xpm_DATA = bench.xpm
xpm_DATA += biergarten.xpm
xpm_DATA += boundary_stone.xpm
xpm_DATA += bus_halt.xpm
xpm_DATA += cafe.xpm
xpm_DATA += camping.xpm
xpm_DATA += car_dealer.xpm
xpm_DATA += castle.xpm
xpm_DATA += ruins.xpm
xpm_DATA += cemetery.xpm
xpm_DATA += cursor.xpm
xpm_DATA += dumping-station.xpm
xpm_DATA += fountain.xpm
xpm_DATA += flag_bk_tr.xpm flag_bk_wh.xpm flag_bl_wh.xpm flag_wh_bk.xpm
xpm_DATA += golf.xpm
xpm_DATA += gc_tradi.xpm
xpm_DATA += gc_multi.xpm
xpm_DATA += gc_mystery.xpm
xpm_DATA += gc_event.xpm
xpm_DATA += gc_reference.xpm
xpm_DATA += gc_webcam.xpm
xpm_DATA += gc_question.xpm
xpm_DATA += gc_stages.xpm
xpm_DATA += heliport.xpm
xpm_DATA += highway_exit.xpm
xpm_DATA += hunting_stand.xpm
xpm_DATA += hotel.xpm
xpm_DATA += information.xpm
xpm_DATA += justice.xpm
xpm_DATA += level_crossing.xpm
xpm_DATA += library.xpm
xpm_DATA += mini_roundabout.xpm
xpm_DATA += memorial.xpm
xpm_DATA += military.xpm
xpm_DATA += museum.xpm
xpm_DATA += nav_left_1.xpm nav_left_2.xpm
xpm_DATA += nav_right_1.xpm nav_right_2.xpm
xpm_DATA += nav_straight.xpm nav_straight_32.xpm
xpm_DATA += nav_left_1_32.xpm nav_left_2_32.xpm
xpm_DATA += nav_right_1_32.xpm nav_right_2_32.xpm
xpm_DATA += parking.xpm
xpm_DATA += pharmacy.xpm
xpm_DATA += picnic.xpm
xpm_DATA += potable_water.xpm
xpm_DATA += restaurant.xpm
xpm_DATA += restroom.xpm
xpm_DATA += shelter.xpm
xpm_DATA += skiing.xpm
xpm_DATA += sport.xpm
xpm_DATA += swimming.xpm
xpm_DATA += telephone.xpm
xpm_DATA += theater.xpm
xpm_DATA += toilets.xpm
xpm_DATA += tower.xpm
xpm_DATA += townhall.xpm
xpm_DATA += trailerpark.xpm
xpm_DATA += unknown.xpm
xpm_DATA += wifi.xpm
xpm_DATA += viewpoint.xpm
xpm_DATA += zoo.xpm
xpm_DATA += zoom_in.xpm
xpm_DATA += zoom_out.xpm
xpm_DATA += toggle_fullscreen.xpm
xpm_DATA += menu.xpm
xpm_DATA += school.xpm
xpm_DATA += public_office.xpm

svgs  = gui_actions.svg
svgs += gui_active.svg
svgs += gui_bookmark.svg
svgs += gui_display.svg
svgs += gui_help.svg
svgs += gui_home.svg
svgs += gui_inactive.svg
svgs += gui_map.svg
svgs += gui_maps.svg
svgs += gui_rules.svg
svgs += gui_settings.svg
svgs += gui_sound.svg
svgs += gui_sound_off.svg
svgs += gui_tools.svg
svgs += gui_fullscreen.svg
svgs += gui_leave_fullscreen.svg
svgs += gui_quit.svg gui_stop.svg
svgs += gui_town.svg
svgs += gui_vehicle.svg
svgs += gui_zoom_in.svg
svgs += gui_zoom_out.svg
svgs += zoom_in.svg
svgs += zoom_out.svg
svgs += tec_common.svg
svgs += gui_select_street.svg
svgs += gui_select_town.svg
svgs += gui_select_country.svg
svgs += gui_arrow_left.svg
svgs += gui_arrow_right.svg
svgs += gui_arrow_up.svg
svgs += gui_arrow_down.svg
svgs += gui_menu.svg
svgs += gui_strength_0.svg
svgs += gui_strength_1.svg
svgs += gui_strength_2.svg
svgs += gui_strength_3.svg
svgs += gui_strength_4.svg
svgs += gui_strength_5.svg
svgs += gui_minus.svg
svgs += gui_plus.svg
svgs += gui_log.svg

svgs += airport.svg
svgs += attraction.svg
svgs += bank.svg
svgs += bar.svg
svgs += boat_ramp.svg
svgs += bus.svg
svgs += cinema.svg
svgs += exit.svg
svgs += fastfood.svg
svgs += firebrigade.svg
svgs += fuel.svg
svgs += hospital.svg
svgs += peak.svg
svgs += police.svg
svgs += post.svg
svgs += shopping.svg
svgs += traffic_signals.svg
svgs += church.svg

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
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
nav_svgs += nav_roundabout_l1_bk.svg nav_roundabout_l1_wh.svg nav_roundabout_l2_bk.svg nav_roundabout_l2_wh.svg
nav_svgs += nav_roundabout_l3_bk.svg nav_roundabout_l3_wh.svg nav_roundabout_l4_bk.svg nav_roundabout_l4_wh.svg
nav_svgs += nav_roundabout_l5_bk.svg nav_roundabout_l5_wh.svg nav_roundabout_l6_bk.svg nav_roundabout_l6_wh.svg
nav_svgs += nav_roundabout_l7_bk.svg nav_roundabout_l7_wh.svg nav_roundabout_l8_bk.svg nav_roundabout_l8_wh.svg
nav_svgs += nav_roundabout_r1_bk.svg nav_roundabout_r1_wh.svg nav_roundabout_r2_bk.svg nav_roundabout_r2_wh.svg
nav_svgs += nav_roundabout_r3_bk.svg nav_roundabout_r3_wh.svg nav_roundabout_r4_bk.svg nav_roundabout_r4_wh.svg
nav_svgs += nav_roundabout_r5_bk.svg nav_roundabout_r5_wh.svg nav_roundabout_r6_bk.svg nav_roundabout_r6_wh.svg
nav_svgs += nav_roundabout_r7_bk.svg nav_roundabout_r7_wh.svg nav_roundabout_r8_bk.svg nav_roundabout_r8_wh.svg
nav_svgs += nav_straight_bk.svg nav_straight_wh.svg nav_turnaround_left_bk.svg nav_turnaround_left_wh.svg
nav_svgs += nav_turnaround_right_bk.svg nav_turnaround_right_wh.svg nav_destination_bk.svg nav_destination_wh.svg

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
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
flag_svgs += country_AX.svgz country_AZ.svgz country_BA.svgz country_BB.svgz country_BD.svgz country_BE.svgz country_BF.svgz
flag_svgs += country_BG.svgz country_BH.svgz country_BI.svgz country_BJ.svgz country_BL.svgz country_BM.svgz country_BN.svgz
flag_svgs += country_BO.svgz country_BR.svgz country_BS.svgz country_BT.svgz country_BV.svgz country_BW.svgz country_BY.svgz
flag_svgs += country_BZ.svgz country_CA.svgz country_CC.svgz country_CD.svgz country_CF.svgz country_CG.svgz country_CH.svgz
flag_svgs += country_CI.svgz country_CK.svgz country_CL.svgz country_CM.svgz country_CN.svgz country_CO.svgz country_CR.svgz
flag_svgs += country_CU.svgz country_CV.svgz country_CX.svgz country_CY.svgz country_CZ.svgz country_DE.svgz country_DJ.svgz
flag_svgs += country_DK.svgz country_DM.svgz country_DO.svgz country_DZ.svgz country_EC.svgz country_EE.svgz country_EG.svgz
flag_svgs += country_EH.svgz country_ER.svgz country_ES.svgz country_ET.svgz country_FI.svgz country_FJ.svgz country_FK.svgz
flag_svgs += country_FM.svgz country_FO.svgz country_FR.svgz country_GA.svgz country_GB.svgz country_GD.svgz country_GE.svgz
flag_svgs += country_GF.svgz country_GG.svgz country_GH.svgz country_GI.svgz country_GL.svgz country_GM.svgz country_GN.svgz
flag_svgs += country_GP.svgz country_GQ.svgz country_GR.svgz country_GS.svgz country_GT.svgz country_GU.svgz country_GW.svgz
flag_svgs += country_GY.svgz country_HK.svgz country_HM.svgz country_HN.svgz country_HR.svgz country_HT.svgz country_HU.svgz
flag_svgs += country_ID.svgz country_IE.svgz country_IL.svgz country_IM.svgz country_IN.svgz country_IO.svgz country_IQ.svgz
flag_svgs += country_IR.svgz country_IS.svgz country_IT.svgz country_JE.svgz country_JM.svgz country_JO.svgz country_JP.svgz
flag_svgs += country_KE.svgz country_KG.svgz country_KH.svgz country_KI.svgz country_KM.svgz country_KN.svgz country_KP.svgz
flag_svgs += country_KR.svgz country_KW.svgz country_KY.svgz country_KZ.svgz country_LA.svgz country_LB.svgz country_LC.svgz
flag_svgs += country_LI.svgz country_LK.svgz country_LR.svgz country_LS.svgz country_LT.svgz country_LU.svgz country_LV.svgz
flag_svgs += country_LY.svgz country_MA.svgz country_MC.svgz country_MD.svgz country_ME.svgz country_MF.svgz country_MG.svgz
flag_svgs += country_MH.svgz country_MK.svgz country_ML.svgz country_MM.svgz country_MN.svgz country_MO.svgz country_MP.svgz
flag_svgs += country_MQ.svgz country_MR.svgz country_MS.svgz country_MT.svgz country_MU.svgz country_MV.svgz country_MW.svgz
flag_svgs += country_MX.svgz country_MY.svgz country_MZ.svgz country_NA.svgz country_NC.svgz country_NE.svgz country_NF.svgz
flag_svgs += country_NG.svgz country_NI.svgz country_NL.svgz country_NO.svgz country_NP.svgz country_NR.svgz country_NU.svgz
flag_svgs += country_NZ.svgz country_OM.svgz country_PA.svgz country_PE.svgz country_PF.svgz country_PG.svgz country_PH.svgz
flag_svgs += country_PK.svgz country_PL.svgz country_PM.svgz country_PN.svgz country_PR.svgz country_PS.svgz country_PT.svgz
flag_svgs += country_PW.svgz country_PY.svgz country_QA.svgz country_RE.svgz country_RO.svgz country_RS.svgz country_RU.svgz
flag_svgs += country_RW.svgz country_SA.svgz country_SB.svgz country_SC.svgz country_SD.svgz country_SE.svgz country_SG.svgz
flag_svgs += country_SH.svgz country_SI.svgz country_SJ.svgz country_SK.svgz country_SL.svgz country_SM.svgz country_SN.svgz
flag_svgs += country_SO.svgz country_SR.svgz country_ST.svgz country_SV.svgz country_SY.svgz country_SZ.svgz country_TC.svgz
flag_svgs += country_TD.svgz country_TF.svgz country_TG.svgz country_TH.svgz country_TJ.svgz country_TK.svgz country_TL.svgz
flag_svgs += country_TM.svgz country_TN.svgz country_TO.svgz country_TR.svgz country_TT.svgz country_TV.svgz country_TW.svgz
flag_svgs += country_TZ.svgz country_UA.svgz country_UG.svgz country_UM.svgz country_US.svgz country_UY.svgz country_UZ.svgz
flag_svgs += country_VA.svgz country_VC.svgz country_VE.svgz country_VG.svgz country_VI.svgz country_VN.svgz country_VU.svgz
flag_svgs += country_WF.svgz country_WS.svgz country_YE.svgz country_YT.svgz country_ZA.svgz country_ZM.svgz country_ZW.svgz

if USE_SVG
   xpm_DATA += $(svgs) $(nav_svgs) $(flag_svgs)
endif

if USE_SVG2PNG
%.png:$(srcdir)/*.svgz
	SRCDIR=$(srcdir) $(srcdir)/navit_svg2png "@SVG2PNG@" "$@"
%.png:$(srcdir)/*.svg
	SRCDIR=$(srcdir) $(srcdir)/navit_svg2png "@SVG2PNG@" "$@"
pngs = $(addsuffix .png,$(basename $(svgs)))
xsize=$(word 1,$(subst x, ,$(scale)))
ysize=$(word $(words $(scale)),$(subst x, ,$(scale)))
comma=,
if USE_SVG2PNG_SCALES
pngs += $(foreach scale, $(subst $(comma), ,@SVG2PNG_SCALES@), $(addsuffix _$(xsize)_$(ysize).png,$(basename $(svgs))))
endif
if USE_SVG2PNG_SCALES_FLAG
pngs += $(foreach scale, $(subst $(comma), ,@SVG2PNG_SCALES_FLAG@), $(addsuffix _$(xsize)_$(ysize).png,$(basename $(flag_svgs))))
endif
if USE_SVG2PNG_SCALES_NAV
pngs += $(foreach scale, $(subst $(comma), ,@SVG2PNG_SCALES_NAV@), $(addsuffix _$(xsize)_$(ysize).png,$(basename $(nav_svgs))))
endif
xpm_DATA += $(pngs)
endif

DESKTOPFILEdir=$(datadir)/applications
DESKTOPFILE_DATA = desktop_icons/navit.desktop

ICON128dir=$(datadir)/icons/hicolor/128x128/apps
ICON128_DATA = desktop_icons/128x128/navit.png

ICON22dir=$(datadir)/icons/hicolor/22x22/apps
ICON22_DATA = desktop_icons/22x22/navit.png

EXTRA_DIST = $(xpm_DATA) $(DESKTOPFILE_DATA) $(ICON128_DATA) $(ICON22_DATA) navit_svg2png
#burgerking.ico:
#	wget http://www.burgerking.de/favicon.ico -O burgerking.ico

if USE_SVG2PNG
distclean-local:
	rm -f $(pngs)
endif