os/persistentdata/persistentstorage/centralrepository/pccenrep/group/centrep_copypctestfilev2.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) 2008-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
# centrep_copypctestfile.mk
sl@0
    15
# 
sl@0
    16
#
sl@0
    17
sl@0
    18
TMPROOT:=$(subst \,/,$(EPOCROOT))
sl@0
    19
EPOCROOT:=$(patsubst %/,%,$(TMPROOT))/
sl@0
    20
sl@0
    21
include $(EPOCROOT)epoc32/tools/shell/$(notdir $(basename $(SHELL))).mk
sl@0
    22
sl@0
    23
ifeq ($(findstring WINS,$(PLATFORM)),WINS)
sl@0
    24
	EPOCDATADIR = $(EPOCROOT)epoc32/release/$(PLATFORM_PATH)/$(CFG_PATH)
sl@0
    25
else
sl@0
    26
	EPOCDATADIR = $(EPOCROOT)epoc32/data
sl@0
    27
endif
sl@0
    28
sl@0
    29
SECURETARGETDIR = $(EPOCDATADIR)/z/private/10202BE9
sl@0
    30
sl@0
    31
PCCENREPSOURCE = $(EXTENSION_ROOT)/../test
sl@0
    32
PCCENREPDATADIR = $(EPOCROOT)epoc32/winscw/c/private/00000000
sl@0
    33
PCCENREPTESTDIR = $(EPOCROOT)epoc32/winscw/c
sl@0
    34
PCCENREPPCTESTDIR = $(EPOCROOT)epoc32/release/$(PLATFORM_PATH)/$(CFG_PATH)
sl@0
    35
sl@0
    36
$(SECURETARGETDIR) :
sl@0
    37
	$(call createdir, "$@")
sl@0
    38
sl@0
    39
$(PCCENREPDATADIR) :
sl@0
    40
	$(call createdir, "$@")
sl@0
    41
sl@0
    42
COPYFILES :
sl@0
    43
ifneq ($(findstring TOOLS2,$(PLATFORM)),TOOLS2)
sl@0
    44
	$(call forcecopy,$(PCCENREPSOURCE)/000001ff.txt,$(SECURETARGETDIR)/000001ff.txt)
sl@0
    45
	$(call forcecopy,$(PCCENREPSOURCE)/00001fff.crev2,$(SECURETARGETDIR)/00001fff.cre)
sl@0
    46
	$(call forcecopy,$(PCCENREPSOURCE)/000002ff.crev2,$(SECURETARGETDIR)/000002ff.cre)
sl@0
    47
	$(call forcecopy,$(PCCENREPSOURCE)/88888880.txt,$(SECURETARGETDIR)/88888880.txt)
sl@0
    48
	$(call forcecopy,$(PCCENREPSOURCE)/88888881.cre,$(SECURETARGETDIR)/88888881.cre)
sl@0
    49
	$(call forcecopy,$(PCCENREPSOURCE)/00004fff.cre,$(SECURETARGETDIR)/00004fff.cre)
sl@0
    50
	$(call forcecopy,$(PCCENREPSOURCE)/00022222.txt,$(SECURETARGETDIR)/00022222.txt)
sl@0
    51
sl@0
    52
ifeq ($(findstring WINS,$(PLATFORM)),WINS)	
sl@0
    53
	$(call forcecopy,$(PCCENREPSOURCE)/000001ff.txt,$(PCCENREPDATADIR)/000001ff.txt)
sl@0
    54
	$(call forcecopy,$(PCCENREPSOURCE)/00001fff.crev2,$(PCCENREPDATADIR)/00001fff.cre)
sl@0
    55
	$(call forcecopy,$(PCCENREPSOURCE)/000002ff.crev2,$(PCCENREPDATADIR)/000002ff.cre)
sl@0
    56
	$(call forcecopy,$(PCCENREPSOURCE)/88888880.txt,$(PCCENREPDATADIR)/88888880.txt)
sl@0
    57
	$(call forcecopy,$(PCCENREPSOURCE)/88888881.cre,$(PCCENREPDATADIR)/88888881.cre)
sl@0
    58
	$(call forcecopy,$(PCCENREPSOURCE)/winscwcre.crev2,$(PCCENREPDATADIR)/ref_winscwcre.cre)
sl@0
    59
	$(call forcecopy,$(PCCENREPSOURCE)/winscwtxt.crev2,$(PCCENREPDATADIR)/ref_winscwtxt.cre)
sl@0
    60
	$(call forcecopy,$(PCCENREPSOURCE)/000001ff.txt,$(PCCENREPDATADIR)/copy000001ff.txt)
sl@0
    61
	$(call forcecopy,$(PCCENREPSOURCE)/00001fff.crev2,$(PCCENREPDATADIR)/copy00001fff.cre)
sl@0
    62
	$(call forcecopy,$(PCCENREPSOURCE)/000002ff.crev2,$(PCCENREPDATADIR)/copy000002ff.cre)
sl@0
    63
	$(call forcecopy,$(PCCENREPSOURCE)/00004fff.cre,$(PCCENREPDATADIR)/00004fff.cre)
sl@0
    64
	$(call forcecopy,$(PCCENREPSOURCE)/00004fff.cre,$(PCCENREPDATADIR)/copy00004fff.cre)
sl@0
    65
	$(call forcecopy,$(PCCENREPSOURCE)/00022222.txt,$(PCCENREPDATADIR)/00022222.txt)
sl@0
    66
	$(call forcecopy,$(PCCENREPSOURCE)/00022222.crev2,$(PCCENREPDATADIR)/copy00022222.cre)
sl@0
    67
	$(call forcecopy,$(PCCENREPSOURCE)/000001ff.txt,$(PCCENREPTESTDIR)/000001ff.txt)
sl@0
    68
	$(call forcecopy,$(PCCENREPSOURCE)/00001fff.crev2,$(PCCENREPTESTDIR)/00001fff.cre)
sl@0
    69
	$(call forcecopy,$(PCCENREPSOURCE)/00001fff.crev2,$(PCCENREPTESTDIR)/copy00001fff.cre)
sl@0
    70
	$(call forcecopy,$(PCCENREPSOURCE)/00004fff.cre,$(PCCENREPTESTDIR)/00004fff.cre)
sl@0
    71
	$(call forcecopy,$(PCCENREPSOURCE)/00004fff.cre,$(PCCENREPTESTDIR)/copy00004fff.cre)
sl@0
    72
	$(call forcecopy,$(PCCENREPSOURCE)/00022222.txt,$(PCCENREPTESTDIR)/00022222.txt)
sl@0
    73
	$(call forcecopy,$(PCCENREPSOURCE)/00022222.crev2,$(PCCENREPTESTDIR)/copy00022222.cre)
sl@0
    74
# Shared files between the t_cenreppc (WINSCW) and testsymcenrep (TOOLS2) tests.
sl@0
    75
	$(call forcecopy,$(PCCENREPSOURCE)/common_crc.txt,$(PCCENREPTESTDIR)/common_crc.txt)
sl@0
    76
	$(call forcecopy,$(PCCENREPSOURCE)/common_ref_00022222.cre,$(PCCENREPDATADIR)/common_ref_00022222.cre)
sl@0
    77
endif
sl@0
    78
sl@0
    79
# TOOLS2
sl@0
    80
else
sl@0
    81
	$(call forcecopy,$(PCCENREPSOURCE)/000001ff.txt,$(PCCENREPPCTESTDIR)/000001ff.txt)
sl@0
    82
	$(call forcecopy,$(PCCENREPSOURCE)/00001fff.crev2,$(PCCENREPPCTESTDIR)/00001fff.cre)
sl@0
    83
	$(call forcecopy,$(PCCENREPSOURCE)/00004fff.cre,$(PCCENREPPCTESTDIR)/00004fff.cre)
sl@0
    84
	$(call forcecopy,$(PCCENREPSOURCE)/000001ff.txt,$(PCCENREPPCTESTDIR)/copy000001ff.txt)
sl@0
    85
	$(call forcecopy,$(PCCENREPSOURCE)/00001fff.crev2,$(PCCENREPPCTESTDIR)/copy00001fff.cre)
sl@0
    86
	$(call forcecopy,$(PCCENREPSOURCE)/00004fff.cre,$(PCCENREPPCTESTDIR)/copy00004fff.cre)
sl@0
    87
	$(call forcecopy,$(PCCENREPSOURCE)/000002ff.crev2,$(PCCENREPPCTESTDIR)/000002ff.cre)
sl@0
    88
	$(call forcecopy,$(PCCENREPSOURCE)/000002ff.crev2,$(PCCENREPPCTESTDIR)/copy000002ff.cre)
sl@0
    89
	$(call forcecopy,$(PCCENREPSOURCE)/winscwcre.crev2,$(PCCENREPPCTESTDIR)/ref_winscwcre.cre)
sl@0
    90
	$(call forcecopy,$(PCCENREPSOURCE)/winscwtxt.crev2,$(PCCENREPPCTESTDIR)/ref_winscwtxt.cre)
sl@0
    91
	$(call forcecopy,$(PCCENREPSOURCE)/88888880.txt,$(PCCENREPPCTESTDIR)/88888880.txt)
sl@0
    92
	$(call forcecopy,$(PCCENREPSOURCE)/88888881.cre,$(PCCENREPPCTESTDIR)/88888881.cre)
sl@0
    93
	$(call forcecopy,$(PCCENREPSOURCE)/00022222.txt,$(PCCENREPPCTESTDIR)/00022222.txt)
sl@0
    94
	$(call forcecopy,$(PCCENREPSOURCE)/00022222.crev2,$(PCCENREPPCTESTDIR)/copy00022222.cre)
sl@0
    95
# Shared files between the t_cenreppc (WINSCW) and testsymcenrep (TOOLS2) tests.
sl@0
    96
	$(call forcecopy,$(PCCENREPSOURCE)/common_crc.txt,$(PCCENREPTESTDIR)/common_crc.txt)
sl@0
    97
	$(call forcecopy,$(PCCENREPSOURCE)/common_ref_00022222.cre,$(PCCENREPDATADIR)/common_ref_00022222.cre)
sl@0
    98
endif
sl@0
    99
sl@0
   100
DO_NOTHING:
sl@0
   101
	@echo do nothing
sl@0
   102
sl@0
   103
#
sl@0
   104
# The targets invoked by bld...
sl@0
   105
#
sl@0
   106
sl@0
   107
BLD : $(SECURETARGETDIR) $(PCCENREPDATADIR) $(PCCENREPTESTDIR) $(PCCENREPSOURCE) $(PCCENREPPCTESTDIR) COPYFILES
sl@0
   108
sl@0
   109
CLEAN :
sl@0
   110
sl@0
   111
ifneq ($(findstring TOOLS2,$(PLATFORM)),TOOLS2)
sl@0
   112
	$(call forceremove,$(SECURETARGETDIR)/000001ff.txt)
sl@0
   113
	$(call forceremove,$(SECURETARGETDIR)/00001fff.cre)
sl@0
   114
	$(call forceremove,$(SECURETARGETDIR)/000002ff.cre)
sl@0
   115
	$(call forceremove,$(SECURETARGETDIR)/88888880.txt)
sl@0
   116
	$(call forceremove,$(SECURETARGETDIR)/88888881.cre)
sl@0
   117
	$(call forceremove,$(SECURETARGETDIR)/00004fff.cre)
sl@0
   118
	$(call forceremove,$(SECURETARGETDIR)/00022222.txt)
sl@0
   119
sl@0
   120
ifeq ($(findstring WINS,$(PLATFORM)),WINS)
sl@0
   121
	$(call forceremove,$(PCCENREPDATADIR)/000001ff.txt)
sl@0
   122
	$(call forceremove,$(PCCENREPDATADIR)/00001fff.cre)
sl@0
   123
	$(call forceremove,$(PCCENREPDATADIR)/000002ff.cre)
sl@0
   124
	$(call forceremove,$(PCCENREPDATADIR)/88888880.txt)
sl@0
   125
	$(call forceremove,$(PCCENREPDATADIR)/88888881.cre)
sl@0
   126
	$(call forceremove,$(PCCENREPDATADIR)/ref_winscwcre.cre)
sl@0
   127
	$(call forceremove,$(PCCENREPDATADIR)/ref_winscwtxt.cre)
sl@0
   128
	$(call forceremove,$(PCCENREPDATADIR)/copy000001ff.txt)
sl@0
   129
	$(call forceremove,$(PCCENREPDATADIR)/copy00001fff.cre)
sl@0
   130
	$(call forceremove,$(PCCENREPDATADIR)/copy000002ff.cre)
sl@0
   131
	$(call forceremove,$(PCCENREPDATADIR)/00004fff.cre)
sl@0
   132
	$(call forceremove,$(PCCENREPDATADIR)/copy00004fff.cre)
sl@0
   133
	$(call forceremove,$(PCCENREPDATADIR)/00022222.txt)
sl@0
   134
	$(call forceremove,$(PCCENREPDATADIR)/copy00022222.cre)
sl@0
   135
	$(call forceremove,$(PCCENREPTESTDIR)/000001ff.txt)
sl@0
   136
	$(call forceremove,$(PCCENREPTESTDIR)/00001fff.cre)
sl@0
   137
	$(call forceremove,$(PCCENREPTESTDIR)/copy00001fff.cre)
sl@0
   138
	$(call forceremove,$(PCCENREPTESTDIR)/00004fff.cre)
sl@0
   139
	$(call forceremove,$(PCCENREPTESTDIR)/copy00004fff.cre)
sl@0
   140
	$(call forceremove,$(PCCENREPTESTDIR)/00022222.txt)
sl@0
   141
	$(call forceremove,$(PCCENREPTESTDIR)/copy00022222.cre)
sl@0
   142
	$(call forceremove,$(PCCENREPTESTDIR)/common_crc.txt)
sl@0
   143
	$(call forceremove,$(PCCENREPDATADIR)/common_ref_00022222.cre)
sl@0
   144
endif
sl@0
   145
sl@0
   146
sl@0
   147
# TOOLS2
sl@0
   148
else
sl@0
   149
	$(call forceremove,$(PCCENREPPCTESTDIR)/000001ff.txt)
sl@0
   150
	$(call forceremove,$(PCCENREPPCTESTDIR)/00001fff.cre)
sl@0
   151
	$(call forceremove,$(PCCENREPPCTESTDIR)/00004fff.cre)
sl@0
   152
	$(call forceremove,$(PCCENREPPCTESTDIR)/copy000001ff.txt)
sl@0
   153
	$(call forceremove,$(PCCENREPPCTESTDIR)/copy00001fff.cre)
sl@0
   154
	$(call forceremove,$(PCCENREPPCTESTDIR)/000002ff.cre)
sl@0
   155
	$(call forceremove,$(PCCENREPPCTESTDIR)/copy000002ff.cre)
sl@0
   156
	$(call forceremove,$(PCCENREPPCTESTDIR)/ref_winscwcre.cre)
sl@0
   157
	$(call forceremove,$(PCCENREPPCTESTDIR)/ref_winscwtxt.cre)
sl@0
   158
	$(call forceremove,$(PCCENREPPCTESTDIR)/88888880.txt)
sl@0
   159
	$(call forceremove,$(PCCENREPPCTESTDIR)/88888881.cre)
sl@0
   160
	$(call forceremove,$(PCCENREPPCTESTDIR)/00022222.txt)
sl@0
   161
	$(call forceremove,$(PCCENREPPCTESTDIR)/copy00022222.cre)
sl@0
   162
	$(call forceremove,$(PCCENREPPCTESTDIR)/copy00004fff.cre)
sl@0
   163
	$(call forceremove,$(PCCENREPTESTDIR)/common_crc.txt)
sl@0
   164
	$(call forceremove,$(PCCENREPDATADIR)/common_ref_00022222.cre)
sl@0
   165
sl@0
   166
endif
sl@0
   167
sl@0
   168
RELEASABLES :
sl@0
   169
ifneq ($(findstring TOOLS2,$(PLATFORM)),TOOLS2)
sl@0
   170
	@echo $(SECURETARGETDIR)/000001ff.txt
sl@0
   171
	@echo $(SECURETARGETDIR)/00001fff.cre
sl@0
   172
	@echo $(SECURETARGETDIR)/000002ff.cre
sl@0
   173
	@echo $(SECURETARGETDIR)/88888880.txt
sl@0
   174
	@echo $(SECURETARGETDIR)/88888881.cre
sl@0
   175
	@echo $(SECURETARGETDIR)/00004fff.cre
sl@0
   176
	@echo $(SECURETARGETDIR)/00022222.txt
sl@0
   177
sl@0
   178
ifeq ($(findstring WINS,$(PLATFORM)),WINS)
sl@0
   179
	@echo $(PCCENREPDATADIR)/000001ff.txt
sl@0
   180
	@echo $(PCCENREPDATADIR)/00001fff.cre
sl@0
   181
	@echo $(PCCENREPDATADIR)/000002ff.cre
sl@0
   182
	@echo $(PCCENREPDATADIR)/88888880.txt
sl@0
   183
	@echo $(PCCENREPDATADIR)/88888881.cre
sl@0
   184
	@echo $(PCCENREPDATADIR)/ref_winscwcre.cre
sl@0
   185
	@echo $(PCCENREPDATADIR)/ref_winscwtxt.cre
sl@0
   186
	@echo $(PCCENREPDATADIR)/copy000001ff.txt
sl@0
   187
	@echo $(PCCENREPDATADIR)/copy00001fff.cre
sl@0
   188
	@echo $(PCCENREPDATADIR)/copy000002ff.cre
sl@0
   189
	@echo $(PCCENREPDATADIR)/00004fff.cre
sl@0
   190
	@echo $(PCCENREPDATADIR)/copy00004fff.cre
sl@0
   191
	@echo $(PCCENREPDATADIR)/00022222.txt
sl@0
   192
	@echo $(PCCENREPDATADIR)/copy00022222.cre
sl@0
   193
	@echo $(PCCENREPTESTDIR)/000001ff.txt
sl@0
   194
	@echo $(PCCENREPTESTDIR)/00001fff.cre
sl@0
   195
	@echo $(PCCENREPTESTDIR)/copy00001fff.cre
sl@0
   196
	@echo $(PCCENREPTESTDIR)/00004fff.cre
sl@0
   197
	@echo $(PCCENREPTESTDIR)/copy00004fff.cre
sl@0
   198
	@echo $(PCCENREPTESTDIR)/00022222.txt
sl@0
   199
	@echo $(PCCENREPTESTDIR)/copy00022222.cre
sl@0
   200
	@echo $(PCCENREPTESTDIR)/common_crc.txt
sl@0
   201
	@echo $(PCCENREPDATADIR)/common_ref_00022222.cre
sl@0
   202
endif
sl@0
   203
sl@0
   204
# TOOLS2
sl@0
   205
else 
sl@0
   206
	@echo $(PCCENREPPCTESTDIR)/000001ff.txt
sl@0
   207
	@echo $(PCCENREPPCTESTDIR)/00001fff.cre
sl@0
   208
	@echo $(PCCENREPPCTESTDIR)/copy000001ff.txt
sl@0
   209
	@echo $(PCCENREPPCTESTDIR)/copy00001fff.cre
sl@0
   210
	@echo $(PCCENREPPCTESTDIR)/000002ff.cre
sl@0
   211
	@echo $(PCCENREPPCTESTDIR)/copy000002ff.cre
sl@0
   212
	@echo $(PCCENREPPCTESTDIR)/ref_winscwcre.cre
sl@0
   213
	@echo $(PCCENREPPCTESTDIR)/ref_winscwtxt.cre
sl@0
   214
	@echo $(PCCENREPPCTESTDIR)/88888880.txt
sl@0
   215
	@echo $(PCCENREPPCTESTDIR)/88888881.cre
sl@0
   216
	@echo $(PCCENREPPCTESTDIR)/00022222.txt
sl@0
   217
	@echo $(PCCENREPPCTESTDIR)/copy00022222.cre
sl@0
   218
	@echo $(PCCENREPPCTESTDIR)/copy00004fff.cre
sl@0
   219
	@echo $(PCCENREPTESTDIR)/common_crc.txt
sl@0
   220
	@echo $(PCCENREPDATADIR)/common_ref_00022222.cre
sl@0
   221
sl@0
   222
endif
sl@0
   223
sl@0
   224
MAKMAKE : DO_NOTHING
sl@0
   225
sl@0
   226
RESOURCE : DO_NOTHING
sl@0
   227
sl@0
   228
SAVESPACE : DO_NOTHING
sl@0
   229
sl@0
   230
FREEZE : DO_NOTHING
sl@0
   231
sl@0
   232
LIB : DO_NOTHING
sl@0
   233
sl@0
   234
CLEANLIB : DO_NOTHING
sl@0
   235
sl@0
   236
FINAL : DO_NOTHING
sl@0
   237
sl@0
   238
ROMFILE : DO_NOTHING