sbsv1/buildsystem/extension/syslibs/conversiontable.mk
author jjkang
Fri, 25 Jun 2010 19:56:45 +0800
changeset 604 b33dd54aaa52
parent 599 fa7a3cc6effd
permissions -rw-r--r--
add cpptoolsplat
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
599
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
     1
# Copyright (c) 2004-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
# To ensure that EPOCROOT always ends with a forward slash
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    17
TMPROOT:=$(subst \,/,$(EPOCROOT))
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    18
EPOCROOT:=$(patsubst %/,%,$(TMPROOT))/
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
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    23
BUILD_DIR = $(call generated,generated/fatcharsetconv)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    24
	
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    25
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    26
SOURCE_DIR = $(EXTENSION_ROOT)/../unicodeTables
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    27
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    28
TARGET= $(BUILD_DIR)/cp950.cpp \
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    29
	$(BUILD_DIR)/cp949.cpp \
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    30
	$(BUILD_DIR)/cp936.cpp \
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    31
	$(BUILD_DIR)/cp932.cpp \
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    32
	$(BUILD_DIR)/cp874.cpp \
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    33
	$(BUILD_DIR)/cp1258.cpp \
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    34
	$(BUILD_DIR)/cp1257.cpp \
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    35
	$(BUILD_DIR)/cp1256.cpp \
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    36
	$(BUILD_DIR)/cp1255.cpp \
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    37
	$(BUILD_DIR)/cp1254.cpp \
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    38
	$(BUILD_DIR)/cp1253.cpp \
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    39
	$(BUILD_DIR)/cp1252.cpp \
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    40
	$(BUILD_DIR)/cp1251.cpp \
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    41
	$(BUILD_DIR)/cp1250.cpp
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    42
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    43
$(BUILD_DIR):
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    44
	$(call createdir,$(BUILD_DIR)) 
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    45
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    46
$(TARGET):$(BUILD_DIR)/cp%.cpp : $(SOURCE_DIR)/CP%.txt $(BUILD_DIR)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    47
	perl $(EXTENSION_ROOT)/FatConversionTable.pl $< $@
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    48
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    49
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    50
do_nothing:
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    51
	@echo do nothing
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    52
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    53
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    54
MAKMAKE : $(TARGET)
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    55
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    56
BLD : do_nothing
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    57
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    58
SAVESPACE : do_nothing
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    59
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    60
FREEZE : do_nothing
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    61
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    62
LIB : do_nothing
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    63
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    64
CLEANLIB: do_nothing
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    65
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    66
RESOURCE : do_nothing
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    67
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    68
FINAL : do_nothing
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    69
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    70
# Do not echo 'do nothing'.
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    71
# Do not specify any 'epoc32/build' files, unless they are built into the CBR. 
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    72
RELEASABLES :
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    73
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    74
CLEAN :
fa7a3cc6effd Add sbsv1 to new structure
jjkang
parents:
diff changeset
    75
	-$(ERASE) $(TARGET)