os/graphics/graphicsdeviceinterface/bitgdi/group/GenNewRscFile.mk
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
sl@0
     1
# Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
sl@0
     2
# All rights reserved.
sl@0
     3
# This component and the accompanying materials are made available
sl@0
     4
# under the terms of "Eclipse Public License v1.0"
sl@0
     5
# which accompanies this distribution, and is available
sl@0
     6
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
sl@0
     7
#
sl@0
     8
# Initial Contributors:
sl@0
     9
# Nokia Corporation - initial contribution.
sl@0
    10
#
sl@0
    11
# Contributors:
sl@0
    12
#
sl@0
    13
# Description:
sl@0
    14
# Generate test RSC files using new RSC file format: RSC file header + RSC file section + Bitmap file section
sl@0
    15
# 
sl@0
    16
#
sl@0
    17
sl@0
    18
!if "$(PLATFORM)"=="WINS" || "$(PLATFORM)"=="WINSCW"
sl@0
    19
TARGETDIR=$(EPOCROOT)EPOC32\RELEASE\$(PLATFORM)\$(CFG)\Z\SYSTEM\DATA
sl@0
    20
!else
sl@0
    21
TARGETDIR=$(EPOCROOT)EPOC32\DATA\Z\SYSTEM\DATA
sl@0
    22
!endif
sl@0
    23
sl@0
    24
do_nothing :
sl@0
    25
	rem do_nothing
sl@0
    26
sl@0
    27
#
sl@0
    28
# The targets invoked by bld...
sl@0
    29
#
sl@0
    30
sl@0
    31
MAKMAKE : do_nothing
sl@0
    32
sl@0
    33
TARGET_FILES=\
sl@0
    34
		$(TARGETDIR)\RscHeader2.Bin \
sl@0
    35
		$(TARGETDIR)\DummyRscFile.RSC \
sl@0
    36
		..\TBIT\8ROMC.MBM \
sl@0
    37
		..\TBIT\8RAMC.MBM \
sl@0
    38
		$(TARGETDIR)\RomRsc_RomMbm.rsc \
sl@0
    39
		$(TARGETDIR)\RamRsc_RamMbm.rsc \
sl@0
    40
		..\TBIT\8RAMC2.MBM \
sl@0
    41
		$(TARGETDIR)\RamRsc_RamMbm2.rsc \
sl@0
    42
		..\TBIT\8ROMC2.MBM \
sl@0
    43
		$(TARGETDIR)\RomRsc_RomMbm2.rsc \
sl@0
    44
		$(TARGETDIR)\RomRsc_RamMbm.rsc \
sl@0
    45
		$(TARGETDIR)\RamRsc_RomMbm.rsc \
sl@0
    46
		$(TARGETDIR)\RamRsc_RomMbm2.rsc \
sl@0
    47
		$(TARGETDIR)\RomRsc_RamMbm2.rsc
sl@0
    48
sl@0
    49
$(TARGETDIR)\RscHeader2.Bin : ..\TBIT\RscHeader2.Bin
sl@0
    50
		@copy ..\TBIT\RscHeader2.Bin			$(TARGETDIR)\RscHeader2.Bin
sl@0
    51
sl@0
    52
$(TARGETDIR)\DummyRscFile.RSC : ..\TBIT\DummyRscFile.RSC
sl@0
    53
		@copy ..\TBIT\DummyRscFile.RSC			$(TARGETDIR)\DummyRscFile.RSC
sl@0
    54
sl@0
    55
..\TBIT\8ROMC.MBM : ..\TBIT\RLETest.bmp
sl@0
    56
		@BMCONV.EXE		/s		..\TBIT\8ROMC.MBM		/c8..\TBIT\RLETest.bmp
sl@0
    57
sl@0
    58
..\TBIT\8RAMC.MBM : ..\TBIT\RLETest.bmp
sl@0
    59
		@BMCONV.EXE				..\TBIT\8RAMC.MBM		/c8..\TBIT\RLETest.bmp
sl@0
    60
sl@0
    61
$(TARGETDIR)\RomRsc_RomMbm.rsc : ..\TBIT\RscHeader2.Bin ..\TBIT\DummyRscFile.RSC ..\TBIT\8ROMC.MBM
sl@0
    62
		@copy ..\TBIT\RscHeader2.Bin /b + ..\TBIT\DummyRscFile.RSC /b + ..\TBIT\8ROMC.MBM /b $(TARGETDIR)\RomRsc_RomMbm.rsc
sl@0
    63
sl@0
    64
$(TARGETDIR)\RamRsc_RamMbm.rsc : ..\TBIT\RscHeader2.Bin ..\TBIT\DummyRscFile.RSC ..\TBIT\8RAMC.MBM
sl@0
    65
		@copy ..\TBIT\RscHeader2.Bin /b + ..\TBIT\DummyRscFile.RSC /b + ..\TBIT\8RAMC.MBM /b $(TARGETDIR)\RamRsc_RamMbm.rsc
sl@0
    66
sl@0
    67
..\TBIT\8RAMC2.MBM : ..\TBIT\TBmp.bmp ..\TBIT\TGdiGen.bmp
sl@0
    68
		@BMCONV.EXE				..\TBIT\8RAMC2.MBM		/c8..\TBIT\TBmp.bmp		/c8..\TBIT\TGdiGen.bmp
sl@0
    69
sl@0
    70
$(TARGETDIR)\RamRsc_RamMbm2.rsc : ..\TBIT\RscHeader2.Bin ..\TBIT\DummyRscFile.RSC ..\TBIT\8RAMC2.MBM
sl@0
    71
		@copy ..\TBIT\RscHeader2.Bin /b + ..\TBIT\DummyRscFile.RSC /b + ..\TBIT\8RAMC2.MBM /b $(TARGETDIR)\RamRsc_RamMbm2.rsc
sl@0
    72
sl@0
    73
..\TBIT\8ROMC2.MBM : ..\TBIT\TBmp.bmp ..\TBIT\TGdiGen.bmp
sl@0
    74
		@BMCONV.EXE		/s		..\TBIT\8ROMC2.MBM		/c8..\TBIT\TBmp.bmp		/c8..\TBIT\TGdiGen.bmp
sl@0
    75
sl@0
    76
$(TARGETDIR)\RomRsc_RomMbm2.rsc : ..\TBIT\RscHeader2.Bin ..\TBIT\DummyRscFile.RSC ..\TBIT\8ROMC2.MBM
sl@0
    77
		@copy ..\TBIT\RscHeader2.Bin /b + ..\TBIT\DummyRscFile.RSC /b + ..\TBIT\8ROMC2.MBM /b $(TARGETDIR)\RomRsc_RomMbm2.rsc
sl@0
    78
sl@0
    79
$(TARGETDIR)\RomRsc_RamMbm.rsc : ..\TBIT\RscHeader2.Bin ..\TBIT\DummyRscFile.RSC ..\TBIT\8RAMC.MBM
sl@0
    80
		@copy ..\TBIT\RscHeader2.Bin /b + ..\TBIT\DummyRscFile.RSC /b + ..\TBIT\8RAMC.MBM /b $(TARGETDIR)\RomRsc_RamMbm.rsc
sl@0
    81
sl@0
    82
$(TARGETDIR)\RamRsc_RomMbm.rsc : ..\TBIT\RscHeader2.Bin ..\TBIT\DummyRscFile.RSC ..\TBIT\8ROMC.MBM
sl@0
    83
		@copy ..\TBIT\RscHeader2.Bin /b + ..\TBIT\DummyRscFile.RSC /b + ..\TBIT\8ROMC.MBM /b $(TARGETDIR)\RamRsc_RomMbm.rsc
sl@0
    84
sl@0
    85
$(TARGETDIR)\RamRsc_RomMbm2.rsc : ..\TBIT\RscHeader2.Bin ..\TBIT\DummyRscFile.RSC ..\TBIT\8ROMC2.MBM
sl@0
    86
		@copy ..\TBIT\RscHeader2.Bin /b + ..\TBIT\DummyRscFile.RSC /b + ..\TBIT\8ROMC2.MBM /b $(TARGETDIR)\RamRsc_RomMbm2.rsc
sl@0
    87
sl@0
    88
$(TARGETDIR)\RomRsc_RamMbm2.rsc : ..\TBIT\RscHeader2.Bin ..\TBIT\DummyRscFile.RSC ..\TBIT\8RAMC2.MBM
sl@0
    89
		@copy ..\TBIT\RscHeader2.Bin /b + ..\TBIT\DummyRscFile.RSC /b + ..\TBIT\8RAMC2.MBM /b $(TARGETDIR)\RomRsc_RamMbm2.rsc
sl@0
    90
sl@0
    91
BLD : $(TARGET_FILES)
sl@0
    92
sl@0
    93
CLEAN : 
sl@0
    94
	-@erase $(TARGET_FILES)
sl@0
    95
sl@0
    96
SAVESPACE : do_nothing
sl@0
    97
sl@0
    98
RESOURCE : do_nothing
sl@0
    99
sl@0
   100
FREEZE : do_nothing
sl@0
   101
sl@0
   102
LIB : do_nothing
sl@0
   103
sl@0
   104
CLEANLIB : do_nothing
sl@0
   105
sl@0
   106
FINAL : do_nothing
sl@0
   107
sl@0
   108
RELEASABLES : 
sl@0
   109
	@echo $(TARGET_FILES)
sl@0
   110
sl@0
   111
sl@0
   112