|
1 # |
|
2 # Copyright (c) 2006, 2009 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: use the CDL Compiler to process the CDL files, |
|
15 # generating client headers and internal headers |
|
16 # |
|
17 TMPROOT:=$(subst \,/,$(EPOCROOT)) |
|
18 EPOCROOT:=$(patsubst %/,%,$(TMPROOT))/ |
|
19 |
|
20 MYSHELL:=$(notdir $(basename $(SHELL))) |
|
21 include $(EPOCROOT)epoc32/tools/shell/$(MYSHELL).mk |
|
22 |
|
23 CDLCOMPILER:=$(EPOCROOT)epoc32/tools/CdlCompiler.exe |
|
24 |
|
25 do_nothing : |
|
26 @echo do_nothing |
|
27 |
|
28 # Please note the CDLCOMPILER doesn't seems to accept the forward slashes below; |
|
29 # so just left without changing \ to /. |
|
30 MAKMAKE : |
|
31 $(CDLCOMPILER) client -p$(subst /,\,$(EPOCROOT)epoc32\include\platform\mw) $(subst /,\,$(EPOCROOT)epoc32\include\platform\mw\MifHeader.cdl) |
|
32 |
|
33 BLD : do_nothing |
|
34 |
|
35 CLEAN : |
|
36 -$(call remove,$(EPOCROOT)epoc32/include/platform/mw/MifHeader.cdl.h) |
|
37 -$(call remove,$(EPOCROOT)epoc32/include/platform/mw/MifHeader.cdl.common.h) |
|
38 -$(call remove,$(EPOCROOT)epoc32/include/platform/mw/MifHeader.cdl.common.hrh) |
|
39 |
|
40 LIB : do_nothing |
|
41 |
|
42 CLEANLIB : do_nothing |
|
43 |
|
44 RESOURCE : do_nothing |
|
45 |
|
46 FREEZE : do_nothing |
|
47 |
|
48 SAVESPACE : do_nothing |
|
49 |
|
50 RELEASABLES : |
|
51 @echo $(EPOCROOT)epoc32/include/platform/mw/MifHeader.cdl.h |
|
52 @echo $(EPOCROOT)epoc32/include/platform/mw/MifHeader.cdl.common.h |
|
53 @echo $(EPOCROOT)epoc32/include/platform/mw/MifHeader.cdl.common.hrh |
|
54 |
|
55 FINAL : do_nothing |