layouts/aknlayout2/group/LayoutDllUiAccel.mk
changeset 0 05e9090e2422
child 8 a10f447f38bd
equal deleted inserted replaced
-1:000000000000 0:05e9090e2422
       
     1 #
       
     2 # Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 # All rights reserved.
       
     4 # This component and the accompanying materials are made available
       
     5 # under the terms of "Eclipse Public License v1.0"
       
     6 # which accompanies this distribution, and is available
       
     7 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 #
       
     9 # Initial Contributors:
       
    10 # Nokia Corporation - initial contribution.
       
    11 #
       
    12 # Contributors:
       
    13 #
       
    14 # Description:
       
    15 #
       
    16 
       
    17 include layoutConfig.mk
       
    18 
       
    19 layout_gen_dir = $(gen_dir)\$(name)_uiaccel$(delivery)
       
    20 
       
    21 Elaf_Portrait_Pack_Contents=\
       
    22         EAknLayoutIdELAF \
       
    23         AknLayoutScalable_Elaf_h$(prt_code)_c_$(short)_prt$(touch)$(delivery)_$$ZOOM
       
    24 
       
    25 Abrw_Portrait_Pack_Contents=\
       
    26         EAknLayoutIdABRW \
       
    27         AknLayoutScalable_Abrw_h$(prt_code)_c_$(short)_prt$(touch)$(delivery)_$$ZOOM
       
    28 
       
    29 Apac_Portrait_Pack_Contents=\
       
    30         EAknLayoutIdAPAC \
       
    31         AknLayoutScalable_Elaf_h$(prt_code)_c_$(short)_prt$(touch)$(delivery)_$$ZOOM
       
    32 
       
    33 Elaf_Landscape_Pack_Contents=\
       
    34         EAknLayoutIdELAF \
       
    35         AknLayoutScalable_Elaf_h$(land_code)_c_$(short)_lsc$(touch)$(delivery)_$$ZOOM
       
    36 
       
    37 Abrw_Landscape_Pack_Contents=\
       
    38 	EAknLayoutIdABRW \
       
    39         AknLayoutScalable_Abrw_h$(land_code)_c_$(short)_lsc$(touch)$(delivery)_$$ZOOM
       
    40 
       
    41 Apac_Landscape_Pack_Contents=\
       
    42         EAknLayoutIdAPAC \
       
    43         AknLayoutScalable_Elaf_h$(land_code)_c_$(short)_lsc$(touch)$(delivery)_$$ZOOM
       
    44 
       
    45 
       
    46 pkg = @AknLayoutCompiler -p$(layout_gen_dir) LayPkg -z..\generated\LayoutZoomFactorConfig.txt -d$(delivery) -p$(priority) -a$(appUid)
       
    47 
       
    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
       
    50 
       
    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
       
    53 
       
    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
       
    56 
       
    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
       
    59 
       
    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
       
    62 
       
    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
       
    65 
       
    66 clean_inst_list : 
       
    67 	@-del /q $(layout_gen_dir)\uiaccel_instances.txt > nul 2>&1
       
    68 
       
    69 layout_packages : \
       
    70 	clean_inst_list \
       
    71 	Elaf_portrait \
       
    72 	Abrw_portrait \
       
    73 	Apac_portrait \
       
    74 	Elaf_landscape \
       
    75 	Abrw_landscape \
       
    76 	Apac_landscape
       
    77 
       
    78 do_nothing :
       
    79 	@rem do_nothing
       
    80 
       
    81 standard_flags = -p$(layout_gen_dir) MLCompCdl2InstO -i$(layout_gen_dir)\uiaccel_instances.txt -z..\generated\LayoutZoomFactorConfig.txt -allparams -d$(delivery)
       
    82 
       
    83 make_layout_gen_dir : make_gen_dir
       
    84 	@-md $(layout_gen_dir) > nul 2>&1
       
    85 
       
    86 
       
    87 # Note: AknLayoutScalable_Elaf_h$(prt_code)_c_$(short)_prt$(touch)$(delivery)_normal.cpp
       
    88 # acts as a proxy for all uiaccel scalable instance source code
       
    89 uiaccel_scalable_instances_cpp=\
       
    90     $(layout_gen_dir)\AknLayoutScalable_Elaf_h$(prt_code)_c_$(short)_prt$(touch)$(delivery)_normal.cpp
       
    91 
       
    92 ifndef delivery
       
    93 delivery_dir=_all
       
    94 endif
       
    95 ifdef delivery
       
    96 delivery_dir=$(delivery)
       
    97 endif
       
    98 
       
    99 uiaccel_scalable_instances_dep=\
       
   100     ..\generated\LayoutZoomFactorConfig.txt \
       
   101     ..\cdl\AknLayoutScalable_UiAccel.cdl \
       
   102     ..\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 \
       
   104     ..\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 \
       
   106     ..\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 \
       
   108     ..\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
       
   110 
       
   111 
       
   112 $(uiaccel_scalable_instances_cpp): $(uiaccel_scalable_instances_dep)
       
   113 	@rem
       
   114 	@rem instance source for ui accelerator scalable layout APIs
       
   115 	@rem
       
   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 \
       
   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) \
       
   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) \
       
   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) \
       
   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)
       
   124 
       
   125 
       
   126 INSTANCES: \
       
   127     $(uiaccel_scalable_instances_cpp)
       
   128 
       
   129 
       
   130 DLL:
       
   131 	@rem
       
   132 	@rem the DLL
       
   133 	@rem
       
   134 	@CdlCompiler dll \
       
   135 		-n$(dllversion) \
       
   136 		\
       
   137 		-p$(layout_gen_dir) \
       
   138 		\
       
   139 		-laknlayout2scalable.lib \
       
   140 		-lcdlengine.lib \
       
   141 		\
       
   142 		-s..\..\decodelib\Aknlayout2scalabledecode.cpp \
       
   143 		\
       
   144 		"-esysteminclude .."\
       
   145 		\
       
   146 		UiAccel_LayoutInst_$(name)$(delivery) $(uid) \
       
   147 		\
       
   148 		@$(layout_gen_dir)\uiaccel_instances.txt
       
   149 
       
   150 MAKMAKE : \
       
   151 	make_layout_gen_dir \
       
   152 	layout_packages \
       
   153 	INSTANCES \
       
   154 	DLL
       
   155 	
       
   156 BLD : do_nothing
       
   157 
       
   158 CLEAN :
       
   159 
       
   160 LIB : do_nothing
       
   161 
       
   162 CLEANLIB : do_nothing
       
   163 
       
   164 RESOURCE : do_nothing
       
   165 
       
   166 FREEZE : do_nothing
       
   167 
       
   168 SAVESPACE : do_nothing
       
   169 
       
   170 RELEASABLES : do_nothing
       
   171 
       
   172 FINAL : do_nothing
       
   173 
       
   174