camappengine/asynchfilesavequeue/tsrc/public/basic/group/testcollector.mk
branchRCL_3
changeset 20 e3cdd00b5ae3
parent 19 18fa9327a158
child 21 27fe719c32e6
equal deleted inserted replaced
19:18fa9327a158 20:e3cdd00b5ae3
     1 #
       
     2 # Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies).
       
     3 # All rights reserved.
       
     4 # This component and the accompanying materials are made available
       
     5 # under the terms of "Eclipse Public License v1.0"
       
     6 # which accompanies this distribution, and is available
       
     7 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 #
       
     9 # Initial Contributors:
       
    10 # Nokia Corporation - initial contribution.
       
    11 #
       
    12 # Contributors:
       
    13 #
       
    14 # Description:  GNU Makefile that updates the ATS3 drop for a test set.
       
    15 #
       
    16 TESTTYPE=STIF
       
    17 DLLS=STIFAFSQTest.dll
       
    18 DLLDIR=..\$(TESTTYPE)_temp
       
    19 
       
    20 
       
    21 BUILD_DIR=\epoc32\RELEASE\$(PLATFORM)\$(CFG)
       
    22 
       
    23 UPDATE_BINARIES := $(foreach DLL, $(DLLS), \
       
    24                    & xcopy /Q /Y /F "$(BUILD_DIR)\$(DLL)" "$(DLLDIR)")
       
    25 UPDATE_BINARIES := $(wordlist 2, 1000, $(UPDATE_BINARIES))
       
    26 
       
    27 
       
    28 
       
    29 # For these targets we shall not do anything.
       
    30 MAKMAKE FREEZE LIB CLEANLIB RESOURCE RELEASABLES FINAL SAVESPACE:
       
    31 
       
    32 # BLD target of this Makefile is executed after Symbian BLD target
       
    33 # so the binaries are ready.
       
    34 BLD: 
       
    35 	echo Preparing Test collection...
       
    36 	-mkdir "$(DLLDIR)" 2> NUL
       
    37 	$(UPDATE_BINARIES)
       
    38 
       
    39 # Clean the copied binaries from the ATS drop.
       
    40 CLEAN:
       
    41 	echo Cleaning Test collection...
       
    42 	-rd /s /q "$(DLLDIR)" 2> NUL
       
    43 
       
    44 
       
    45