os/graphics/graphicsdeviceinterface/bitgdi/group/GenNewRscFile.mk
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/graphics/graphicsdeviceinterface/bitgdi/group/GenNewRscFile.mk	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,112 @@
     1.4 +# Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.5 +# All rights reserved.
     1.6 +# This component and the accompanying materials are made available
     1.7 +# under the terms of "Eclipse Public License v1.0"
     1.8 +# which accompanies this distribution, and is available
     1.9 +# at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.10 +#
    1.11 +# Initial Contributors:
    1.12 +# Nokia Corporation - initial contribution.
    1.13 +#
    1.14 +# Contributors:
    1.15 +#
    1.16 +# Description:
    1.17 +# Generate test RSC files using new RSC file format: RSC file header + RSC file section + Bitmap file section
    1.18 +# 
    1.19 +#
    1.20 +
    1.21 +!if "$(PLATFORM)"=="WINS" || "$(PLATFORM)"=="WINSCW"
    1.22 +TARGETDIR=$(EPOCROOT)EPOC32\RELEASE\$(PLATFORM)\$(CFG)\Z\SYSTEM\DATA
    1.23 +!else
    1.24 +TARGETDIR=$(EPOCROOT)EPOC32\DATA\Z\SYSTEM\DATA
    1.25 +!endif
    1.26 +
    1.27 +do_nothing :
    1.28 +	rem do_nothing
    1.29 +
    1.30 +#
    1.31 +# The targets invoked by bld...
    1.32 +#
    1.33 +
    1.34 +MAKMAKE : do_nothing
    1.35 +
    1.36 +TARGET_FILES=\
    1.37 +		$(TARGETDIR)\RscHeader2.Bin \
    1.38 +		$(TARGETDIR)\DummyRscFile.RSC \
    1.39 +		..\TBIT\8ROMC.MBM \
    1.40 +		..\TBIT\8RAMC.MBM \
    1.41 +		$(TARGETDIR)\RomRsc_RomMbm.rsc \
    1.42 +		$(TARGETDIR)\RamRsc_RamMbm.rsc \
    1.43 +		..\TBIT\8RAMC2.MBM \
    1.44 +		$(TARGETDIR)\RamRsc_RamMbm2.rsc \
    1.45 +		..\TBIT\8ROMC2.MBM \
    1.46 +		$(TARGETDIR)\RomRsc_RomMbm2.rsc \
    1.47 +		$(TARGETDIR)\RomRsc_RamMbm.rsc \
    1.48 +		$(TARGETDIR)\RamRsc_RomMbm.rsc \
    1.49 +		$(TARGETDIR)\RamRsc_RomMbm2.rsc \
    1.50 +		$(TARGETDIR)\RomRsc_RamMbm2.rsc
    1.51 +
    1.52 +$(TARGETDIR)\RscHeader2.Bin : ..\TBIT\RscHeader2.Bin
    1.53 +		@copy ..\TBIT\RscHeader2.Bin			$(TARGETDIR)\RscHeader2.Bin
    1.54 +
    1.55 +$(TARGETDIR)\DummyRscFile.RSC : ..\TBIT\DummyRscFile.RSC
    1.56 +		@copy ..\TBIT\DummyRscFile.RSC			$(TARGETDIR)\DummyRscFile.RSC
    1.57 +
    1.58 +..\TBIT\8ROMC.MBM : ..\TBIT\RLETest.bmp
    1.59 +		@BMCONV.EXE		/s		..\TBIT\8ROMC.MBM		/c8..\TBIT\RLETest.bmp
    1.60 +
    1.61 +..\TBIT\8RAMC.MBM : ..\TBIT\RLETest.bmp
    1.62 +		@BMCONV.EXE				..\TBIT\8RAMC.MBM		/c8..\TBIT\RLETest.bmp
    1.63 +
    1.64 +$(TARGETDIR)\RomRsc_RomMbm.rsc : ..\TBIT\RscHeader2.Bin ..\TBIT\DummyRscFile.RSC ..\TBIT\8ROMC.MBM
    1.65 +		@copy ..\TBIT\RscHeader2.Bin /b + ..\TBIT\DummyRscFile.RSC /b + ..\TBIT\8ROMC.MBM /b $(TARGETDIR)\RomRsc_RomMbm.rsc
    1.66 +
    1.67 +$(TARGETDIR)\RamRsc_RamMbm.rsc : ..\TBIT\RscHeader2.Bin ..\TBIT\DummyRscFile.RSC ..\TBIT\8RAMC.MBM
    1.68 +		@copy ..\TBIT\RscHeader2.Bin /b + ..\TBIT\DummyRscFile.RSC /b + ..\TBIT\8RAMC.MBM /b $(TARGETDIR)\RamRsc_RamMbm.rsc
    1.69 +
    1.70 +..\TBIT\8RAMC2.MBM : ..\TBIT\TBmp.bmp ..\TBIT\TGdiGen.bmp
    1.71 +		@BMCONV.EXE				..\TBIT\8RAMC2.MBM		/c8..\TBIT\TBmp.bmp		/c8..\TBIT\TGdiGen.bmp
    1.72 +
    1.73 +$(TARGETDIR)\RamRsc_RamMbm2.rsc : ..\TBIT\RscHeader2.Bin ..\TBIT\DummyRscFile.RSC ..\TBIT\8RAMC2.MBM
    1.74 +		@copy ..\TBIT\RscHeader2.Bin /b + ..\TBIT\DummyRscFile.RSC /b + ..\TBIT\8RAMC2.MBM /b $(TARGETDIR)\RamRsc_RamMbm2.rsc
    1.75 +
    1.76 +..\TBIT\8ROMC2.MBM : ..\TBIT\TBmp.bmp ..\TBIT\TGdiGen.bmp
    1.77 +		@BMCONV.EXE		/s		..\TBIT\8ROMC2.MBM		/c8..\TBIT\TBmp.bmp		/c8..\TBIT\TGdiGen.bmp
    1.78 +
    1.79 +$(TARGETDIR)\RomRsc_RomMbm2.rsc : ..\TBIT\RscHeader2.Bin ..\TBIT\DummyRscFile.RSC ..\TBIT\8ROMC2.MBM
    1.80 +		@copy ..\TBIT\RscHeader2.Bin /b + ..\TBIT\DummyRscFile.RSC /b + ..\TBIT\8ROMC2.MBM /b $(TARGETDIR)\RomRsc_RomMbm2.rsc
    1.81 +
    1.82 +$(TARGETDIR)\RomRsc_RamMbm.rsc : ..\TBIT\RscHeader2.Bin ..\TBIT\DummyRscFile.RSC ..\TBIT\8RAMC.MBM
    1.83 +		@copy ..\TBIT\RscHeader2.Bin /b + ..\TBIT\DummyRscFile.RSC /b + ..\TBIT\8RAMC.MBM /b $(TARGETDIR)\RomRsc_RamMbm.rsc
    1.84 +
    1.85 +$(TARGETDIR)\RamRsc_RomMbm.rsc : ..\TBIT\RscHeader2.Bin ..\TBIT\DummyRscFile.RSC ..\TBIT\8ROMC.MBM
    1.86 +		@copy ..\TBIT\RscHeader2.Bin /b + ..\TBIT\DummyRscFile.RSC /b + ..\TBIT\8ROMC.MBM /b $(TARGETDIR)\RamRsc_RomMbm.rsc
    1.87 +
    1.88 +$(TARGETDIR)\RamRsc_RomMbm2.rsc : ..\TBIT\RscHeader2.Bin ..\TBIT\DummyRscFile.RSC ..\TBIT\8ROMC2.MBM
    1.89 +		@copy ..\TBIT\RscHeader2.Bin /b + ..\TBIT\DummyRscFile.RSC /b + ..\TBIT\8ROMC2.MBM /b $(TARGETDIR)\RamRsc_RomMbm2.rsc
    1.90 +
    1.91 +$(TARGETDIR)\RomRsc_RamMbm2.rsc : ..\TBIT\RscHeader2.Bin ..\TBIT\DummyRscFile.RSC ..\TBIT\8RAMC2.MBM
    1.92 +		@copy ..\TBIT\RscHeader2.Bin /b + ..\TBIT\DummyRscFile.RSC /b + ..\TBIT\8RAMC2.MBM /b $(TARGETDIR)\RomRsc_RamMbm2.rsc
    1.93 +
    1.94 +BLD : $(TARGET_FILES)
    1.95 +
    1.96 +CLEAN : 
    1.97 +	-@erase $(TARGET_FILES)
    1.98 +
    1.99 +SAVESPACE : do_nothing
   1.100 +
   1.101 +RESOURCE : do_nothing
   1.102 +
   1.103 +FREEZE : do_nothing
   1.104 +
   1.105 +LIB : do_nothing
   1.106 +
   1.107 +CLEANLIB : do_nothing
   1.108 +
   1.109 +FINAL : do_nothing
   1.110 +
   1.111 +RELEASABLES : 
   1.112 +	@echo $(TARGET_FILES)
   1.113 +
   1.114 +
   1.115 +