|
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: |
|
14 # |
|
15 |
|
16 TMPROOT:=$(subst \,/,$(EPOCROOT)) |
|
17 EPOCROOT:=$(patsubst %/,%,$(TMPROOT))/ |
|
18 |
|
19 include $(EPOCROOT)epoc32/tools/shell/$(notdir $(basename $(SHELL))).mk |
|
20 |
|
21 TARGET_DIRECTORY = $(EXTENSION_ROOT)/../test/rtest/tsrc/main |
|
22 |
|
23 TEXT_FILE_DIRECTORY = $(EXTENSION_ROOT)/../data |
|
24 |
|
25 TARGET_CPP_FILES = $(TARGET_DIRECTORY)/g_tiso8859x.cpp |
|
26 |
|
27 TOOLS = $(EXTENSION_ROOT)/../test/rtest/tsrc/main/tiso8859x_generate_cpp.pl |
|
28 |
|
29 $(TARGET_DIRECTORY) : |
|
30 |
|
31 $(TARGET_DIRECTORY)/g_tiso8859x.cpp : $(TOOLS) \ |
|
32 $(TEXT_FILE_DIRECTORY)/iso88592.txt \ |
|
33 $(TEXT_FILE_DIRECTORY)/iso88593.txt \ |
|
34 $(TEXT_FILE_DIRECTORY)/iso88594.txt \ |
|
35 $(TEXT_FILE_DIRECTORY)/iso88595.txt \ |
|
36 $(TEXT_FILE_DIRECTORY)/iso88596.txt \ |
|
37 $(TEXT_FILE_DIRECTORY)/iso88597.txt \ |
|
38 $(TEXT_FILE_DIRECTORY)/iso88598.txt \ |
|
39 $(TEXT_FILE_DIRECTORY)/iso88599.txt \ |
|
40 $(TEXT_FILE_DIRECTORY)/iso885910.txt \ |
|
41 $(TEXT_FILE_DIRECTORY)/iso885913.txt \ |
|
42 $(TEXT_FILE_DIRECTORY)/iso885914.txt \ |
|
43 $(TEXT_FILE_DIRECTORY)/iso885915.txt |
|
44 @perl -w $(call slash2generic, $(EXTENSION_ROOT)/../test/rtest/tsrc/main/tiso8859x_generate_cpp.pl '$(EXTENSION_ROOT)') |
|
45 |
|
46 DO_NOTHING : |
|
47 @echo do nothing |
|
48 |
|
49 # |
|
50 # The targets invoked by bld... |
|
51 # |
|
52 |
|
53 MAKMAKE : $(TARGET_DIRECTORY) $(TARGET_CPP_FILES) |
|
54 |
|
55 BLD : $(TARGET_DIRECTORY) $(TARGET_CPP_FILES) |
|
56 |
|
57 SAVESPACE : BLD |
|
58 |
|
59 FREEZE : DO_NOTHING |
|
60 |
|
61 LIB : DO_NOTHING |
|
62 |
|
63 CLEANLIB : DO_NOTHING |
|
64 |
|
65 RESOURCE : DO_NOTHING |
|
66 |
|
67 CLEAN : |
|
68 -$(ERASE) $(TARGET_CPP_FILES) |
|
69 |
|
70 RELEASABLES : |
|
71 @echo $(TARGET_CPP_FILES) |
|
72 |
|
73 FINAL : DO_NOTHING |