|
1 # |
|
2 # Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). |
|
3 # All rights reserved. |
|
4 # This component and the accompanying materials are made available |
|
5 # under the terms of "Eclipse Public License v1.0" |
|
6 # which accompanies this distribution, and is available |
|
7 # at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 # |
|
9 # Initial Contributors: |
|
10 # Nokia Corporation - initial contribution. |
|
11 # |
|
12 # Contributors: |
|
13 # |
|
14 # Description: |
|
15 # |
|
16 |
|
17 # TEM specific block begins |
|
18 include $(EPOCROOT)epoc32/tools/shell/$(notdir $(basename $(SHELL))).mk |
|
19 # TEM specific block ends |
|
20 |
|
21 |
|
22 # Check if $/ variable has been defined, if not, then it is always / |
|
23 ifeq ($(strip $(/)),) |
|
24 /:=/ |
|
25 endif |
|
26 |
|
27 # Replace \ with / in EPOCROOT |
|
28 EPOCROOT:=$(subst \,/,$(EPOCROOT)) |
|
29 # Make sure that EPOCROOT ends in / |
|
30 EPOCROOT:=$(patsubst %/,%,$(EPOCROOT))/ |
|
31 # Replace / with $/ in EPOCROOT |
|
32 EPOCROOT:=$(subst /,$/,$(EPOCROOT)) |
|
33 |
|
34 # Platform specific helper tools |
|
35 ifeq ($(TEMTARGET),) |
|
36 TOOLCAT:=type |
|
37 TOOLCOPY:=copy |
|
38 TOOLMKDIR:=md |
|
39 else |
|
40 TOOLCAT:=cat |
|
41 TOOLCOPY:=cp |
|
42 TOOLMKDIR:=mkdir -p |
|
43 endif |
|
44 |
|
45 VECTORINTERMEDIATEDIR:=$(EPOCROOT)epoc32$/build$/s60$/icons$/$(notdir $(basename $(TARGETFILE))) |
|
46 include $(EPOCROOT)epoc32$/tools$/makefile_templates$/s60$/mifconv_global_options.make |
|
47 include $(EPOCROOT)epoc32$/tools$/makefile_templates$/s60$/mifconv_step1.make |
|
48 |
|
49 |
|
50 # TEM specific block begins |
|
51 MAKMAKE : |
|
52 |
|
53 WHATMAKEFILE \ |
|
54 WHATRESOURCE : |
|
55 @echo $(TARGETFILE) |
|
56 @echo $(HEADERFILE) |
|
57 |
|
58 |
|
59 |
|
60 MAKMAKE \ |
|
61 WHATMAKEFILE \ |
|
62 BLD \ |
|
63 SAVESPACE \ |
|
64 LIB \ |
|
65 FREEZE \ |
|
66 RESOURCE \ |
|
67 FINAL \ |
|
68 RELEASABLES \ |
|
69 ROMFILE : |
|
70 # TEM specific block ends |
|
71 |
|
72 |
|
73 include $(EPOCROOT)epoc32$/tools$/makefile_templates$/s60$/mifconv_step2.make |
|
74 include $(EPOCROOT)epoc32$/tools$/makefile_templates$/s60$/mifconv_option_reader_recursive.make |
|
75 include $(EPOCROOT)epoc32$/tools$/makefile_templates$/s60$/mifconv_step3.make |
|
76 |
|
77 |
|
78 # TEM specific block begins |
|
79 MAKMAKE \ |
|
80 RESOURCE : $(BITMAPFILE) $(TARGETFILE) $(HEADERFILE) |
|
81 # TEM specific block begins |
|
82 |
|
83 |
|
84 include $(EPOCROOT)epoc32$/tools$/makefile_templates$/s60$/mifconv_step4.make |
|
85 |
|
86 |
|
87 # TEM specific block begins |
|
88 CLEAN CLEANMAKEFILE : $(addsuffix -erase,$(wildcard $(TARGETFILE) $(HEADERFILE) $(BITMAPFILE) $(PARAMFILE) $(patsubst %b,%,$(SVGBFILES)) $(SVGBFILES))) |
|
89 # TEM specific block ends |