sbsv1/buildsystem/extension/syslibs/test/xml_xmlcmatchdatapostbuild.mk
author andy simpson <andrews@symbian.org>
Fri, 30 Jul 2010 15:14:33 +0100
changeset 622 c26070468a42
parent 599 fa7a3cc6effd
permissions -rw-r--r--
Add export for s60ibymacros.pm (re-applies missing part of fix for Bug 2901
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
include $(EPOCROOT)epoc32/tools/shell/$(notdir $(basename $(SHELL))).mk
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    20
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    21
ifeq ($(OS), "Windows_NT")
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    22
	RMDIR := @rmdir 2>>nul
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    23
	@echo $(OS))
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
ifeq ($(findstring WINS,$(PLATFORM)),WINS)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    28
	TARGETDIR = $(EPOCROOT)epoc32/release/$(PLATFORM_PATH)/$(CFG_PATH)/z/xmlramonly
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    29
	SOURCEDIR = $(EPOCROOT)epoc32/release/$(PLATFORM_PATH)/$(CFG_PATH)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    30
	SOURCEDIR2 = $(EPOCROOT)epoc32/release/$(PLATFORM_PATH)/$(CFG_PATH)/z/resource/plugins
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    31
else
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    32
	TARGETDIR = $(EPOCROOT)epoc32/data/z/xmlramonly
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    33
	SOURCEDIR = $(EPOCROOT)epoc32/release/$(PLATFORM_PATH)/$(CFG_PATH)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    34
	SOURCEDIR2 = $(EPOCROOT)epoc32/data/z/resource/plugins
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    35
endif
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    36
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    37
# Ensure we have a clean canvas - this also avoids us having to specify
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    38
# switches to commands that are not recognised across platforms.
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    39
CLEAN_DEST :
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    40
	$(call createdir,$(TARGETDIR))
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    41
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    42
$(TARGETDIR) : 
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    43
	$(call createdir,"$@")
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    44
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    45
COPYFILES : CLEAN_DEST $(TARGETDIR)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    46
	$(CP) $(call slash2generic,$(SOURCEDIR)/tu_xmlramparserplugins.dll  $(TARGETDIR)/tu_xmlramparserplugins.dll)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    47
	$(CP) $(call slash2generic,$(SOURCEDIR2)/tu_xmlramparserplugins.RSC  $(TARGETDIR)/tu_xmlramparserplugins.rsc)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    48
	-$(ERASE) $(call slash2generic,$(SOURCEDIR)/tu_xmlramparserplugins.dll)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    49
	-$(ERASE) $(call slash2generic,$(SOURCEDIR2)/tu_xmlramparserplugins.rsc)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    50
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    51
DO_NOTHING:
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    52
	@echo do nothing
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    53
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    54
#
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    55
# The targets invoked by bld...
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    56
#
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    57
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    58
MAKMAKE : DO_NOTHING
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    59
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    60
RESOURCE : DO_NOTHING
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    61
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    62
CLEAN :
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    63
	$(call createdir,$(TARGETDIR))
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    64
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    65
ifeq ($(PLATFORM), GCCXML)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    66
BLD : DO_NOTHING
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    67
else
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    68
BLD : COPYFILES
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    69
endif
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    70
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    71
SAVESPACE : DO_NOTHING
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    72
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    73
FREEZE : DO_NOTHING
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    74
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    75
LIB : DO_NOTHING
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    76
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    77
CLEANLIB : DO_NOTHING
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    78
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    79
RESOURCE : DO_NOTHING
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    80
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    81
FINAL : DO_NOTHING
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    82
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    83
RELEASABLES :
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    84
	@echo $(TARGETDIR)/tu_xmlramparserplugins.dll
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    85
	@echo $(TARGETDIR)/tu_xmlramparserplugins.rsc