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