graphicsdeviceinterface/bitgdi/group/GenNewRscFile.mk
changeset 0 5d03bc08d59c
equal deleted inserted replaced
-1:000000000000 0:5d03bc08d59c
       
     1 # Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 # All rights reserved.
       
     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".
       
     7 #
       
     8 # Initial Contributors:
       
     9 # Nokia Corporation - initial contribution.
       
    10 #
       
    11 # Contributors:
       
    12 #
       
    13 # Description:
       
    14 # Generate test RSC files using new RSC file format: RSC file header + RSC file section + Bitmap file section
       
    15 # 
       
    16 #
       
    17 
       
    18 !if "$(PLATFORM)"=="WINS" || "$(PLATFORM)"=="WINSCW"
       
    19 TARGETDIR=$(EPOCROOT)EPOC32\RELEASE\$(PLATFORM)\$(CFG)\Z\SYSTEM\DATA
       
    20 !else
       
    21 TARGETDIR=$(EPOCROOT)EPOC32\DATA\Z\SYSTEM\DATA
       
    22 !endif
       
    23 
       
    24 do_nothing :
       
    25 	rem do_nothing
       
    26 
       
    27 #
       
    28 # The targets invoked by bld...
       
    29 #
       
    30 
       
    31 MAKMAKE : do_nothing
       
    32 
       
    33 TARGET_FILES=\
       
    34 		$(TARGETDIR)\RscHeader2.Bin \
       
    35 		$(TARGETDIR)\DummyRscFile.RSC \
       
    36 		..\TBIT\8ROMC.MBM \
       
    37 		..\TBIT\8RAMC.MBM \
       
    38 		$(TARGETDIR)\RomRsc_RomMbm.rsc \
       
    39 		$(TARGETDIR)\RamRsc_RamMbm.rsc \
       
    40 		..\TBIT\8RAMC2.MBM \
       
    41 		$(TARGETDIR)\RamRsc_RamMbm2.rsc \
       
    42 		..\TBIT\8ROMC2.MBM \
       
    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
       
    48 
       
    49 $(TARGETDIR)\RscHeader2.Bin : ..\TBIT\RscHeader2.Bin
       
    50 		@copy ..\TBIT\RscHeader2.Bin			$(TARGETDIR)\RscHeader2.Bin
       
    51 
       
    52 $(TARGETDIR)\DummyRscFile.RSC : ..\TBIT\DummyRscFile.RSC
       
    53 		@copy ..\TBIT\DummyRscFile.RSC			$(TARGETDIR)\DummyRscFile.RSC
       
    54 
       
    55 ..\TBIT\8ROMC.MBM : ..\TBIT\RLETest.bmp
       
    56 		@BMCONV.EXE		/s		..\TBIT\8ROMC.MBM		/c8..\TBIT\RLETest.bmp
       
    57 
       
    58 ..\TBIT\8RAMC.MBM : ..\TBIT\RLETest.bmp
       
    59 		@BMCONV.EXE				..\TBIT\8RAMC.MBM		/c8..\TBIT\RLETest.bmp
       
    60 
       
    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
       
    63 
       
    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
       
    66 
       
    67 ..\TBIT\8RAMC2.MBM : ..\TBIT\TBmp.bmp ..\TBIT\TGdiGen.bmp
       
    68 		@BMCONV.EXE				..\TBIT\8RAMC2.MBM		/c8..\TBIT\TBmp.bmp		/c8..\TBIT\TGdiGen.bmp
       
    69 
       
    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
       
    72 
       
    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
       
    75 
       
    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
       
    78 
       
    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
       
    81 
       
    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
       
    84 
       
    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
       
    87 
       
    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
       
    90 
       
    91 BLD : $(TARGET_FILES)
       
    92 
       
    93 CLEAN : 
       
    94 	-@erase $(TARGET_FILES)
       
    95 
       
    96 SAVESPACE : do_nothing
       
    97 
       
    98 RESOURCE : do_nothing
       
    99 
       
   100 FREEZE : do_nothing
       
   101 
       
   102 LIB : do_nothing
       
   103 
       
   104 CLEANLIB : do_nothing
       
   105 
       
   106 FINAL : do_nothing
       
   107 
       
   108 RELEASABLES : 
       
   109 	@echo $(TARGET_FILES)
       
   110 
       
   111 
       
   112