sbsv1/buildsystem/extension/syslibs/test/dbms_copytestdbscfiles.mk
author Zheng Shen <zheng.shen@nokia.com>
Tue, 20 Jul 2010 15:02:28 +0800
changeset 617 3a747a240983
parent 599 fa7a3cc6effd
permissions -rw-r--r--
ROM Tools 12.2.0.4 Postlinker 2.2.5 Revert package_definition.xml to changeset 360bd6b35136
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
# Build DBMS test files
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
	TARGETDIR = $(EPOCROOT)epoc32/release/$(PLATFORM_PATH)/$(CFG_PATH)/z/private/100012a5/policy
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    25
	TARGETDIR2 = $(EPOCROOT)epoc32/release/$(PLATFORM_PATH)/$(CFG_PATH)/z/private/100012a5
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    26
	TARGETDIR3 = $(EPOCROOT)epoc32/release/$(PLATFORM_PATH)/$(CFG_PATH)/z/test
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    27
else
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    28
	TARGETDIR = $(EPOCROOT)epoc32/data/z/private/100012a5/policy
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    29
	TARGETDIR2 = $(EPOCROOT)epoc32/data/z/private/100012a5
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    30
	TARGETDIR3 = $(EPOCROOT)epoc32/data/z/system/test
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    31
endif
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    32
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    33
TARGET_FILES = \
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    34
	$(TARGETDIR)/11335577.spd \
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    35
	$(TARGETDIR)/11335578.spd \
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    36
	$(TARGETDIR)/11335579.spd \
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    37
	$(TARGETDIR)/1133557a.spd \
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    38
	$(TARGETDIR)/12344321.spd \
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    39
	$(TARGETDIR2)/dbs_11335578_a.db \
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    40
	$(TARGETDIR2)/dbs_11335578_b.db \
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    41
	$(TARGETDIR2)/dbs_11335578_z.db \
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    42
	$(TARGETDIR2)/dbs_11335579_testdb.db \
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    43
	$(TARGETDIR2)/dbs_1133557a_zzz.db \
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    44
	$(TARGETDIR2)/dbs_12344321_1234567890123456789012345678901234567890123456789012345678901234567890.db\
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    45
	$(TARGETDIR3)/11335577.txt\
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    46
	$(TARGETDIR3)/11335578.txt\
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    47
	$(TARGETDIR3)/11335579.txt\
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    48
	$(TARGETDIR3)/1133557A.txt\
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    49
	$(TARGETDIR3)/t_dbperf1.sql\
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    50
	$(TARGETDIR3)/t_script.txt\
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    51
	$(TARGETDIR3)/typetextktests44.dat\
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    52
	$(TARGETDIR3)/typetextktests46.dat\
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    53
	$(TARGETDIR3)/typetextktests47.dat
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    54
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    55
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    56
$(TARGETDIR) :
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    57
	$(call createdir, "$@")
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    58
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    59
$(TARGETDIR2) :
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    60
	$(call createdir, "$@")
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    61
	
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    62
$(TARGETDIR3) :
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    63
	$(call createdir, "$@")
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    64
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    65
COPYFILES :
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    66
		$(call forcecopy,$(EXTENSION_ROOT)/../TDBMS/11335577.spd,$(TARGETDIR)/11335577.spd)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    67
		$(call forcecopy,$(EXTENSION_ROOT)/../TDBMS/11335578.spd,$(TARGETDIR)/11335578.spd)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    68
		$(call forcecopy,$(EXTENSION_ROOT)/../TDBMS/11335579.spd,$(TARGETDIR)/11335579.spd)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    69
		$(call forcecopy,$(EXTENSION_ROOT)/../TDBMS/1133557A.spd,$(TARGETDIR)/1133557a.spd)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    70
		$(call forcecopy,$(EXTENSION_ROOT)/../TDBMS/12344321.spd,$(TARGETDIR)/12344321.spd)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    71
		$(call forcecopy,$(EXTENSION_ROOT)/../TDBMS/dbs_11335578_A.DB,$(TARGETDIR2)/dbs_11335578_a.db)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    72
		$(call forcecopy,$(EXTENSION_ROOT)/../TDBMS/dbs_11335578_B.DB,$(TARGETDIR2)/dbs_11335578_b.db)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    73
		$(call forcecopy,$(EXTENSION_ROOT)/../TDBMS/dbs_11335578_Z.DB,$(TARGETDIR2)/dbs_11335578_z.db)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    74
		$(call forcecopy,$(EXTENSION_ROOT)/../TDBMS/dbs_11335579_TESTDB.DB,$(TARGETDIR2)/dbs_11335579_testdb.db)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    75
		$(call forcecopy,$(EXTENSION_ROOT)/../TDBMS/dbs_1133557A_ZZZ.DB,$(TARGETDIR2)/dbs_1133557a_zzz.db)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    76
		$(call forcecopy,$(EXTENSION_ROOT)/../TDBMS/dbs_12344321_1234567890123456789012345678901234567890123456789012345678901234567890.DB,$(TARGETDIR2)/dbs_12344321_1234567890123456789012345678901234567890123456789012345678901234567890.db)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    77
		$(call forcecopy,$(EXTENSION_ROOT)/../TDBMS/11335577.txt,$(TARGETDIR3)/11335577.txt)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    78
		$(call forcecopy,$(EXTENSION_ROOT)/../TDBMS/11335578.txt,$(TARGETDIR3)/11335578.txt)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    79
		$(call forcecopy,$(EXTENSION_ROOT)/../TDBMS/11335579.txt,$(TARGETDIR3)/11335579.txt)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    80
		$(call forcecopy,$(EXTENSION_ROOT)/../TDBMS/1133557A.txt,$(TARGETDIR3)/1133557A.txt)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    81
		$(call forcecopy,$(EXTENSION_ROOT)/../TDBMS/t_dbperf1.sql,$(TARGETDIR3)/t_dbperf1.sql)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    82
		$(call forcecopy,$(EXTENSION_ROOT)/../TDBMS/t_script.txt,$(TARGETDIR3)/t_script.txt)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    83
		$(call forcecopy,$(EXTENSION_ROOT)/../TDBMS/typetextktests44.dat,$(TARGETDIR3)/typetextktests44.dat)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    84
		$(call forcecopy,$(EXTENSION_ROOT)/../TDBMS/typetextktests46.dat,$(TARGETDIR3)/typetextktests46.dat)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    85
		$(call forcecopy,$(EXTENSION_ROOT)/../TDBMS/typetextktests47.dat,$(TARGETDIR3)/typetextktests47.dat)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    86
		
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    87
DO_NOTHING :
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    88
	@echo do nothing
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    89
#
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    90
# The targets invoked by bld...
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    91
#
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    92
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    93
MAKMAKE : DO_NOTHING
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    94
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    95
BLD : $(TARGETDIR) $(TARGETDIR2) $(TARGETDIR3) COPYFILES
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    96
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    97
CLEAN : 
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    98
	$(call forceremove,$(TARGET_FILES))
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    99
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   100
SAVESPACE : DO_NOTHING
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   101
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   102
RESOURCE : DO_NOTHING
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   103
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   104
FREEZE : DO_NOTHING
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   105
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   106
LIB : DO_NOTHING
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   107
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   108
CLEANLIB : DO_NOTHING
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   109
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   110
FINAL : DO_NOTHING
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   111
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   112
RELEASABLES :
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   113
	@echo $(TARGETDIR)/11335577.spd
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   114
	@echo $(TARGETDIR)/11335578.spd
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   115
	@echo $(TARGETDIR)/11335579.spd
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   116
	@echo $(TARGETDIR)/1133557a.spd
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   117
	@echo $(TARGETDIR)/12344321.spd
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   118
	@echo $(TARGETDIR2)/dbs_11335578_a.db
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   119
	@echo $(TARGETDIR2)/dbs_11335578_b.db
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   120
	@echo $(TARGETDIR2)/dbs_11335578_z.db
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   121
	@echo $(TARGETDIR2)/dbs_11335579_testdb.db
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   122
	@echo $(TARGETDIR2)/dbs_1133557a_zzz.db
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   123
	@echo $(TARGETDIR2)/dbs_12344321_1234567890123456789012345678901234567890123456789012345678901234567890.db
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   124
	@echo $(TARGETDIR3)/11335577.txt
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   125
	@echo $(TARGETDIR3)/11335578.txt
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   126
	@echo $(TARGETDIR3)/11335579.txt
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   127
	@echo $(TARGETDIR3)/1133557A.txt
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   128
	@echo $(TARGETDIR3)/t_dbperf1.sql
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   129
	@echo $(TARGETDIR3)/t_script.txt
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   130
	@echo $(TARGETDIR3)/typetextktests44.dat
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   131
	@echo $(TARGETDIR3)/typetextktests46.dat
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
   132
	@echo $(TARGETDIR3)/typetextktests47.dat