toolsandutils/buildsystem/extension/syslibs/test/bafl_copytestfiles.mk
changeset 0 83f4b4db085c
child 1 d4b442d23379
equal deleted inserted replaced
-1:000000000000 0:83f4b4db085c
       
     1 # Copyright (c) 2007-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 # Copy test files to test sortbytable functionality.
       
    15 # 
       
    16 #
       
    17 
       
    18 TMPROOT:=$(subst \,/,$(EPOCROOT))
       
    19 EPOCROOT:=$(patsubst %/,%,$(TMPROOT))/
       
    20 
       
    21 include $(EPOCROOT)epoc32/tools/shell/$(notdir $(basename $(SHELL))).mk
       
    22 
       
    23 ifeq ($(findstring WINS,$(PLATFORM)),WINS)
       
    24 EPOCDATADIR=$(EPOCROOT)epoc32/release/$(PLATFORM_PATH)/$(CFG_PATH)
       
    25 else
       
    26 EPOCDATADIR=$(EPOCROOT)epoc32/data
       
    27 endif
       
    28 
       
    29 TARGETDIR=$(EPOCDATADIR)/z/system/documents/baflsortbytabletest
       
    30 SOURCEDIR=$(EXTENSION_ROOT)/../tsrc
       
    31 	
       
    32 COPYFILES :
       
    33 	$(CP) $(call slash2generic,$(SOURCEDIR)/ADDCERT.RSC $(TARGETDIR)/addcert.rsc)
       
    34 	$(CP) $(call slash2generic,$(SOURCEDIR)/HELP.RSC $(TARGETDIR)/help.rsc)
       
    35 	$(CP) $(call slash2generic,$(SOURCEDIR)/MSGEDITOR.RSC $(TARGETDIR)/msgeditor.rsc)
       
    36 	$(CP) $(call slash2generic,$(SOURCEDIR)/SMLPROGRESS.RSC $(TARGETDIR)/smlprogress.rsc)
       
    37 
       
    38 $(TARGETDIR) :
       
    39 	$(call createdir,"$@")
       
    40 	
       
    41 DO_NOTHING :
       
    42 	@echo do nothing
       
    43 	
       
    44 #
       
    45 # The targets invoked by bld...
       
    46 #
       
    47 
       
    48 BLD : $(TARGETDIR) COPYFILES
       
    49 
       
    50 CLEAN :  
       
    51 	-$(ERASE) $(call slash2generic,$(TARGETDIR)/addcert.rsc)
       
    52 	-$(ERASE) $(call slash2generic,$(TARGETDIR)/help.rsc)
       
    53 	-$(ERASE) $(call slash2generic,$(TARGETDIR)/msgeditor.rsc)
       
    54 	-$(ERASE) $(call slash2generic,$(TARGETDIR)/smlprogress.rsc)
       
    55 	
       
    56 RELEASABLES :
       
    57 	@echo $(TARGETDIR)/addcert.rsc
       
    58 	@echo $(TARGETDIR)/help.rsc
       
    59 	@echo $(TARGETDIR)/msgeditor.rsc
       
    60 	@echo $(TARGETDIR)/smlprogress.rsc
       
    61  
       
    62 MAKMAKE : DO_NOTHING
       
    63 
       
    64 SAVESPACE : DO_NOTHING
       
    65 
       
    66 RESOURCE : DO_NOTHING
       
    67 
       
    68 FREEZE : DO_NOTHING
       
    69 
       
    70 LIB : DO_NOTHING
       
    71 
       
    72 CLEANLIB : DO_NOTHING
       
    73 
       
    74 FINAL : DO_NOTHING