summaryrefslogtreecommitdiff
path: root/Rules.make
Unidiff
Diffstat (limited to 'Rules.make') (more/less context) (ignore whitespace changes)
-rw-r--r--Rules.make1
1 files changed, 1 insertions, 0 deletions
diff --git a/Rules.make b/Rules.make
index 3fa98a7..c93d6ec 100644
--- a/Rules.make
+++ b/Rules.make
@@ -1,48 +1,49 @@
1.phony: force 1.phony: force
2force: 2force:
3 3
4$(configs) : 4$(configs) :
5 $(call makecfg,$@) 5 $(call makecfg,$@)
6 6
7$(TOPDIR)/gen.pro : $(TOPDIR)/.config 7$(TOPDIR)/gen.pro : $(TOPDIR)/.config
8 echo > $@ 8 echo > $@
9ifneq ($(CONFIG_DEBUG),) 9ifneq ($(CONFIG_DEBUG),)
10 echo CONFIG += debug >> $@ 10 echo CONFIG += debug >> $@
11 echo CONFIG -= release >> $@ 11 echo CONFIG -= release >> $@
12 echo DEFINES += "QT_COMPONENT_DEBUG=2" >> $@ 12 echo DEFINES += "QT_COMPONENT_DEBUG=2" >> $@
13 echo DEFINES += QT_DEBUG >> $@ 13 echo DEFINES += QT_DEBUG >> $@
14else 14else
15 echo CONFIG -= debug >> $@ 15 echo CONFIG -= debug >> $@
16 echo CONFIG += release >> $@ 16 echo CONFIG += release >> $@
17 echo DEFINES += "OPIE_NO_DEBUG" >> $@
17endif 18endif
18ifeq ($(filter 3.%,$(QTE_VERSION)),) # not qt3 19ifeq ($(filter 3.%,$(QTE_VERSION)),) # not qt3
19 echo CONFIG -= qt3 >> $@ 20 echo CONFIG -= qt3 >> $@
20else 21else
21 echo CONFIG += qt3 >> $@ 22 echo CONFIG += qt3 >> $@
22endif 23endif
23ifneq ($(CONFIG_QUICK_LAUNCH),) 24ifneq ($(CONFIG_QUICK_LAUNCH),)
24 echo contains\( CONFIG, quick-app \) \{ >> $@ 25 echo contains\( CONFIG, quick-app \) \{ >> $@
25 echo CONFIG -= quick-app >> $@ 26 echo CONFIG -= quick-app >> $@
26 echo CONFIG += quick-app-lib >> $@ 27 echo CONFIG += quick-app-lib >> $@
27 echo QUICKLAUNCH_PATH = $(CONFIG_QUICKLAUNCH_PATH) >> $@ 28 echo QUICKLAUNCH_PATH = $(CONFIG_QUICKLAUNCH_PATH) >> $@
28 echo \} >> $@ 29 echo \} >> $@
29else 30else
30 echo contains\( CONFIG, quick-app \) \{ >> $@ 31 echo contains\( CONFIG, quick-app \) \{ >> $@
31 echo CONFIG -= quick-app >> $@ 32 echo CONFIG -= quick-app >> $@
32 echo CONFIG += quick-app-bin >> $@ 33 echo CONFIG += quick-app-bin >> $@
33 echo \} >> $@ 34 echo \} >> $@
34endif 35endif
35ifeq ($(CONFIG_SQL_PIM_BACKEND),y) 36ifeq ($(CONFIG_SQL_PIM_BACKEND),y)
36 echo ENABLE_SQL_PIM_BACKEND=$(CONFIG_SQL_PIM_BACKEND) >> $@ 37 echo ENABLE_SQL_PIM_BACKEND=$(CONFIG_SQL_PIM_BACKEND) >> $@
37else 38else
38 echo ENABLE_SQL_PIM_BACKEND=n >> $@ 39 echo ENABLE_SQL_PIM_BACKEND=n >> $@
39endif 40endif
40ifeq ($(CONFIG_OPIE_NO_OVERRIDE_QT),y) 41ifeq ($(CONFIG_OPIE_NO_OVERRIDE_QT),y)
41 echo CONFIG += no-override >> $@ 42 echo CONFIG += no-override >> $@
42endif 43endif
43ifeq ($(CONFIG_OPIE_NO_BUILTIN_SHUTDOWN),y) 44ifeq ($(CONFIG_OPIE_NO_BUILTIN_SHUTDOWN),y)
44 echo DEFINES += OPIE_NO_BUILTIN_SHUTDOWN >> $@ 45 echo DEFINES += OPIE_NO_BUILTIN_SHUTDOWN >> $@
45endif 46endif
46ifeq ($(CONFIG_OPIE_NO_BUILTIN_CALIBRATE),y) 47ifeq ($(CONFIG_OPIE_NO_BUILTIN_CALIBRATE),y)
47 echo DEFINES += OPIE_NO_BUILTIN_CALIBRATE >> $@ 48 echo DEFINES += OPIE_NO_BUILTIN_CALIBRATE >> $@
48endif 49endif