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:
|
675
|
14 |
# This postbuild script is only called when a Test Build is done.
|
599
|
15 |
#
|
|
16 |
|
|
17 |
TMPROOT:=$(subst \,/,$(EPOCROOT))
|
|
18 |
EPOCROOT:=$(patsubst %/,%,$(TMPROOT))/
|
|
19 |
|
|
20 |
include $(EPOCROOT)epoc32/tools/shell/$(notdir $(basename $(SHELL))).mk
|
|
21 |
|
|
22 |
# Only remove files on emulator build - for hardware, iby file selects correct plugin.
|
|
23 |
ifeq ($(findstring WINS,$(PLATFORM)),WINS)
|
|
24 |
TARGETDIR = $(EPOCROOT)epoc32/release/$(PLATFORM_PATH)/$(CFG_PATH)/z/resource/plugins
|
|
25 |
|
|
26 |
TARGET_FILES = \
|
|
27 |
$(TARGETDIR)/shiftjis_kddiau.rsc \
|
|
28 |
$(TARGETDIR)/j5_kddiau.rsc \
|
|
29 |
$(TARGETDIR)/eucjp_packed_2.rsc \
|
|
30 |
$(TARGETDIR)/iso2022jp_2.rsc \
|
|
31 |
$(TARGETDIR)/iso2022jp1_2.rsc \
|
|
32 |
$(TARGETDIR)/j5_kddiau_2.rsc \
|
|
33 |
$(TARGETDIR)/jis_2.rsc\
|
|
34 |
$(TARGETDIR)/shiftjis_kddiau_2.rsc
|
|
35 |
|
|
36 |
TARGET_FILES:=$(subst /,\,$(TARGET_FILES))
|
|
37 |
endif
|
|
38 |
|
|
39 |
DO_NOTHING :
|
|
40 |
@echo do nothing
|
|
41 |
|
|
42 |
#
|
|
43 |
# The targets invoked by bld...
|
|
44 |
#
|
|
45 |
|
|
46 |
ifeq ($(findstring WINS,$(PLATFORM)),WINS)
|
|
47 |
BLD :
|
|
48 |
@echo Below rsc files will be deleted to remove ambiguity in testing:
|
|
49 |
@echo $(TARGET_FILES)
|
|
50 |
-$(ERASE) $(TARGET_FILES)
|
|
51 |
else
|
|
52 |
BLD : DO_NOTHING
|
|
53 |
endif
|
|
54 |
|
|
55 |
RELEASABLES : DO_NOTHING
|
|
56 |
|
|
57 |
MAKMAKE : DO_NOTHING
|
|
58 |
|
|
59 |
CLEAN : DO_NOTHING
|
|
60 |
|
|
61 |
SAVESPACE : DO_NOTHING
|
|
62 |
|
|
63 |
RESOURCE : DO_NOTHING
|
|
64 |
|
|
65 |
FREEZE : DO_NOTHING
|
|
66 |
|
|
67 |
LIB : DO_NOTHING
|
|
68 |
|
|
69 |
CLEANLIB : DO_NOTHING
|
|
70 |
|
|
71 |
FINAL : DO_NOTHING
|