dependencies/mifconv/makefile_templates/mifconv_step4.make
author Christian Morlok <symbian.org@christianmorlok.de>
Wed, 07 Apr 2010 14:35:19 +0200
branchv5backport
changeset 54 666a2952b5b3
parent 21 11157e26c4a7
permissions -rw-r--r--
renamed dlls+exe to prevent conflicts with existing files in emulator; changelog attached. * renamed dlls/exe: - aifw.dll to aifw_hs.dll - cputils to cputils_hs - aiidleint.dll to aiidleint_hs.dll - aiutils.dll to aiutils_hs.dll - MenuInterface.dll to MenuInterface_hs.dll - XCFW.dll to XCFW_hs.dll - homescreen.exe to homescreen_hs.exe - ailaunch.exe to ailaunch_hs.exe * new UID for Active Idle (aifw_hs.dll, aiidleint_hs.dll and homescreen.exe): #define AI_UID3_AIFW_COMMON 0xEDFF45C4 (was 0x102750F0 = 271012080) * new UID for cputils_hs.dll: 0xE3E7134E (was 0x20016B7F = 536963967) * new UID for AI Utilities Factory (aiutils_hs.dll): 0xEC55106C (was 0x10281865 = 271063141) * new UID for MenuInterface_hs.dll: 0xEEE24485 (was 0x10210EAB = 270601899) * new UID for XCFW_hs.dll: 0xEB12332F (was 0x10210EA0 = 270601888) * new UID for ailaunch_hs.exe: 0xEF5A047A (was 0x200286E3 = 537036515)

#
# Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). 
# All rights reserved.
# This component and the accompanying materials are made available
# under the terms of "Eclipse Public License v1.0"
# which accompanies this distribution, and is available
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
#
# Initial Contributors:
# Nokia Corporation - initial contribution.
#
# Contributors:
# 
# Description:
# 
#

# Generation of TARGETFILE, BITMAPFILE or HEADERFILE is depending on *.svgb and *.bmp files
$(TARGETFILE) $(BITMAPFILE) $(HEADERFILE) : MIFCONVOPTS:=$(MIFCONVOPTS)
$(TARGETFILE) $(BITMAPFILE) $(HEADERFILE) : BITMAPS:=$(addsuffix .bmp,$(BITMAPBASESOURCES))
$(TARGETFILE) $(BITMAPFILE) $(HEADERFILE) : TARGETFILE:=$(TARGETFILE)
$(TARGETFILE) $(BITMAPFILE) $(HEADERFILE) : HEADERFILE:=$(HEADERFILE)
$(TARGETFILE) $(BITMAPFILE) $(HEADERFILE) : PARAMFILE:=$(PARAMFILE)
$(TARGETFILE) $(BITMAPFILE) $(HEADERFILE) : $(SVGBFILES) $(BMPFILES)
    # Set the prefix for header 
    # Pick only input files matching *.svgb (created directory may also appear in the input)
    # And set the colordepth options
ifneq ($(strip $(HEADERFILE)),)
	echo $(addprefix -h,$(HEADERFILE))  > $(PARAMFILE)
	echo $(wordlist 1,100,$(MIFCONVOPTS)) >> $(PARAMFILE)
else
	echo $(wordlist 1,100,$(MIFCONVOPTS)) > $(PARAMFILE)
endif

ifneq ($(strip $(wordlist 101,200,$(MIFCONVOPTS))),)
	echo $(wordlist 101,200,$(MIFCONVOPTS)) >> $(PARAMFILE)
endif

ifneq ($(strip $(wordlist 201,300,$(MIFCONVOPTS))),)
	echo $(wordlist 201,300,$(MIFCONVOPTS)) >> $(PARAMFILE)
endif

ifneq ($(strip $(wordlist 301,400,$(MIFCONVOPTS))),)
	echo $(wordlist 301,400,$(MIFCONVOPTS)) >> $(PARAMFILE)
endif

ifneq ($(strip $(wordlist 401,500,$(MIFCONVOPTS))),)
	echo $(wordlist 401,500,$(MIFCONVOPTS)) >> $(PARAMFILE)
endif

ifneq ($(strip $(wordlist 501,600,$(MIFCONVOPTS))),)
	echo $(wordlist 501,600,$(MIFCONVOPTS)) >> $(PARAMFILE)
endif

ifneq ($(strip $(wordlist 601,700,$(MIFCONVOPTS))),)
	echo $(wordlist 601,700,$(MIFCONVOPTS)) >> $(PARAMFILE)
endif

ifneq ($(strip $(wordlist 701,800,$(MIFCONVOPTS))),)
	echo $(wordlist 701,800,$(MIFCONVOPTS)) >> $(PARAMFILE)
endif

ifneq ($(strip $(wordlist 801,900,$(MIFCONVOPTS))),)
	echo $(wordlist 801,900,$(MIFCONVOPTS)) >> $(PARAMFILE)
endif

ifneq ($(strip $(wordlist 901,1000,$(MIFCONVOPTS))),)
	echo $(wordlist 901,1000,$(MIFCONVOPTS)) >> $(PARAMFILE)
endif

ifneq ($(strip $(wordlist 1001,1100,$(MIFCONVOPTS))),)
	echo $(wordlist 1001,1100,$(MIFCONVOPTS)) >> $(PARAMFILE)
endif

ifneq ($(strip $(wordlist 1101,1200,$(MIFCONVOPTS))),)
	echo $(wordlist 1101,1200,$(MIFCONVOPTS)) >> $(PARAMFILE)
endif

ifneq ($(strip $(wordlist 1201,1300,$(MIFCONVOPTS))),)
	echo $(wordlist 1201,1300,$(MIFCONVOPTS)) >> $(PARAMFILE)
endif

ifneq ($(strip $(wordlist 1301,1400,$(MIFCONVOPTS))),)
	echo $(wordlist 1301,1400,$(MIFCONVOPTS)) >> $(PARAMFILE)
endif

ifneq ($(strip $(wordlist 1401,1500,$(MIFCONVOPTS))),)
	echo $(wordlist 1401,1500,$(MIFCONVOPTS)) >> $(PARAMFILE)
endif

ifneq ($(strip $(wordlist 1501,1600,$(MIFCONVOPTS))),)
	echo $(wordlist 1501,1600,$(MIFCONVOPTS)) >> $(PARAMFILE)
endif



# Execute Mifconv with the parameter list 
ifneq ($(strip $(SOURCEDIR)),)
	$(MIFCONV) $(TARGETFILE) -i$(SOURCEDIR) -e -f$(PARAMFILE)
else
	$(MIFCONV) $(TARGETFILE) -e -f$(PARAMFILE)
endif



%-erase :
	-$(RM) $*