deprecated/buildtools/buildsystem/extension/syslibs/conversiontable.mk
author Ross Qin <ross.qin@nokia.com>
Fri, 29 Oct 2010 10:03:48 +0800
changeset 670 46ea84d14897
parent 655 3f65fd25dfd4
permissions -rw-r--r--
remove migrated template meta data files (in DFS_MCL wk42)
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
655
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
     1
# Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
     2
# All rights reserved.
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
     3
# This component and the accompanying materials are made available
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
     4
# under the terms of "Eclipse Public License v1.0"
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
     5
# which accompanies this distribution, and is available
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
     6
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
     7
#
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
     8
# Initial Contributors:
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
     9
# Nokia Corporation - initial contribution.
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    10
#
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    11
# Contributors:
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    12
#
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    13
# Description:
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    14
#
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    15
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    16
# To ensure that EPOCROOT always ends with a forward slash
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    17
TMPROOT:=$(subst \,/,$(EPOCROOT))
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    18
EPOCROOT:=$(patsubst %/,%,$(TMPROOT))/
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    19
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    20
include $(EPOCROOT)epoc32/tools/shell/$(notdir $(basename $(SHELL))).mk
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    21
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    22
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    23
BUILD_DIR = $(call generated,generated/fatcharsetconv)
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    24
	
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    25
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    26
SOURCE_DIR = $(EXTENSION_ROOT)/../unicodeTables
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    27
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    28
TARGET= $(BUILD_DIR)/cp950.cpp \
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    29
	$(BUILD_DIR)/cp949.cpp \
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    30
	$(BUILD_DIR)/cp936.cpp \
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    31
	$(BUILD_DIR)/cp932.cpp \
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    32
	$(BUILD_DIR)/cp874.cpp \
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    33
	$(BUILD_DIR)/cp1258.cpp \
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    34
	$(BUILD_DIR)/cp1257.cpp \
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    35
	$(BUILD_DIR)/cp1256.cpp \
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    36
	$(BUILD_DIR)/cp1255.cpp \
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    37
	$(BUILD_DIR)/cp1254.cpp \
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    38
	$(BUILD_DIR)/cp1253.cpp \
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    39
	$(BUILD_DIR)/cp1252.cpp \
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    40
	$(BUILD_DIR)/cp1251.cpp \
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    41
	$(BUILD_DIR)/cp1250.cpp
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    42
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    43
$(BUILD_DIR):
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    44
	$(call createdir,$(BUILD_DIR)) 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    45
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    46
$(TARGET):$(BUILD_DIR)/cp%.cpp : $(SOURCE_DIR)/CP%.txt $(BUILD_DIR)
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    47
	perl $(EXTENSION_ROOT)/FatConversionTable.pl $< $@
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    48
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    49
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    50
do_nothing:
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    51
	@echo do nothing
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    52
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    53
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    54
MAKMAKE : $(TARGET)
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    55
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    56
BLD : do_nothing
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    57
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    58
SAVESPACE : do_nothing
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    59
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    60
FREEZE : do_nothing
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    61
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    62
LIB : do_nothing
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    63
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    64
CLEANLIB: do_nothing
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    65
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    66
RESOURCE : do_nothing
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    67
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    68
FINAL : do_nothing
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    69
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    70
# Do not echo 'do nothing'.
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    71
# Do not specify any 'epoc32/build' files, unless they are built into the CBR. 
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    72
RELEASABLES :
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    73
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    74
CLEAN :
3f65fd25dfd4 sync up SVN codes
kelvzhu
parents:
diff changeset
    75
	-$(ERASE) $(TARGET)