sbsv1/buildsystem/extension/syslibs/test/bafl_copytestfiles.mk
author Zheng Shen <zheng.shen@nokia.com>
Tue, 26 Oct 2010 11:12:31 +0800
changeset 654 7c11c3d8d025
parent 599 fa7a3cc6effd
permissions -rw-r--r--
romtools 13.2.0.1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
599
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
     1
# Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
     2
# All rights reserved.
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
     3
# This component and the accompanying materials are made available
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
     4
# under the terms of "Eclipse Public License v1.0"
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
     5
# which accompanies this distribution, and is available
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
     6
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
     7
#
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
     8
# Initial Contributors:
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
     9
# Nokia Corporation - initial contribution.
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    10
#
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    11
# Contributors:
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    12
#
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    13
# Description:
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    14
# Copy test files to test sortbytable functionality.
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    15
# 
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    16
#
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    17
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    18
TMPROOT:=$(subst \,/,$(EPOCROOT))
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    19
EPOCROOT:=$(patsubst %/,%,$(TMPROOT))/
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    20
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    21
include $(EPOCROOT)epoc32/tools/shell/$(notdir $(basename $(SHELL))).mk
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    22
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    23
ifeq ($(findstring WINS,$(PLATFORM)),WINS)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    24
EPOCDATADIR=$(EPOCROOT)epoc32/release/$(PLATFORM_PATH)/$(CFG_PATH)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    25
else
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    26
EPOCDATADIR=$(EPOCROOT)epoc32/data
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    27
endif
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    28
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    29
TARGETDIR=$(EPOCDATADIR)/z/system/documents/baflsortbytabletest
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    30
SOURCEDIR=$(EXTENSION_ROOT)/../tsrc
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    31
	
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    32
COPYFILES :
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    33
	$(CP) $(call slash2generic,$(SOURCEDIR)/ADDCERT.RSC $(TARGETDIR)/addcert.rsc)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    34
	$(CP) $(call slash2generic,$(SOURCEDIR)/HELP.RSC $(TARGETDIR)/help.rsc)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    35
	$(CP) $(call slash2generic,$(SOURCEDIR)/MSGEDITOR.RSC $(TARGETDIR)/msgeditor.rsc)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    36
	$(CP) $(call slash2generic,$(SOURCEDIR)/SMLPROGRESS.RSC $(TARGETDIR)/smlprogress.rsc)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    37
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    38
$(TARGETDIR) :
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    39
	$(call createdir,"$@")
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    40
	
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    41
DO_NOTHING :
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    42
	@echo do nothing
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    43
	
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    44
#
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    45
# The targets invoked by bld...
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    46
#
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    47
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    48
BLD : $(TARGETDIR) COPYFILES
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    49
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    50
CLEAN :  
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    51
	-$(ERASE) $(call slash2generic,$(TARGETDIR)/addcert.rsc)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    52
	-$(ERASE) $(call slash2generic,$(TARGETDIR)/help.rsc)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    53
	-$(ERASE) $(call slash2generic,$(TARGETDIR)/msgeditor.rsc)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    54
	-$(ERASE) $(call slash2generic,$(TARGETDIR)/smlprogress.rsc)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    55
	
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    56
RELEASABLES :
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    57
	@echo $(TARGETDIR)/addcert.rsc
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    58
	@echo $(TARGETDIR)/help.rsc
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    59
	@echo $(TARGETDIR)/msgeditor.rsc
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    60
	@echo $(TARGETDIR)/smlprogress.rsc
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    61
 
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    62
MAKMAKE : DO_NOTHING
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    63
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    64
SAVESPACE : DO_NOTHING
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    65
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    66
RESOURCE : DO_NOTHING
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    67
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    68
FREEZE : DO_NOTHING
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    69
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    70
LIB : DO_NOTHING
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    71
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    72
CLEANLIB : DO_NOTHING
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    73
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    74
FINAL : DO_NOTHING