--- a/layouts/aknlayout2/group/LayoutDllUiAccel.mk Mon Mar 15 12:44:38 2010 +0200
+++ b/layouts/aknlayout2/group/LayoutDllUiAccel.mk Wed Mar 31 23:10:44 2010 +0300
@@ -14,57 +14,57 @@
# Description:
#
-include layoutConfig.mk
+include LayoutConfig.mk
-layout_gen_dir = $(gen_dir)\$(name)_uiaccel$(delivery)
+layout_gen_dir = $(gen_dir)/$(name)_uiaccel$(delivery)
Elaf_Portrait_Pack_Contents=\
EAknLayoutIdELAF \
- AknLayoutScalable_Elaf_h$(prt_code)_c_$(short)_prt$(touch)$(delivery)_$$ZOOM
+ AknLayoutScalable_Elaf_h$(prt_code)_c_$(short)_prt$(touch)$(delivery)_ZOOM
Abrw_Portrait_Pack_Contents=\
EAknLayoutIdABRW \
- AknLayoutScalable_Abrw_h$(prt_code)_c_$(short)_prt$(touch)$(delivery)_$$ZOOM
+ AknLayoutScalable_Abrw_h$(prt_code)_c_$(short)_prt$(touch)$(delivery)_ZOOM
Apac_Portrait_Pack_Contents=\
EAknLayoutIdAPAC \
- AknLayoutScalable_Elaf_h$(prt_code)_c_$(short)_prt$(touch)$(delivery)_$$ZOOM
+ AknLayoutScalable_Elaf_h$(prt_code)_c_$(short)_prt$(touch)$(delivery)_ZOOM
Elaf_Landscape_Pack_Contents=\
EAknLayoutIdELAF \
- AknLayoutScalable_Elaf_h$(land_code)_c_$(short)_lsc$(touch)$(delivery)_$$ZOOM
+ AknLayoutScalable_Elaf_h$(land_code)_c_$(short)_lsc$(touch)$(delivery)_ZOOM
Abrw_Landscape_Pack_Contents=\
EAknLayoutIdABRW \
- AknLayoutScalable_Abrw_h$(land_code)_c_$(short)_lsc$(touch)$(delivery)_$$ZOOM
+ AknLayoutScalable_Abrw_h$(land_code)_c_$(short)_lsc$(touch)$(delivery)_ZOOM
Apac_Landscape_Pack_Contents=\
EAknLayoutIdAPAC \
- AknLayoutScalable_Elaf_h$(land_code)_c_$(short)_lsc$(touch)$(delivery)_$$ZOOM
+ AknLayoutScalable_Elaf_h$(land_code)_c_$(short)_lsc$(touch)$(delivery)_ZOOM
-pkg = @AknLayoutCompiler -p$(layout_gen_dir) LayPkg -z..\generated\LayoutZoomFactorConfig.txt -d$(delivery) -p$(priority) -a$(appUid)
+pkg = @AknLayoutCompiler -p$(layout_gen_dir) LayPkg -z../generated/LayoutZoomFactorConfig.txt -d$(delivery) -p$(priority) -a$(appUid)
Elaf_portrait :
- $(pkg) UiAccel_Elaf_$(name)_$$ZOOM$(delivery)_Pack $(dim1) $(dim2) -s$(style_name) $(Elaf_Portrait_Pack_Contents) >> $(layout_gen_dir)\uiaccel_instances.txt
+ $(pkg) UiAccel_Elaf_$(name)_ZOOM$(delivery)_Pack $(dim1) $(dim2) -s$(style_name) $(Elaf_Portrait_Pack_Contents) >> $(layout_gen_dir)/uiaccel_instances.txt
Abrw_portrait :
- $(pkg) UiAccel_Abrw_$(name)_$$ZOOM$(delivery)_Pack $(dim1) $(dim2) -s$(style_name) $(Abrw_Portrait_Pack_Contents) >> $(layout_gen_dir)\uiaccel_instances.txt
+ $(pkg) UiAccel_Abrw_$(name)_ZOOM$(delivery)_Pack $(dim1) $(dim2) -s$(style_name) $(Abrw_Portrait_Pack_Contents) >> $(layout_gen_dir)/uiaccel_instances.txt
Apac_portrait :
- $(pkg) UiAccel_Apac_$(name)_$$ZOOM$(delivery)_Pack $(dim1) $(dim2) -s$(style_name) $(Apac_Portrait_Pack_Contents) >> $(layout_gen_dir)\uiaccel_instances.txt
+ $(pkg) UiAccel_Apac_$(name)_ZOOM$(delivery)_Pack $(dim1) $(dim2) -s$(style_name) $(Apac_Portrait_Pack_Contents) >> $(layout_gen_dir)/uiaccel_instances.txt
Elaf_landscape :
- $(pkg) UiAccel_Elaf_$(name)_land_$$ZOOM$(delivery)_Pack $(dim2) $(dim1) -s$(style_name) $(Elaf_Landscape_Pack_Contents) >> $(layout_gen_dir)\uiaccel_instances.txt
+ $(pkg) UiAccel_Elaf_$(name)_land_ZOOM$(delivery)_Pack $(dim2) $(dim1) -s$(style_name) $(Elaf_Landscape_Pack_Contents) >> $(layout_gen_dir)/uiaccel_instances.txt
Abrw_landscape :
- $(pkg) UiAccel_Abrw_$(name)_land_$$ZOOM$(delivery)_Pack $(dim2) $(dim1) -s$(style_name) $(Abrw_Landscape_Pack_Contents) >> $(layout_gen_dir)\uiaccel_instances.txt
+ $(pkg) UiAccel_Abrw_$(name)_land_ZOOM$(delivery)_Pack $(dim2) $(dim1) -s$(style_name) $(Abrw_Landscape_Pack_Contents) >> $(layout_gen_dir)/uiaccel_instances.txt
Apac_landscape :
- $(pkg) UiAccel_Apac_$(name)_land_$$ZOOM$(delivery)_Pack $(dim2) $(dim1) -s$(style_name) $(Apac_Landscape_Pack_Contents) >> $(layout_gen_dir)\uiaccel_instances.txt
+ $(pkg) UiAccel_Apac_$(name)_land_ZOOM$(delivery)_Pack $(dim2) $(dim1) -s$(style_name) $(Apac_Landscape_Pack_Contents) >> $(layout_gen_dir)/uiaccel_instances.txt
clean_inst_list :
- @-del /q $(layout_gen_dir)\uiaccel_instances.txt > nul 2>&1
+ @python -c "import os,os.path; os.path.exists('$(layout_gen_dir)/uiaccel_instances.txt') and os.remove('$(layout_gen_dir)/uiaccel_instances.txt')"
layout_packages : \
clean_inst_list \
@@ -76,18 +76,17 @@
Apac_landscape
do_nothing :
- @rem do_nothing
-standard_flags = -p$(layout_gen_dir) MLCompCdl2InstO -i$(layout_gen_dir)\uiaccel_instances.txt -z..\generated\LayoutZoomFactorConfig.txt -allparams -d$(delivery)
+standard_flags = -p$(layout_gen_dir) MLCompCdl2InstO -i$(layout_gen_dir)/uiaccel_instances.txt -z../generated/LayoutZoomFactorConfig.txt -allparams -d$(delivery)
make_layout_gen_dir : make_gen_dir
- @-md $(layout_gen_dir) > nul 2>&1
+ @python -c "import os,os.path; os.path.exists('$(layout_gen_dir)') or os.mkdir('$(layout_gen_dir)')"
+
-# Note: AknLayoutScalable_Elaf_h$(prt_code)_c_$(short)_prt$(touch)$(delivery)_normal.cpp
-# acts as a proxy for all uiaccel scalable instance source code
+
uiaccel_scalable_instances_cpp=\
- $(layout_gen_dir)\AknLayoutScalable_Elaf_h$(prt_code)_c_$(short)_prt$(touch)$(delivery)_normal.cpp
+ $(layout_gen_dir)/aknlayoutscalable_elaf_h$(prt_code)_c_$(short)_prt$(touch)$(delivery)_normal.cpp
ifndef delivery
delivery_dir=_all
@@ -97,30 +96,27 @@
endif
uiaccel_scalable_instances_dep=\
- ..\generated\LayoutZoomFactorConfig.txt \
- ..\cdl\AknLayoutScalable_UiAccel.cdl \
- ..\xml\c\$(delivery_dir)\h$(prt_code)_c_$(short)_prt$(touch)$(delivery)\display_eur_compData.xml \
- ..\xml\c\$(delivery_dir)\h$(prt_code)_c_$(short)_prt$(touch)$(delivery)\display_arabic_hebrew_compData.xml \
- ..\xml\c\$(delivery_dir)\h$(land_code)_c_$(short)_lsc$(touch)$(delivery)\display_eur_compData.xml \
- ..\xml\c\$(delivery_dir)\h$(land_code)_c_$(short)_lsc$(touch)$(delivery)\display_arabic_hebrew_compData.xml \
- ..\xml\c\$(delivery_dir)\h$(prt_code)_c_$(short)_prt$(touch)$(delivery)\display_eur_attributes.xml \
- ..\xml\c\$(delivery_dir)\h$(prt_code)_c_$(short)_prt$(touch)$(delivery)\display_arabic_hebrew_attributes.xml \
- ..\xml\c\$(delivery_dir)\h$(land_code)_c_$(short)_lsc$(touch)$(delivery)\display_eur_attributes.xml \
- ..\xml\c\$(delivery_dir)\h$(land_code)_c_$(short)_lsc$(touch)$(delivery)\display_arabic_hebrew_attributes.xml
+ ../generated/LayoutZoomFactorConfig.txt \
+ ../cdl/AknLayoutScalable_UiAccel.cdl \
+ ../xml/c/$(delivery_dir)/h$(prt_code)_c_$(short)_prt$(touch)$(delivery)/display_eur_compdata.xml \
+ ../xml/c/$(delivery_dir)/h$(prt_code)_c_$(short)_prt$(touch)$(delivery)/display_arabic_hebrew_compdata.xml \
+ ../xml/c/$(delivery_dir)/h$(land_code)_c_$(short)_lsc$(touch)$(delivery)/display_eur_compdata.xml \
+ ../xml/c/$(delivery_dir)/h$(land_code)_c_$(short)_lsc$(touch)$(delivery)/display_arabic_hebrew_compdata.xml \
+ ../xml/c/$(delivery_dir)/h$(prt_code)_c_$(short)_prt$(touch)$(delivery)/display_eur_attributes.xml \
+ ../xml/c/$(delivery_dir)/h$(prt_code)_c_$(short)_prt$(touch)$(delivery)/display_arabic_hebrew_attributes.xml \
+ ../xml/c/$(delivery_dir)/h$(land_code)_c_$(short)_lsc$(touch)$(delivery)/display_eur_attributes.xml \
+ ../xml/c/$(delivery_dir)/h$(land_code)_c_$(short)_lsc$(touch)$(delivery)/display_arabic_hebrew_attributes.xml
$(uiaccel_scalable_instances_cpp): $(uiaccel_scalable_instances_dep)
- @rem
- @rem instance source for ui accelerator scalable layout APIs
- @rem
- @rem force rebuild of target cpp file
- @-del /q $(uiaccel_scalable_instances_cpp) > nul 2>&1
- @AknLayoutCompiler $(standard_flags) ..\cdl\AknLayoutScalable_UiAccel.cdl \
+ @python -c "import os,os.path; os.path.exists('$(uiaccel_scalable_instances_cpp)') and os.remove('$(uiaccel_scalable_instances_cpp)')"
+
+ @AknLayoutCompiler $(standard_flags) ../cdl/AknLayoutScalable_UiAccel.cdl \
-a \
- ..\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) \
- -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) \
- ..\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) \
- -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)
+ ../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) \
+ -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) \
+ ../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) \
+ -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)
INSTANCES: \
@@ -128,31 +124,27 @@
DLL:
- @rem
- @rem the DLL
- @rem
@CdlCompiler dll \
-n$(dllversion) \
\
-p$(layout_gen_dir) \
\
- -laknlayout2scalable.lib \
- -lcdlengine.lib \
+ -lAknLayout2Scalable.lib \
+ -lCdlEngine.lib \
\
- -s..\..\decodelib\Aknlayout2scalabledecode.cpp \
+ -s../../Decodelib/AknLayout2ScalableDecode.cpp \
\
"-esysteminclude .."\
\
UiAccel_LayoutInst_$(name)$(delivery) $(uid) \
\
- @$(layout_gen_dir)\uiaccel_instances.txt
+ @$(layout_gen_dir)/uiaccel_instances.txt
MAKMAKE : \
make_layout_gen_dir \
layout_packages \
INSTANCES \
DLL
-
BLD : do_nothing
CLEAN :