1 # |
|
2 # Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 # All rights reserved. |
|
4 # |
|
5 # This program is free software: you can redistribute it and/or modify |
|
6 # it under the terms of the GNU Lesser General Public License as published by |
|
7 # the Free Software Foundation, version 2.1 of the License. |
|
8 # |
|
9 # This program is distributed in the hope that it will be useful, |
|
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
12 # GNU Lesser General Public License for more details. |
|
13 # |
|
14 # You should have received a copy of the GNU Lesser General Public License |
|
15 # along with this program. If not, |
|
16 # see "http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html/". |
|
17 # |
|
18 # Description: |
|
19 # |
|
20 |
|
21 # All paths used in this file end with the path delimiter '/' |
|
22 |
|
23 include $(EPOCROOT)epoc32/tools/shell/$(notdir $(basename $(SHELL))).mk |
|
24 |
|
25 EPOC_ROOT := $(subst \,/,$(EPOCROOT)) |
|
26 QT_ROOT := $(EPOC_ROOT)epoc32/tools/qt/ |
|
27 QTMOBILITY_ROOT := $(subst group,,$(subst \,/,$(EXTENSION_ROOT)qtmobility/)) |
|
28 |
|
29 # Determine which platform we are building on |
|
30 ifeq ($(OSTYPE),unix) |
|
31 DOTBAT := |
|
32 else |
|
33 QTMOBILITY_ROOT:= $(subst /,\,$(QTMOBILITY_ROOT)) |
|
34 QT_ROOT:= $(subst /,\,$(QT_ROOT)) |
|
35 DOTBAT := .bat |
|
36 endif |
|
37 |
|
38 QTMOBILITY: |
|
39 echo Configuring QtMobility |
|
40 echo EPOCROOT $(EPOCROOT) |
|
41 echo EPOC_ROOT $(EPOC_ROOT) |
|
42 echo EXTENSION_ROOT $(EXTENSION_ROOT) |
|
43 echo QT_ROOT $(QT_ROOT) |
|
44 echo QTMOBILITY_ROOT $(QTMOBILITY_ROOT) |
|
45 echo DOTBAT $(DOTBAT) |
|
46 echo MODULES $(MODULES) |
|
47 echo TESTS $(TESTS) |
|
48 echo TESTS $(TESTS) |
|
49 echo DOCS $(DOCS) |
|
50 cd $(QTMOBILITY_ROOT) && $(QTMOBILITY_ROOT)configure$(DOTBAT) -qt $(QT_ROOT) -prefix $(QTMOBILITY_ROOT) -modules "$(MODULES)" $(TESTS) $(EXAMPLES) $(DOCS) |
|
51 |
|
52 do_nothing: |
|
53 |
|
54 MAKMAKE : do_nothing |
|
55 |
|
56 BLD : QTMOBILITY |
|
57 |
|
58 FINAL : do_nothing |
|
59 |
|
60 CLEAN : do_nothing |
|
61 |
|
62 RELEASABLES : do_nothing |
|
63 |
|
64 SAVESPACE : BLD |
|
65 |
|
66 FREEZE : do_nothing |
|
67 |
|
68 LIB : do_nothing |
|
69 |
|
70 CLEANLIB : do_nothing |
|
71 |
|
72 RESOURCE : do_nothing |
|
73 |
|
74 |
|
75 |
|