sbsv1/buildsystem/extension/syslibs/test/xml_wmltestfiledist.mk
author Zheng Shen <zheng.shen@nokia.com>
Tue, 26 Oct 2010 11:12:31 +0800
changeset 654 7c11c3d8d025
parent 599 fa7a3cc6effd
permissions -rw-r--r--
romtools 13.2.0.1
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
#
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    15
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    16
TMPROOT:=$(subst \,/,$(EPOCROOT))
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    17
EPOCROOT:=$(patsubst %/,%,$(TMPROOT))/
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    18
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    19
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    20
include $(EPOCROOT)epoc32/tools/shell/$(notdir $(basename $(SHELL))).mk
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    21
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    22
ifeq ($(OS), "Windows_NT")
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    23
RMDIR := @rmdir 2>>nul
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    24
else
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    25
RMDIR := @rmdir
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    26
endif
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    27
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    28
ifeq ($(findstring WINS,$(PLATFORM)),WINS)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    29
	DEST_DIR = $(EPOCROOT)epoc32/release/$(PLATFORM_PATH)/$(CFG_PATH)/z/system/xmltest/wml
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    30
else
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    31
	DEST_DIR = $(EPOCROOT)epoc32/data/z/system/xmltest/wml
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    32
endif
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    33
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    34
SOURCE_DIR = $(EXTENSION_ROOT)/../test/rtest/data/Wml
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    35
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    36
# Ensure we have a clean canvas - this also avoids us having to specify
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    37
# switches to commands that are not recognised across platforms.
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    38
CLEAN_DEST :
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    39
	$(call createdir,$(DEST_DIR))
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    40
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    41
MAKE_DIRS :
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    42
	$(call createdir,$(DEST_DIR)/1.1)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    43
	$(call createdir,$(DEST_DIR)/codepage)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    44
	$(call createdir,$(DEST_DIR)/corrupt)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    45
	$(call createdir,$(DEST_DIR)/unknown)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    46
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    47
COPYFILES : CLEAN_DEST MAKE_DIRS
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    48
	$(CP) $(call slash2generic, $(SOURCE_DIR)/1.1/*.wmlc $(DEST_DIR)/1.1/*.wmlc)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    49
	$(CP) $(call slash2generic, $(SOURCE_DIR)/codepage/*.wmlc $(DEST_DIR)/codepage/*.wmlc)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    50
	$(CP) $(call slash2generic, $(SOURCE_DIR)/corrupt/*.wmlc $(DEST_DIR)/corrupt/*.wmlc)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    51
	$(CP) $(call slash2generic, $(SOURCE_DIR)/unknown/*.wmlc $(DEST_DIR)/unknown/*.wmlc)	
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 : COPYFILES
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    63
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    64
CLEAN :
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    65
	$(call createdir,$(DEST_DIR))
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    66
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    67
BLD : DO_NOTHING
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    68
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    69
SAVESPACE : DO_NOTHING
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    70
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    71
FREEZE : DO_NOTHING
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    72
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    73
LIB : DO_NOTHING
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    74
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    75
CLEANLIB : DO_NOTHING
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    76
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    77
RESOURCE : DO_NOTHING
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    78
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    79
FINAL : DO_NOTHING
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    80
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    81
RELEASABLES :
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    82
	@echo $(DEST_DIR)/1.1/AllElements.wmlc
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    83
	@echo $(DEST_DIR)/1.1/CharEntities.wmlc
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    84
	@echo $(DEST_DIR)/1.1/data.wmlc
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    85
	@echo $(DEST_DIR)/1.1/http___www.bbc.co.uk_mobile_sportheads1.wmlc
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    86
	@echo $(DEST_DIR)/1.1/mob.wmlc
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    87
	@echo $(DEST_DIR)/1.1/Variables.wmlc
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    88
	@echo $(DEST_DIR)/1.1/wireless_char.wmlc
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    89
	@echo $(DEST_DIR)/codepage/wml_data_attr_copepage_255.wmlc
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    90
	@echo $(DEST_DIR)/corrupt/CorruptAttrVal_mob.wmlc
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    91
	@echo $(DEST_DIR)/corrupt/CorruptAttr_mob.wmlc
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    92
	@echo $(DEST_DIR)/corrupt/CorruptTag_AllElements.wmlc
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    93
	@echo $(DEST_DIR)/corrupt/NonNullTermInlineStr.wmlc
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    94
	@echo $(DEST_DIR)/unknown/UnknownPubId_AllElements.wmlc