|
1 # Copyright (c) 2004-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 # To ensure that EPOCROOT always ends with a forward slash |
|
17 TMPROOT:=$(subst \,/,$(EPOCROOT)) |
|
18 EPOCROOT:=$(patsubst %/,%,$(TMPROOT))/ |
|
19 |
|
20 include $(EPOCROOT)epoc32/tools/shell/$(notdir $(basename $(SHELL))).mk |
|
21 |
|
22 |
|
23 BUILD_DIR = $(call generated,generated/fatcharsetconv) |
|
24 |
|
25 |
|
26 SOURCE_DIR = $(EXTENSION_ROOT)/../unicodeTables |
|
27 |
|
28 TARGET= $(BUILD_DIR)/cp950.cpp \ |
|
29 $(BUILD_DIR)/cp949.cpp \ |
|
30 $(BUILD_DIR)/cp936.cpp \ |
|
31 $(BUILD_DIR)/cp932.cpp \ |
|
32 $(BUILD_DIR)/cp874.cpp \ |
|
33 $(BUILD_DIR)/cp1258.cpp \ |
|
34 $(BUILD_DIR)/cp1257.cpp \ |
|
35 $(BUILD_DIR)/cp1256.cpp \ |
|
36 $(BUILD_DIR)/cp1255.cpp \ |
|
37 $(BUILD_DIR)/cp1254.cpp \ |
|
38 $(BUILD_DIR)/cp1253.cpp \ |
|
39 $(BUILD_DIR)/cp1252.cpp \ |
|
40 $(BUILD_DIR)/cp1251.cpp \ |
|
41 $(BUILD_DIR)/cp1250.cpp |
|
42 |
|
43 $(BUILD_DIR): |
|
44 $(call createdir,$(BUILD_DIR)) |
|
45 |
|
46 $(TARGET):$(BUILD_DIR)/cp%.cpp : $(SOURCE_DIR)/CP%.txt $(BUILD_DIR) |
|
47 perl $(EXTENSION_ROOT)/FatConversionTable.pl $< $@ |
|
48 |
|
49 |
|
50 do_nothing: |
|
51 @echo do nothing |
|
52 |
|
53 |
|
54 MAKMAKE : $(TARGET) |
|
55 |
|
56 BLD : do_nothing |
|
57 |
|
58 SAVESPACE : do_nothing |
|
59 |
|
60 FREEZE : do_nothing |
|
61 |
|
62 LIB : do_nothing |
|
63 |
|
64 CLEANLIB: do_nothing |
|
65 |
|
66 RESOURCE : do_nothing |
|
67 |
|
68 FINAL : do_nothing |
|
69 |
|
70 # Do not echo 'do nothing'. |
|
71 # Do not specify any 'epoc32/build' files, unless they are built into the CBR. |
|
72 RELEASABLES : |
|
73 |
|
74 CLEAN : |
|
75 -$(ERASE) $(TARGET) |