summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--Rules.make2
1 files changed, 2 insertions, 0 deletions
diff --git a/Rules.make b/Rules.make
index 8de8117..3fa98a7 100644
--- a/Rules.make
+++ b/Rules.make
@@ -1,59 +1,61 @@
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" >> $@
13 echo DEFINES += QT_DEBUG >> $@
12else 14else
13 echo CONFIG -= debug >> $@ 15 echo CONFIG -= debug >> $@
14 echo CONFIG += release >> $@ 16 echo CONFIG += release >> $@
15endif 17endif
16ifeq ($(filter 3.%,$(QTE_VERSION)),) # not qt3 18ifeq ($(filter 3.%,$(QTE_VERSION)),) # not qt3
17 echo CONFIG -= qt3 >> $@ 19 echo CONFIG -= qt3 >> $@
18else 20else
19 echo CONFIG += qt3 >> $@ 21 echo CONFIG += qt3 >> $@
20endif 22endif
21ifneq ($(CONFIG_QUICK_LAUNCH),) 23ifneq ($(CONFIG_QUICK_LAUNCH),)
22 echo contains\( CONFIG, quick-app \) \{ >> $@ 24 echo contains\( CONFIG, quick-app \) \{ >> $@
23 echo CONFIG -= quick-app >> $@ 25 echo CONFIG -= quick-app >> $@
24 echo CONFIG += quick-app-lib >> $@ 26 echo CONFIG += quick-app-lib >> $@
25 echo QUICKLAUNCH_PATH = $(CONFIG_QUICKLAUNCH_PATH) >> $@ 27 echo QUICKLAUNCH_PATH = $(CONFIG_QUICKLAUNCH_PATH) >> $@
26 echo \} >> $@ 28 echo \} >> $@
27else 29else
28 echo contains\( CONFIG, quick-app \) \{ >> $@ 30 echo contains\( CONFIG, quick-app \) \{ >> $@
29 echo CONFIG -= quick-app >> $@ 31 echo CONFIG -= quick-app >> $@
30 echo CONFIG += quick-app-bin >> $@ 32 echo CONFIG += quick-app-bin >> $@
31 echo \} >> $@ 33 echo \} >> $@
32endif 34endif
33ifeq ($(CONFIG_SQL_PIM_BACKEND),y) 35ifeq ($(CONFIG_SQL_PIM_BACKEND),y)
34 echo ENABLE_SQL_PIM_BACKEND=$(CONFIG_SQL_PIM_BACKEND) >> $@ 36 echo ENABLE_SQL_PIM_BACKEND=$(CONFIG_SQL_PIM_BACKEND) >> $@
35else 37else
36 echo ENABLE_SQL_PIM_BACKEND=n >> $@ 38 echo ENABLE_SQL_PIM_BACKEND=n >> $@
37endif 39endif
38ifeq ($(CONFIG_OPIE_NO_OVERRIDE_QT),y) 40ifeq ($(CONFIG_OPIE_NO_OVERRIDE_QT),y)
39 echo CONFIG += no-override >> $@ 41 echo CONFIG += no-override >> $@
40endif 42endif
41ifeq ($(CONFIG_OPIE_NO_BUILTIN_SHUTDOWN),y) 43ifeq ($(CONFIG_OPIE_NO_BUILTIN_SHUTDOWN),y)
42 echo DEFINES += OPIE_NO_BUILTIN_SHUTDOWN >> $@ 44 echo DEFINES += OPIE_NO_BUILTIN_SHUTDOWN >> $@
43endif 45endif
44ifeq ($(CONFIG_OPIE_NO_BUILTIN_CALIBRATE),y) 46ifeq ($(CONFIG_OPIE_NO_BUILTIN_CALIBRATE),y)
45 echo DEFINES += OPIE_NO_BUILTIN_CALIBRATE >> $@ 47 echo DEFINES += OPIE_NO_BUILTIN_CALIBRATE >> $@
46endif 48endif
47ifeq ($(CONFIG_USE_REALTIME_AUDIO_THREAD),y) 49ifeq ($(CONFIG_USE_REALTIME_AUDIO_THREAD),y)
48 echo DEFINES += USE_REALTIME_AUDIO_THREAD >> $@ 50 echo DEFINES += USE_REALTIME_AUDIO_THREAD >> $@
49endif 51endif
50ifeq ($(CONFIG_QT_QWS_ALLOW_CLOCK),y) 52ifeq ($(CONFIG_QT_QWS_ALLOW_CLOCK),y)
51 echo DEFINES += QT_QWS_ALLOW_OVERCLOCK >> $@ 53 echo DEFINES += QT_QWS_ALLOW_OVERCLOCK >> $@
52endif 54endif
53ifeq ($(CONFIG_OPIE_HIGH_RES_SMALL_PHY),y) 55ifeq ($(CONFIG_OPIE_HIGH_RES_SMALL_PHY),y)
54 echo DEFINES += OPIE_HIGH_RES_SMALL_PHY >> $@ 56 echo DEFINES += OPIE_HIGH_RES_SMALL_PHY >> $@
55endif 57endif
56ifeq ($(CONFIG_OPIE_NEW_ALLOC),y) 58ifeq ($(CONFIG_OPIE_NEW_ALLOC),y)
57 echo DEFINES += OPIE_NEW_MALLOC >> $@ 59 echo DEFINES += OPIE_NEW_MALLOC >> $@
58endif 60endif
59ifeq ($(CONFIG_OPIE_NO_SOUND_PCM_READ_BITS),y) 61ifeq ($(CONFIG_OPIE_NO_SOUND_PCM_READ_BITS),y)