sl@0: # Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: # All rights reserved. sl@0: # This component and the accompanying materials are made available sl@0: # under the terms of "Eclipse Public License v1.0" sl@0: # which accompanies this distribution, and is available sl@0: # at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: # sl@0: # Initial Contributors: sl@0: # Nokia Corporation - initial contribution. sl@0: # sl@0: # Contributors: sl@0: # sl@0: # Description: sl@0: # centrep_copypctestfile.mk sl@0: # sl@0: # sl@0: sl@0: TMPROOT:=$(subst \,/,$(EPOCROOT)) sl@0: EPOCROOT:=$(patsubst %/,%,$(TMPROOT))/ sl@0: sl@0: include $(EPOCROOT)epoc32/tools/shell/$(notdir $(basename $(SHELL))).mk sl@0: sl@0: ifeq ($(findstring WINS,$(PLATFORM)),WINS) sl@0: EPOCDATADIR = $(EPOCROOT)epoc32/release/$(PLATFORM_PATH)/$(CFG_PATH) sl@0: else sl@0: EPOCDATADIR = $(EPOCROOT)epoc32/data sl@0: endif sl@0: sl@0: SECURETARGETDIR = $(EPOCDATADIR)/z/private/10202BE9 sl@0: sl@0: PCCENREPSOURCE = $(EXTENSION_ROOT)/../test sl@0: PCCENREPDATADIR = $(EPOCROOT)epoc32/winscw/c/private/00000000 sl@0: PCCENREPTESTDIR = $(EPOCROOT)epoc32/winscw/c sl@0: PCCENREPPCTESTDIR = $(EPOCROOT)epoc32/release/$(PLATFORM_PATH)/$(CFG_PATH) sl@0: sl@0: $(SECURETARGETDIR) : sl@0: $(call createdir, "$@") sl@0: sl@0: $(PCCENREPDATADIR) : sl@0: $(call createdir, "$@") sl@0: sl@0: COPYFILES : sl@0: ifneq ($(findstring TOOLS2,$(PLATFORM)),TOOLS2) sl@0: $(call forcecopy,$(PCCENREPSOURCE)/000001ff.txt,$(SECURETARGETDIR)/000001ff.txt) sl@0: $(call forcecopy,$(PCCENREPSOURCE)/00001fff.crev2,$(SECURETARGETDIR)/00001fff.cre) sl@0: $(call forcecopy,$(PCCENREPSOURCE)/000002ff.crev2,$(SECURETARGETDIR)/000002ff.cre) sl@0: $(call forcecopy,$(PCCENREPSOURCE)/88888880.txt,$(SECURETARGETDIR)/88888880.txt) sl@0: $(call forcecopy,$(PCCENREPSOURCE)/88888881.cre,$(SECURETARGETDIR)/88888881.cre) sl@0: $(call forcecopy,$(PCCENREPSOURCE)/00004fff.cre,$(SECURETARGETDIR)/00004fff.cre) sl@0: $(call forcecopy,$(PCCENREPSOURCE)/00022222.txt,$(SECURETARGETDIR)/00022222.txt) sl@0: sl@0: ifeq ($(findstring WINS,$(PLATFORM)),WINS) sl@0: $(call forcecopy,$(PCCENREPSOURCE)/000001ff.txt,$(PCCENREPDATADIR)/000001ff.txt) sl@0: $(call forcecopy,$(PCCENREPSOURCE)/00001fff.crev2,$(PCCENREPDATADIR)/00001fff.cre) sl@0: $(call forcecopy,$(PCCENREPSOURCE)/000002ff.crev2,$(PCCENREPDATADIR)/000002ff.cre) sl@0: $(call forcecopy,$(PCCENREPSOURCE)/88888880.txt,$(PCCENREPDATADIR)/88888880.txt) sl@0: $(call forcecopy,$(PCCENREPSOURCE)/88888881.cre,$(PCCENREPDATADIR)/88888881.cre) sl@0: $(call forcecopy,$(PCCENREPSOURCE)/winscwcre.crev2,$(PCCENREPDATADIR)/ref_winscwcre.cre) sl@0: $(call forcecopy,$(PCCENREPSOURCE)/winscwtxt.crev2,$(PCCENREPDATADIR)/ref_winscwtxt.cre) sl@0: $(call forcecopy,$(PCCENREPSOURCE)/000001ff.txt,$(PCCENREPDATADIR)/copy000001ff.txt) sl@0: $(call forcecopy,$(PCCENREPSOURCE)/00001fff.crev2,$(PCCENREPDATADIR)/copy00001fff.cre) sl@0: $(call forcecopy,$(PCCENREPSOURCE)/000002ff.crev2,$(PCCENREPDATADIR)/copy000002ff.cre) sl@0: $(call forcecopy,$(PCCENREPSOURCE)/00004fff.cre,$(PCCENREPDATADIR)/00004fff.cre) sl@0: $(call forcecopy,$(PCCENREPSOURCE)/00004fff.cre,$(PCCENREPDATADIR)/copy00004fff.cre) sl@0: $(call forcecopy,$(PCCENREPSOURCE)/00022222.txt,$(PCCENREPDATADIR)/00022222.txt) sl@0: $(call forcecopy,$(PCCENREPSOURCE)/00022222.crev2,$(PCCENREPDATADIR)/copy00022222.cre) sl@0: $(call forcecopy,$(PCCENREPSOURCE)/000001ff.txt,$(PCCENREPTESTDIR)/000001ff.txt) sl@0: $(call forcecopy,$(PCCENREPSOURCE)/00001fff.crev2,$(PCCENREPTESTDIR)/00001fff.cre) sl@0: $(call forcecopy,$(PCCENREPSOURCE)/00001fff.crev2,$(PCCENREPTESTDIR)/copy00001fff.cre) sl@0: $(call forcecopy,$(PCCENREPSOURCE)/00004fff.cre,$(PCCENREPTESTDIR)/00004fff.cre) sl@0: $(call forcecopy,$(PCCENREPSOURCE)/00004fff.cre,$(PCCENREPTESTDIR)/copy00004fff.cre) sl@0: $(call forcecopy,$(PCCENREPSOURCE)/00022222.txt,$(PCCENREPTESTDIR)/00022222.txt) sl@0: $(call forcecopy,$(PCCENREPSOURCE)/00022222.crev2,$(PCCENREPTESTDIR)/copy00022222.cre) sl@0: # Shared files between the t_cenreppc (WINSCW) and testsymcenrep (TOOLS2) tests. sl@0: $(call forcecopy,$(PCCENREPSOURCE)/common_crc.txt,$(PCCENREPTESTDIR)/common_crc.txt) sl@0: $(call forcecopy,$(PCCENREPSOURCE)/common_ref_00022222.cre,$(PCCENREPDATADIR)/common_ref_00022222.cre) sl@0: endif sl@0: sl@0: # TOOLS2 sl@0: else sl@0: $(call forcecopy,$(PCCENREPSOURCE)/000001ff.txt,$(PCCENREPPCTESTDIR)/000001ff.txt) sl@0: $(call forcecopy,$(PCCENREPSOURCE)/00001fff.crev2,$(PCCENREPPCTESTDIR)/00001fff.cre) sl@0: $(call forcecopy,$(PCCENREPSOURCE)/00004fff.cre,$(PCCENREPPCTESTDIR)/00004fff.cre) sl@0: $(call forcecopy,$(PCCENREPSOURCE)/000001ff.txt,$(PCCENREPPCTESTDIR)/copy000001ff.txt) sl@0: $(call forcecopy,$(PCCENREPSOURCE)/00001fff.crev2,$(PCCENREPPCTESTDIR)/copy00001fff.cre) sl@0: $(call forcecopy,$(PCCENREPSOURCE)/00004fff.cre,$(PCCENREPPCTESTDIR)/copy00004fff.cre) sl@0: $(call forcecopy,$(PCCENREPSOURCE)/000002ff.crev2,$(PCCENREPPCTESTDIR)/000002ff.cre) sl@0: $(call forcecopy,$(PCCENREPSOURCE)/000002ff.crev2,$(PCCENREPPCTESTDIR)/copy000002ff.cre) sl@0: $(call forcecopy,$(PCCENREPSOURCE)/winscwcre.crev2,$(PCCENREPPCTESTDIR)/ref_winscwcre.cre) sl@0: $(call forcecopy,$(PCCENREPSOURCE)/winscwtxt.crev2,$(PCCENREPPCTESTDIR)/ref_winscwtxt.cre) sl@0: $(call forcecopy,$(PCCENREPSOURCE)/88888880.txt,$(PCCENREPPCTESTDIR)/88888880.txt) sl@0: $(call forcecopy,$(PCCENREPSOURCE)/88888881.cre,$(PCCENREPPCTESTDIR)/88888881.cre) sl@0: $(call forcecopy,$(PCCENREPSOURCE)/00022222.txt,$(PCCENREPPCTESTDIR)/00022222.txt) sl@0: $(call forcecopy,$(PCCENREPSOURCE)/00022222.crev2,$(PCCENREPPCTESTDIR)/copy00022222.cre) sl@0: # Shared files between the t_cenreppc (WINSCW) and testsymcenrep (TOOLS2) tests. sl@0: $(call forcecopy,$(PCCENREPSOURCE)/common_crc.txt,$(PCCENREPTESTDIR)/common_crc.txt) sl@0: $(call forcecopy,$(PCCENREPSOURCE)/common_ref_00022222.cre,$(PCCENREPDATADIR)/common_ref_00022222.cre) sl@0: endif sl@0: sl@0: DO_NOTHING: sl@0: @echo do nothing sl@0: sl@0: # sl@0: # The targets invoked by bld... sl@0: # sl@0: sl@0: BLD : $(SECURETARGETDIR) $(PCCENREPDATADIR) $(PCCENREPTESTDIR) $(PCCENREPSOURCE) $(PCCENREPPCTESTDIR) COPYFILES sl@0: sl@0: CLEAN : sl@0: sl@0: ifneq ($(findstring TOOLS2,$(PLATFORM)),TOOLS2) sl@0: $(call forceremove,$(SECURETARGETDIR)/000001ff.txt) sl@0: $(call forceremove,$(SECURETARGETDIR)/00001fff.cre) sl@0: $(call forceremove,$(SECURETARGETDIR)/000002ff.cre) sl@0: $(call forceremove,$(SECURETARGETDIR)/88888880.txt) sl@0: $(call forceremove,$(SECURETARGETDIR)/88888881.cre) sl@0: $(call forceremove,$(SECURETARGETDIR)/00004fff.cre) sl@0: $(call forceremove,$(SECURETARGETDIR)/00022222.txt) sl@0: sl@0: ifeq ($(findstring WINS,$(PLATFORM)),WINS) sl@0: $(call forceremove,$(PCCENREPDATADIR)/000001ff.txt) sl@0: $(call forceremove,$(PCCENREPDATADIR)/00001fff.cre) sl@0: $(call forceremove,$(PCCENREPDATADIR)/000002ff.cre) sl@0: $(call forceremove,$(PCCENREPDATADIR)/88888880.txt) sl@0: $(call forceremove,$(PCCENREPDATADIR)/88888881.cre) sl@0: $(call forceremove,$(PCCENREPDATADIR)/ref_winscwcre.cre) sl@0: $(call forceremove,$(PCCENREPDATADIR)/ref_winscwtxt.cre) sl@0: $(call forceremove,$(PCCENREPDATADIR)/copy000001ff.txt) sl@0: $(call forceremove,$(PCCENREPDATADIR)/copy00001fff.cre) sl@0: $(call forceremove,$(PCCENREPDATADIR)/copy000002ff.cre) sl@0: $(call forceremove,$(PCCENREPDATADIR)/00004fff.cre) sl@0: $(call forceremove,$(PCCENREPDATADIR)/copy00004fff.cre) sl@0: $(call forceremove,$(PCCENREPDATADIR)/00022222.txt) sl@0: $(call forceremove,$(PCCENREPDATADIR)/copy00022222.cre) sl@0: $(call forceremove,$(PCCENREPTESTDIR)/000001ff.txt) sl@0: $(call forceremove,$(PCCENREPTESTDIR)/00001fff.cre) sl@0: $(call forceremove,$(PCCENREPTESTDIR)/copy00001fff.cre) sl@0: $(call forceremove,$(PCCENREPTESTDIR)/00004fff.cre) sl@0: $(call forceremove,$(PCCENREPTESTDIR)/copy00004fff.cre) sl@0: $(call forceremove,$(PCCENREPTESTDIR)/00022222.txt) sl@0: $(call forceremove,$(PCCENREPTESTDIR)/copy00022222.cre) sl@0: $(call forceremove,$(PCCENREPTESTDIR)/common_crc.txt) sl@0: $(call forceremove,$(PCCENREPDATADIR)/common_ref_00022222.cre) sl@0: endif sl@0: sl@0: sl@0: # TOOLS2 sl@0: else sl@0: $(call forceremove,$(PCCENREPPCTESTDIR)/000001ff.txt) sl@0: $(call forceremove,$(PCCENREPPCTESTDIR)/00001fff.cre) sl@0: $(call forceremove,$(PCCENREPPCTESTDIR)/00004fff.cre) sl@0: $(call forceremove,$(PCCENREPPCTESTDIR)/copy000001ff.txt) sl@0: $(call forceremove,$(PCCENREPPCTESTDIR)/copy00001fff.cre) sl@0: $(call forceremove,$(PCCENREPPCTESTDIR)/000002ff.cre) sl@0: $(call forceremove,$(PCCENREPPCTESTDIR)/copy000002ff.cre) sl@0: $(call forceremove,$(PCCENREPPCTESTDIR)/ref_winscwcre.cre) sl@0: $(call forceremove,$(PCCENREPPCTESTDIR)/ref_winscwtxt.cre) sl@0: $(call forceremove,$(PCCENREPPCTESTDIR)/88888880.txt) sl@0: $(call forceremove,$(PCCENREPPCTESTDIR)/88888881.cre) sl@0: $(call forceremove,$(PCCENREPPCTESTDIR)/00022222.txt) sl@0: $(call forceremove,$(PCCENREPPCTESTDIR)/copy00022222.cre) sl@0: $(call forceremove,$(PCCENREPPCTESTDIR)/copy00004fff.cre) sl@0: $(call forceremove,$(PCCENREPTESTDIR)/common_crc.txt) sl@0: $(call forceremove,$(PCCENREPDATADIR)/common_ref_00022222.cre) sl@0: sl@0: endif sl@0: sl@0: RELEASABLES : sl@0: ifneq ($(findstring TOOLS2,$(PLATFORM)),TOOLS2) sl@0: @echo $(SECURETARGETDIR)/000001ff.txt sl@0: @echo $(SECURETARGETDIR)/00001fff.cre sl@0: @echo $(SECURETARGETDIR)/000002ff.cre sl@0: @echo $(SECURETARGETDIR)/88888880.txt sl@0: @echo $(SECURETARGETDIR)/88888881.cre sl@0: @echo $(SECURETARGETDIR)/00004fff.cre sl@0: @echo $(SECURETARGETDIR)/00022222.txt sl@0: sl@0: ifeq ($(findstring WINS,$(PLATFORM)),WINS) sl@0: @echo $(PCCENREPDATADIR)/000001ff.txt sl@0: @echo $(PCCENREPDATADIR)/00001fff.cre sl@0: @echo $(PCCENREPDATADIR)/000002ff.cre sl@0: @echo $(PCCENREPDATADIR)/88888880.txt sl@0: @echo $(PCCENREPDATADIR)/88888881.cre sl@0: @echo $(PCCENREPDATADIR)/ref_winscwcre.cre sl@0: @echo $(PCCENREPDATADIR)/ref_winscwtxt.cre sl@0: @echo $(PCCENREPDATADIR)/copy000001ff.txt sl@0: @echo $(PCCENREPDATADIR)/copy00001fff.cre sl@0: @echo $(PCCENREPDATADIR)/copy000002ff.cre sl@0: @echo $(PCCENREPDATADIR)/00004fff.cre sl@0: @echo $(PCCENREPDATADIR)/copy00004fff.cre sl@0: @echo $(PCCENREPDATADIR)/00022222.txt sl@0: @echo $(PCCENREPDATADIR)/copy00022222.cre sl@0: @echo $(PCCENREPTESTDIR)/000001ff.txt sl@0: @echo $(PCCENREPTESTDIR)/00001fff.cre sl@0: @echo $(PCCENREPTESTDIR)/copy00001fff.cre sl@0: @echo $(PCCENREPTESTDIR)/00004fff.cre sl@0: @echo $(PCCENREPTESTDIR)/copy00004fff.cre sl@0: @echo $(PCCENREPTESTDIR)/00022222.txt sl@0: @echo $(PCCENREPTESTDIR)/copy00022222.cre sl@0: @echo $(PCCENREPTESTDIR)/common_crc.txt sl@0: @echo $(PCCENREPDATADIR)/common_ref_00022222.cre sl@0: endif sl@0: sl@0: # TOOLS2 sl@0: else sl@0: @echo $(PCCENREPPCTESTDIR)/000001ff.txt sl@0: @echo $(PCCENREPPCTESTDIR)/00001fff.cre sl@0: @echo $(PCCENREPPCTESTDIR)/copy000001ff.txt sl@0: @echo $(PCCENREPPCTESTDIR)/copy00001fff.cre sl@0: @echo $(PCCENREPPCTESTDIR)/000002ff.cre sl@0: @echo $(PCCENREPPCTESTDIR)/copy000002ff.cre sl@0: @echo $(PCCENREPPCTESTDIR)/ref_winscwcre.cre sl@0: @echo $(PCCENREPPCTESTDIR)/ref_winscwtxt.cre sl@0: @echo $(PCCENREPPCTESTDIR)/88888880.txt sl@0: @echo $(PCCENREPPCTESTDIR)/88888881.cre sl@0: @echo $(PCCENREPPCTESTDIR)/00022222.txt sl@0: @echo $(PCCENREPPCTESTDIR)/copy00022222.cre sl@0: @echo $(PCCENREPPCTESTDIR)/copy00004fff.cre sl@0: @echo $(PCCENREPTESTDIR)/common_crc.txt sl@0: @echo $(PCCENREPDATADIR)/common_ref_00022222.cre sl@0: sl@0: endif sl@0: sl@0: MAKMAKE : DO_NOTHING sl@0: sl@0: RESOURCE : DO_NOTHING sl@0: sl@0: SAVESPACE : DO_NOTHING sl@0: sl@0: FREEZE : DO_NOTHING sl@0: sl@0: LIB : DO_NOTHING sl@0: sl@0: CLEANLIB : DO_NOTHING sl@0: sl@0: FINAL : DO_NOTHING sl@0: sl@0: ROMFILE : DO_NOTHING