12 # Contributors: |
12 # Contributors: |
13 # |
13 # |
14 # Description: |
14 # Description: |
15 # |
15 # |
16 |
16 |
17 include layoutConfig.mk |
17 include LayoutConfig.mk |
18 |
18 |
19 layout_gen_dir = $(gen_dir)\$(name)_uiaccel$(delivery) |
19 layout_gen_dir = $(gen_dir)/$(name)_uiaccel$(delivery) |
20 |
20 |
21 Elaf_Portrait_Pack_Contents=\ |
21 Elaf_Portrait_Pack_Contents=\ |
22 EAknLayoutIdELAF \ |
22 EAknLayoutIdELAF \ |
23 AknLayoutScalable_Elaf_h$(prt_code)_c_$(short)_prt$(touch)$(delivery)_$$ZOOM |
23 AknLayoutScalable_Elaf_h$(prt_code)_c_$(short)_prt$(touch)$(delivery)_ZOOM |
24 |
24 |
25 Abrw_Portrait_Pack_Contents=\ |
25 Abrw_Portrait_Pack_Contents=\ |
26 EAknLayoutIdABRW \ |
26 EAknLayoutIdABRW \ |
27 AknLayoutScalable_Abrw_h$(prt_code)_c_$(short)_prt$(touch)$(delivery)_$$ZOOM |
27 AknLayoutScalable_Abrw_h$(prt_code)_c_$(short)_prt$(touch)$(delivery)_ZOOM |
28 |
28 |
29 Apac_Portrait_Pack_Contents=\ |
29 Apac_Portrait_Pack_Contents=\ |
30 EAknLayoutIdAPAC \ |
30 EAknLayoutIdAPAC \ |
31 AknLayoutScalable_Elaf_h$(prt_code)_c_$(short)_prt$(touch)$(delivery)_$$ZOOM |
31 AknLayoutScalable_Elaf_h$(prt_code)_c_$(short)_prt$(touch)$(delivery)_ZOOM |
32 |
32 |
33 Elaf_Landscape_Pack_Contents=\ |
33 Elaf_Landscape_Pack_Contents=\ |
34 EAknLayoutIdELAF \ |
34 EAknLayoutIdELAF \ |
35 AknLayoutScalable_Elaf_h$(land_code)_c_$(short)_lsc$(touch)$(delivery)_$$ZOOM |
35 AknLayoutScalable_Elaf_h$(land_code)_c_$(short)_lsc$(touch)$(delivery)_ZOOM |
36 |
36 |
37 Abrw_Landscape_Pack_Contents=\ |
37 Abrw_Landscape_Pack_Contents=\ |
38 EAknLayoutIdABRW \ |
38 EAknLayoutIdABRW \ |
39 AknLayoutScalable_Abrw_h$(land_code)_c_$(short)_lsc$(touch)$(delivery)_$$ZOOM |
39 AknLayoutScalable_Abrw_h$(land_code)_c_$(short)_lsc$(touch)$(delivery)_ZOOM |
40 |
40 |
41 Apac_Landscape_Pack_Contents=\ |
41 Apac_Landscape_Pack_Contents=\ |
42 EAknLayoutIdAPAC \ |
42 EAknLayoutIdAPAC \ |
43 AknLayoutScalable_Elaf_h$(land_code)_c_$(short)_lsc$(touch)$(delivery)_$$ZOOM |
43 AknLayoutScalable_Elaf_h$(land_code)_c_$(short)_lsc$(touch)$(delivery)_ZOOM |
44 |
44 |
45 |
45 |
46 pkg = @AknLayoutCompiler -p$(layout_gen_dir) LayPkg -z..\generated\LayoutZoomFactorConfig.txt -d$(delivery) -p$(priority) -a$(appUid) |
46 pkg = @AknLayoutCompiler -p$(layout_gen_dir) LayPkg -z../generated/LayoutZoomFactorConfig.txt -d$(delivery) -p$(priority) -a$(appUid) |
47 |
47 |
48 Elaf_portrait : |
48 Elaf_portrait : |
49 $(pkg) UiAccel_Elaf_$(name)_$$ZOOM$(delivery)_Pack $(dim1) $(dim2) -s$(style_name) $(Elaf_Portrait_Pack_Contents) >> $(layout_gen_dir)\uiaccel_instances.txt |
49 $(pkg) UiAccel_Elaf_$(name)_ZOOM$(delivery)_Pack $(dim1) $(dim2) -s$(style_name) $(Elaf_Portrait_Pack_Contents) >> $(layout_gen_dir)/uiaccel_instances.txt |
50 |
50 |
51 Abrw_portrait : |
51 Abrw_portrait : |
52 $(pkg) UiAccel_Abrw_$(name)_$$ZOOM$(delivery)_Pack $(dim1) $(dim2) -s$(style_name) $(Abrw_Portrait_Pack_Contents) >> $(layout_gen_dir)\uiaccel_instances.txt |
52 $(pkg) UiAccel_Abrw_$(name)_ZOOM$(delivery)_Pack $(dim1) $(dim2) -s$(style_name) $(Abrw_Portrait_Pack_Contents) >> $(layout_gen_dir)/uiaccel_instances.txt |
53 |
53 |
54 Apac_portrait : |
54 Apac_portrait : |
55 $(pkg) UiAccel_Apac_$(name)_$$ZOOM$(delivery)_Pack $(dim1) $(dim2) -s$(style_name) $(Apac_Portrait_Pack_Contents) >> $(layout_gen_dir)\uiaccel_instances.txt |
55 $(pkg) UiAccel_Apac_$(name)_ZOOM$(delivery)_Pack $(dim1) $(dim2) -s$(style_name) $(Apac_Portrait_Pack_Contents) >> $(layout_gen_dir)/uiaccel_instances.txt |
56 |
56 |
57 Elaf_landscape : |
57 Elaf_landscape : |
58 $(pkg) UiAccel_Elaf_$(name)_land_$$ZOOM$(delivery)_Pack $(dim2) $(dim1) -s$(style_name) $(Elaf_Landscape_Pack_Contents) >> $(layout_gen_dir)\uiaccel_instances.txt |
58 $(pkg) UiAccel_Elaf_$(name)_land_ZOOM$(delivery)_Pack $(dim2) $(dim1) -s$(style_name) $(Elaf_Landscape_Pack_Contents) >> $(layout_gen_dir)/uiaccel_instances.txt |
59 |
59 |
60 Abrw_landscape : |
60 Abrw_landscape : |
61 $(pkg) UiAccel_Abrw_$(name)_land_$$ZOOM$(delivery)_Pack $(dim2) $(dim1) -s$(style_name) $(Abrw_Landscape_Pack_Contents) >> $(layout_gen_dir)\uiaccel_instances.txt |
61 $(pkg) UiAccel_Abrw_$(name)_land_ZOOM$(delivery)_Pack $(dim2) $(dim1) -s$(style_name) $(Abrw_Landscape_Pack_Contents) >> $(layout_gen_dir)/uiaccel_instances.txt |
62 |
62 |
63 Apac_landscape : |
63 Apac_landscape : |
64 $(pkg) UiAccel_Apac_$(name)_land_$$ZOOM$(delivery)_Pack $(dim2) $(dim1) -s$(style_name) $(Apac_Landscape_Pack_Contents) >> $(layout_gen_dir)\uiaccel_instances.txt |
64 $(pkg) UiAccel_Apac_$(name)_land_ZOOM$(delivery)_Pack $(dim2) $(dim1) -s$(style_name) $(Apac_Landscape_Pack_Contents) >> $(layout_gen_dir)/uiaccel_instances.txt |
65 |
65 |
66 clean_inst_list : |
66 clean_inst_list : |
67 @-del /q $(layout_gen_dir)\uiaccel_instances.txt > nul 2>&1 |
67 @python -c "import os,os.path; os.path.exists('$(layout_gen_dir)/uiaccel_instances.txt') and os.remove('$(layout_gen_dir)/uiaccel_instances.txt')" |
68 |
68 |
69 layout_packages : \ |
69 layout_packages : \ |
70 clean_inst_list \ |
70 clean_inst_list \ |
71 Elaf_portrait \ |
71 Elaf_portrait \ |
72 Abrw_portrait \ |
72 Abrw_portrait \ |
74 Elaf_landscape \ |
74 Elaf_landscape \ |
75 Abrw_landscape \ |
75 Abrw_landscape \ |
76 Apac_landscape |
76 Apac_landscape |
77 |
77 |
78 do_nothing : |
78 do_nothing : |
79 @rem do_nothing |
|
80 |
79 |
81 standard_flags = -p$(layout_gen_dir) MLCompCdl2InstO -i$(layout_gen_dir)\uiaccel_instances.txt -z..\generated\LayoutZoomFactorConfig.txt -allparams -d$(delivery) |
80 standard_flags = -p$(layout_gen_dir) MLCompCdl2InstO -i$(layout_gen_dir)/uiaccel_instances.txt -z../generated/LayoutZoomFactorConfig.txt -allparams -d$(delivery) |
82 |
81 |
83 make_layout_gen_dir : make_gen_dir |
82 make_layout_gen_dir : make_gen_dir |
84 @-md $(layout_gen_dir) > nul 2>&1 |
83 @python -c "import os,os.path; os.path.exists('$(layout_gen_dir)') or os.mkdir('$(layout_gen_dir)')" |
85 |
84 |
86 |
85 |
87 # Note: AknLayoutScalable_Elaf_h$(prt_code)_c_$(short)_prt$(touch)$(delivery)_normal.cpp |
86 |
88 # acts as a proxy for all uiaccel scalable instance source code |
87 |
89 uiaccel_scalable_instances_cpp=\ |
88 uiaccel_scalable_instances_cpp=\ |
90 $(layout_gen_dir)\AknLayoutScalable_Elaf_h$(prt_code)_c_$(short)_prt$(touch)$(delivery)_normal.cpp |
89 $(layout_gen_dir)/aknlayoutscalable_elaf_h$(prt_code)_c_$(short)_prt$(touch)$(delivery)_normal.cpp |
91 |
90 |
92 ifndef delivery |
91 ifndef delivery |
93 delivery_dir=_all |
92 delivery_dir=_all |
94 endif |
93 endif |
95 ifdef delivery |
94 ifdef delivery |
96 delivery_dir=$(delivery) |
95 delivery_dir=$(delivery) |
97 endif |
96 endif |
98 |
97 |
99 uiaccel_scalable_instances_dep=\ |
98 uiaccel_scalable_instances_dep=\ |
100 ..\generated\LayoutZoomFactorConfig.txt \ |
99 ../generated/LayoutZoomFactorConfig.txt \ |
101 ..\cdl\AknLayoutScalable_UiAccel.cdl \ |
100 ../cdl/AknLayoutScalable_UiAccel.cdl \ |
102 ..\xml\c\$(delivery_dir)\h$(prt_code)_c_$(short)_prt$(touch)$(delivery)\display_eur_compData.xml \ |
101 ../xml/c/$(delivery_dir)/h$(prt_code)_c_$(short)_prt$(touch)$(delivery)/display_eur_compdata.xml \ |
103 ..\xml\c\$(delivery_dir)\h$(prt_code)_c_$(short)_prt$(touch)$(delivery)\display_arabic_hebrew_compData.xml \ |
102 ../xml/c/$(delivery_dir)/h$(prt_code)_c_$(short)_prt$(touch)$(delivery)/display_arabic_hebrew_compdata.xml \ |
104 ..\xml\c\$(delivery_dir)\h$(land_code)_c_$(short)_lsc$(touch)$(delivery)\display_eur_compData.xml \ |
103 ../xml/c/$(delivery_dir)/h$(land_code)_c_$(short)_lsc$(touch)$(delivery)/display_eur_compdata.xml \ |
105 ..\xml\c\$(delivery_dir)\h$(land_code)_c_$(short)_lsc$(touch)$(delivery)\display_arabic_hebrew_compData.xml \ |
104 ../xml/c/$(delivery_dir)/h$(land_code)_c_$(short)_lsc$(touch)$(delivery)/display_arabic_hebrew_compdata.xml \ |
106 ..\xml\c\$(delivery_dir)\h$(prt_code)_c_$(short)_prt$(touch)$(delivery)\display_eur_attributes.xml \ |
105 ../xml/c/$(delivery_dir)/h$(prt_code)_c_$(short)_prt$(touch)$(delivery)/display_eur_attributes.xml \ |
107 ..\xml\c\$(delivery_dir)\h$(prt_code)_c_$(short)_prt$(touch)$(delivery)\display_arabic_hebrew_attributes.xml \ |
106 ../xml/c/$(delivery_dir)/h$(prt_code)_c_$(short)_prt$(touch)$(delivery)/display_arabic_hebrew_attributes.xml \ |
108 ..\xml\c\$(delivery_dir)\h$(land_code)_c_$(short)_lsc$(touch)$(delivery)\display_eur_attributes.xml \ |
107 ../xml/c/$(delivery_dir)/h$(land_code)_c_$(short)_lsc$(touch)$(delivery)/display_eur_attributes.xml \ |
109 ..\xml\c\$(delivery_dir)\h$(land_code)_c_$(short)_lsc$(touch)$(delivery)\display_arabic_hebrew_attributes.xml |
108 ../xml/c/$(delivery_dir)/h$(land_code)_c_$(short)_lsc$(touch)$(delivery)/display_arabic_hebrew_attributes.xml |
110 |
109 |
111 |
110 |
112 $(uiaccel_scalable_instances_cpp): $(uiaccel_scalable_instances_dep) |
111 $(uiaccel_scalable_instances_cpp): $(uiaccel_scalable_instances_dep) |
113 @rem |
112 @python -c "import os,os.path; os.path.exists('$(uiaccel_scalable_instances_cpp)') and os.remove('$(uiaccel_scalable_instances_cpp)')" |
114 @rem instance source for ui accelerator scalable layout APIs |
113 |
115 @rem |
114 @AknLayoutCompiler $(standard_flags) ../cdl/AknLayoutScalable_UiAccel.cdl \ |
116 @rem force rebuild of target cpp file |
|
117 @-del /q $(uiaccel_scalable_instances_cpp) > nul 2>&1 |
|
118 @AknLayoutCompiler $(standard_flags) ..\cdl\AknLayoutScalable_UiAccel.cdl \ |
|
119 -a \ |
115 -a \ |
120 ..\xml\c\$(delivery_dir)\h$(prt_code)_c_$(short)_prt$(touch)$(delivery)\display_eur_compData.xml AknLayoutScalable_Elaf_h$(prt_code)_c_$(short)_prt$(touch)$(delivery) \ |
116 ../xml/c/$(delivery_dir)/h$(prt_code)_c_$(short)_prt$(touch)$(delivery)/display_eur_compdata.xml AknLayoutScalable_Elaf_h$(prt_code)_c_$(short)_prt$(touch)$(delivery) \ |
121 -m..\xml\c\$(delivery_dir)\h$(prt_code)_c_$(short)_prt$(touch)$(delivery)\display_arabic_hebrew_compData.xml AknLayoutScalable_Abrw_h$(prt_code)_c_$(short)_prt$(touch)$(delivery) \ |
117 -m../xml/c/$(delivery_dir)/h$(prt_code)_c_$(short)_prt$(touch)$(delivery)/display_arabic_hebrew_compdata.xml AknLayoutScalable_Abrw_h$(prt_code)_c_$(short)_prt$(touch)$(delivery) \ |
122 ..\xml\c\$(delivery_dir)\h$(land_code)_c_$(short)_lsc$(touch)$(delivery)\display_eur_compData.xml AknLayoutScalable_Elaf_h$(land_code)_c_$(short)_lsc$(touch)$(delivery) \ |
118 ../xml/c/$(delivery_dir)/h$(land_code)_c_$(short)_lsc$(touch)$(delivery)/display_eur_compdata.xml AknLayoutScalable_Elaf_h$(land_code)_c_$(short)_lsc$(touch)$(delivery) \ |
123 -m..\xml\c\$(delivery_dir)\h$(land_code)_c_$(short)_lsc$(touch)$(delivery)\display_arabic_hebrew_compData.xml AknLayoutScalable_Abrw_h$(land_code)_c_$(short)_lsc$(touch)$(delivery) |
119 -m../xml/c/$(delivery_dir)/h$(land_code)_c_$(short)_lsc$(touch)$(delivery)/display_arabic_hebrew_compdata.xml AknLayoutScalable_Abrw_h$(land_code)_c_$(short)_lsc$(touch)$(delivery) |
124 |
120 |
125 |
121 |
126 INSTANCES: \ |
122 INSTANCES: \ |
127 $(uiaccel_scalable_instances_cpp) |
123 $(uiaccel_scalable_instances_cpp) |
128 |
124 |
129 |
125 |
130 DLL: |
126 DLL: |
131 @rem |
|
132 @rem the DLL |
|
133 @rem |
|
134 @CdlCompiler dll \ |
127 @CdlCompiler dll \ |
135 -n$(dllversion) \ |
128 -n$(dllversion) \ |
136 \ |
129 \ |
137 -p$(layout_gen_dir) \ |
130 -p$(layout_gen_dir) \ |
138 \ |
131 \ |
139 -laknlayout2scalable.lib \ |
132 -lAknLayout2Scalable.lib \ |
140 -lcdlengine.lib \ |
133 -lCdlEngine.lib \ |
141 \ |
134 \ |
142 -s..\..\decodelib\Aknlayout2scalabledecode.cpp \ |
135 -s../../Decodelib/AknLayout2ScalableDecode.cpp \ |
143 \ |
136 \ |
144 "-esysteminclude .."\ |
137 "-esysteminclude .."\ |
145 \ |
138 \ |
146 UiAccel_LayoutInst_$(name)$(delivery) $(uid) \ |
139 UiAccel_LayoutInst_$(name)$(delivery) $(uid) \ |
147 \ |
140 \ |
148 @$(layout_gen_dir)\uiaccel_instances.txt |
141 @$(layout_gen_dir)/uiaccel_instances.txt |
149 |
142 |
150 MAKMAKE : \ |
143 MAKMAKE : \ |
151 make_layout_gen_dir \ |
144 make_layout_gen_dir \ |
152 layout_packages \ |
145 layout_packages \ |
153 INSTANCES \ |
146 INSTANCES \ |
154 DLL |
147 DLL |
155 |
|
156 BLD : do_nothing |
148 BLD : do_nothing |
157 |
149 |
158 CLEAN : |
150 CLEAN : |
159 |
151 |
160 LIB : do_nothing |
152 LIB : do_nothing |