First public contribution.
1 # Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
3 # This component and the accompanying materials are made available
4 # under the terms of "Eclipse Public License v1.0"
5 # which accompanies this distribution, and is available
6 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 # Initial Contributors:
9 # Nokia Corporation - initial contribution.
14 # Generate test RSC files using new RSC file format: RSC file header + RSC file section + Bitmap file section
18 !if "$(PLATFORM)"=="WINS" || "$(PLATFORM)"=="WINSCW"
19 TARGETDIR=$(EPOCROOT)EPOC32\RELEASE\$(PLATFORM)\$(CFG)\Z\SYSTEM\DATA
21 TARGETDIR=$(EPOCROOT)EPOC32\DATA\Z\SYSTEM\DATA
28 # The targets invoked by bld...
34 $(TARGETDIR)\RscHeader2.Bin \
35 $(TARGETDIR)\DummyRscFile.RSC \
38 $(TARGETDIR)\RomRsc_RomMbm.rsc \
39 $(TARGETDIR)\RamRsc_RamMbm.rsc \
41 $(TARGETDIR)\RamRsc_RamMbm2.rsc \
43 $(TARGETDIR)\RomRsc_RomMbm2.rsc \
44 $(TARGETDIR)\RomRsc_RamMbm.rsc \
45 $(TARGETDIR)\RamRsc_RomMbm.rsc \
46 $(TARGETDIR)\RamRsc_RomMbm2.rsc \
47 $(TARGETDIR)\RomRsc_RamMbm2.rsc
49 $(TARGETDIR)\RscHeader2.Bin : ..\TBIT\RscHeader2.Bin
50 @copy ..\TBIT\RscHeader2.Bin $(TARGETDIR)\RscHeader2.Bin
52 $(TARGETDIR)\DummyRscFile.RSC : ..\TBIT\DummyRscFile.RSC
53 @copy ..\TBIT\DummyRscFile.RSC $(TARGETDIR)\DummyRscFile.RSC
55 ..\TBIT\8ROMC.MBM : ..\TBIT\RLETest.bmp
56 @BMCONV.EXE /s ..\TBIT\8ROMC.MBM /c8..\TBIT\RLETest.bmp
58 ..\TBIT\8RAMC.MBM : ..\TBIT\RLETest.bmp
59 @BMCONV.EXE ..\TBIT\8RAMC.MBM /c8..\TBIT\RLETest.bmp
61 $(TARGETDIR)\RomRsc_RomMbm.rsc : ..\TBIT\RscHeader2.Bin ..\TBIT\DummyRscFile.RSC ..\TBIT\8ROMC.MBM
62 @copy ..\TBIT\RscHeader2.Bin /b + ..\TBIT\DummyRscFile.RSC /b + ..\TBIT\8ROMC.MBM /b $(TARGETDIR)\RomRsc_RomMbm.rsc
64 $(TARGETDIR)\RamRsc_RamMbm.rsc : ..\TBIT\RscHeader2.Bin ..\TBIT\DummyRscFile.RSC ..\TBIT\8RAMC.MBM
65 @copy ..\TBIT\RscHeader2.Bin /b + ..\TBIT\DummyRscFile.RSC /b + ..\TBIT\8RAMC.MBM /b $(TARGETDIR)\RamRsc_RamMbm.rsc
67 ..\TBIT\8RAMC2.MBM : ..\TBIT\TBmp.bmp ..\TBIT\TGdiGen.bmp
68 @BMCONV.EXE ..\TBIT\8RAMC2.MBM /c8..\TBIT\TBmp.bmp /c8..\TBIT\TGdiGen.bmp
70 $(TARGETDIR)\RamRsc_RamMbm2.rsc : ..\TBIT\RscHeader2.Bin ..\TBIT\DummyRscFile.RSC ..\TBIT\8RAMC2.MBM
71 @copy ..\TBIT\RscHeader2.Bin /b + ..\TBIT\DummyRscFile.RSC /b + ..\TBIT\8RAMC2.MBM /b $(TARGETDIR)\RamRsc_RamMbm2.rsc
73 ..\TBIT\8ROMC2.MBM : ..\TBIT\TBmp.bmp ..\TBIT\TGdiGen.bmp
74 @BMCONV.EXE /s ..\TBIT\8ROMC2.MBM /c8..\TBIT\TBmp.bmp /c8..\TBIT\TGdiGen.bmp
76 $(TARGETDIR)\RomRsc_RomMbm2.rsc : ..\TBIT\RscHeader2.Bin ..\TBIT\DummyRscFile.RSC ..\TBIT\8ROMC2.MBM
77 @copy ..\TBIT\RscHeader2.Bin /b + ..\TBIT\DummyRscFile.RSC /b + ..\TBIT\8ROMC2.MBM /b $(TARGETDIR)\RomRsc_RomMbm2.rsc
79 $(TARGETDIR)\RomRsc_RamMbm.rsc : ..\TBIT\RscHeader2.Bin ..\TBIT\DummyRscFile.RSC ..\TBIT\8RAMC.MBM
80 @copy ..\TBIT\RscHeader2.Bin /b + ..\TBIT\DummyRscFile.RSC /b + ..\TBIT\8RAMC.MBM /b $(TARGETDIR)\RomRsc_RamMbm.rsc
82 $(TARGETDIR)\RamRsc_RomMbm.rsc : ..\TBIT\RscHeader2.Bin ..\TBIT\DummyRscFile.RSC ..\TBIT\8ROMC.MBM
83 @copy ..\TBIT\RscHeader2.Bin /b + ..\TBIT\DummyRscFile.RSC /b + ..\TBIT\8ROMC.MBM /b $(TARGETDIR)\RamRsc_RomMbm.rsc
85 $(TARGETDIR)\RamRsc_RomMbm2.rsc : ..\TBIT\RscHeader2.Bin ..\TBIT\DummyRscFile.RSC ..\TBIT\8ROMC2.MBM
86 @copy ..\TBIT\RscHeader2.Bin /b + ..\TBIT\DummyRscFile.RSC /b + ..\TBIT\8ROMC2.MBM /b $(TARGETDIR)\RamRsc_RomMbm2.rsc
88 $(TARGETDIR)\RomRsc_RamMbm2.rsc : ..\TBIT\RscHeader2.Bin ..\TBIT\DummyRscFile.RSC ..\TBIT\8RAMC2.MBM
89 @copy ..\TBIT\RscHeader2.Bin /b + ..\TBIT\DummyRscFile.RSC /b + ..\TBIT\8RAMC2.MBM /b $(TARGETDIR)\RomRsc_RamMbm2.rsc
94 -@erase $(TARGET_FILES)
96 SAVESPACE : do_nothing
104 CLEANLIB : do_nothing
109 @echo $(TARGET_FILES)