sbsv1/buildsystem/extension/syslibs/test/logeng_copytestfiles.mk
author lorewang
Wed, 17 Nov 2010 11:21:28 +0800
changeset 684 2defe8c85348
parent 599 fa7a3cc6effd
permissions -rw-r--r--
elf2e32 treatment of ARM$$INIT_ARRAY$$Base can break GCCE builds
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
599
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
     1
# Copyright (c) 2008-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 logeng test dat file(s)
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/system/data
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    25
	TARGETDIR2= $(EPOCROOT)epoc32/release/$(PLATFORM_PATH)/$(CFG_PATH)/z/private/101f401d
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    26
else
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    27
	TARGETDIR = $(EPOCROOT)epoc32/data/z/system/data
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    28
	TARGETDIR2=$(EPOCROOT)epoc32/data/z/private/101f401d
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    29
endif
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    30
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    31
TARGET_FILES = $(TARGETDIR)/oldLogdbu.dat \
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    32
			   $(TARGETDIR)/corruptLogdbu.dat \
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    33
			   $(TARGETDIR)/corruptDamagedLogdbu.dat \
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    34
			   $(TARGETDIR)/101f401d.txt \
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    35
			   $(TARGETDIR2)/CntModel.ini \
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    36
			   $(TARGETDIR2)/SQLite__Contacts.cdb
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    37
			   
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    38
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    39
$(TARGETDIR)/oldLogdbu.dat : $(EXTENSION_ROOT)/../test/src/oldLogdbu.dat $(TARGETDIR)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    40
	$(call forcecopy,$(EXTENSION_ROOT)/../test/src/oldLogdbu.dat,$(TARGETDIR)/oldLogdbu.dat)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    41
$(TARGETDIR)/corruptLogdbu.dat : $(EXTENSION_ROOT)/../test/src/corruptLogdbu.dat
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    42
	$(call forcecopy,$(EXTENSION_ROOT)/../test/src/corruptLogdbu.dat,$(TARGETDIR)/corruptLogdbu.dat)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    43
$(TARGETDIR)/corruptDamagedLogdbu.dat : $(EXTENSION_ROOT)/../test/src/corruptDamagedLogdbu.dat
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    44
	$(call forcecopy,$(EXTENSION_ROOT)/../test/src/corruptDamagedLogdbu.dat,$(TARGETDIR)/corruptDamagedLogdbu.dat)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    45
$(TARGETDIR)/101f401d.txt : $(EXTENSION_ROOT)/../test/101f401d.txt
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    46
	$(call forcecopy,$(EXTENSION_ROOT)/../test/101f401d.txt,$(TARGETDIR)/101f401d.txt)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    47
$(TARGETDIR2)/CntModel.ini : $(EXTENSION_ROOT)/../test/src/CntModel.ini $(TARGETDIR2)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    48
	$(call forcecopy,$(EXTENSION_ROOT)/../test/src/CntModel.ini,$(TARGETDIR2)/CntModel.ini)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    49
$(TARGETDIR2)/SQLite__Contacts.cdb : $(EXTENSION_ROOT)/../test/src/SQLite__Contacts.cdb $(TARGETDIR2)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    50
	$(call forcecopy,$(EXTENSION_ROOT)/../test/src/SQLite__Contacts.cdb,$(TARGETDIR2)/SQLite__Contacts.cdb)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    51
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    52
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    53
DO_NOTHING :
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    54
	@echo do nothing
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    55
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    56
#
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    57
# The targets invoked by bld...
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    58
#
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    59
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    60
MAKMAKE : DO_NOTHING
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    61
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    62
RESOURCE : 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
BLD : $(TARGET_FILES)
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
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    75
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    76
CLEAN :
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    77
	$(call forceremove,$(TARGET_FILES))
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    78
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    79
RELEASABLES :
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    80
	@echo $(TARGETDIR)/oldLogdbu.dat
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    81
	@echo $(TARGETDIR)/corruptLogdbu.dat
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    82
	@echo $(TARGETDIR)/corruptDamagedLogdbu.dat
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    83
	@echo $(TARGETDIR)/101f401d.txt
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    84
	@echo $(TARGETDIR2)/CntModel.ini
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    85
	@echo $(TARGETDIR2)/SQLite__Contacts.cdb