599
|
1 |
# Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
2 |
# All rights reserved.
|
|
3 |
# This component and the accompanying materials are made available
|
|
4 |
# under the terms of "Eclipse Public License v1.0"
|
|
5 |
# which accompanies this distribution, and is available
|
|
6 |
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
7 |
#
|
|
8 |
# Initial Contributors:
|
|
9 |
# Nokia Corporation - initial contribution.
|
|
10 |
#
|
|
11 |
# Contributors:
|
|
12 |
#
|
|
13 |
# Description:
|
|
14 |
#
|
|
15 |
|
|
16 |
TMPROOT:=$(subst \,/,$(EPOCROOT))
|
|
17 |
EPOCROOT:=$(patsubst %/,%,$(TMPROOT))/
|
|
18 |
|
|
19 |
|
|
20 |
include $(EPOCROOT)epoc32/tools/shell/$(notdir $(basename $(SHELL))).mk
|
|
21 |
|
|
22 |
ifeq ($(OS), "Windows_NT")
|
|
23 |
RMDIR := @rmdir 2>>nul
|
|
24 |
else
|
|
25 |
RMDIR := @rmdir
|
|
26 |
endif
|
|
27 |
|
|
28 |
ifeq ($(findstring WINS,$(PLATFORM)),WINS)
|
|
29 |
DEST_DIR = $(EPOCROOT)epoc32/release/$(PLATFORM_PATH)/$(CFG_PATH)/z/system/xmltest/wml
|
|
30 |
else
|
|
31 |
DEST_DIR = $(EPOCROOT)epoc32/data/z/system/xmltest/wml
|
|
32 |
endif
|
|
33 |
|
|
34 |
SOURCE_DIR = $(EXTENSION_ROOT)/../test/rtest/data/Wml
|
|
35 |
|
|
36 |
# Ensure we have a clean canvas - this also avoids us having to specify
|
|
37 |
# switches to commands that are not recognised across platforms.
|
|
38 |
CLEAN_DEST :
|
|
39 |
$(call createdir,$(DEST_DIR))
|
|
40 |
|
|
41 |
MAKE_DIRS :
|
|
42 |
$(call createdir,$(DEST_DIR)/1.1)
|
|
43 |
$(call createdir,$(DEST_DIR)/codepage)
|
|
44 |
$(call createdir,$(DEST_DIR)/corrupt)
|
|
45 |
$(call createdir,$(DEST_DIR)/unknown)
|
|
46 |
|
|
47 |
COPYFILES : CLEAN_DEST MAKE_DIRS
|
|
48 |
$(CP) $(call slash2generic, $(SOURCE_DIR)/1.1/*.wmlc $(DEST_DIR)/1.1/*.wmlc)
|
|
49 |
$(CP) $(call slash2generic, $(SOURCE_DIR)/codepage/*.wmlc $(DEST_DIR)/codepage/*.wmlc)
|
|
50 |
$(CP) $(call slash2generic, $(SOURCE_DIR)/corrupt/*.wmlc $(DEST_DIR)/corrupt/*.wmlc)
|
|
51 |
$(CP) $(call slash2generic, $(SOURCE_DIR)/unknown/*.wmlc $(DEST_DIR)/unknown/*.wmlc)
|
|
52 |
|
|
53 |
DO_NOTHING:
|
|
54 |
@echo do nothing
|
|
55 |
|
|
56 |
#
|
|
57 |
# The targets invoked by bld...
|
|
58 |
#
|
|
59 |
|
|
60 |
MAKMAKE : DO_NOTHING
|
|
61 |
|
|
62 |
RESOURCE : COPYFILES
|
|
63 |
|
|
64 |
CLEAN :
|
|
65 |
$(call createdir,$(DEST_DIR))
|
|
66 |
|
|
67 |
BLD : DO_NOTHING
|
|
68 |
|
|
69 |
SAVESPACE : DO_NOTHING
|
|
70 |
|
|
71 |
FREEZE : DO_NOTHING
|
|
72 |
|
|
73 |
LIB : DO_NOTHING
|
|
74 |
|
|
75 |
CLEANLIB : DO_NOTHING
|
|
76 |
|
|
77 |
RESOURCE : DO_NOTHING
|
|
78 |
|
|
79 |
FINAL : DO_NOTHING
|
|
80 |
|
|
81 |
RELEASABLES :
|
|
82 |
@echo $(DEST_DIR)/1.1/AllElements.wmlc
|
|
83 |
@echo $(DEST_DIR)/1.1/CharEntities.wmlc
|
|
84 |
@echo $(DEST_DIR)/1.1/data.wmlc
|
|
85 |
@echo $(DEST_DIR)/1.1/http___www.bbc.co.uk_mobile_sportheads1.wmlc
|
|
86 |
@echo $(DEST_DIR)/1.1/mob.wmlc
|
|
87 |
@echo $(DEST_DIR)/1.1/Variables.wmlc
|
|
88 |
@echo $(DEST_DIR)/1.1/wireless_char.wmlc
|
|
89 |
@echo $(DEST_DIR)/codepage/wml_data_attr_copepage_255.wmlc
|
|
90 |
@echo $(DEST_DIR)/corrupt/CorruptAttrVal_mob.wmlc
|
|
91 |
@echo $(DEST_DIR)/corrupt/CorruptAttr_mob.wmlc
|
|
92 |
@echo $(DEST_DIR)/corrupt/CorruptTag_AllElements.wmlc
|
|
93 |
@echo $(DEST_DIR)/corrupt/NonNullTermInlineStr.wmlc
|
|
94 |
@echo $(DEST_DIR)/unknown/UnknownPubId_AllElements.wmlc
|