author | wimpie <wimpie> | 2004-08-25 01:48:03 (UTC) |
---|---|---|
committer | wimpie <wimpie> | 2004-08-25 01:48:03 (UTC) |
commit | c1228b2e9d3534016dddbc6afceddf4880999b90 (patch) (unidiff) | |
tree | 38ed10a109f1a7da92eaaf283fe1efbf4a1900d2 /Rules.make | |
parent | f6a6fe57c9e0047379f4b8b40da4776f1c4d7b25 (diff) | |
download | opie-c1228b2e9d3534016dddbc6afceddf4880999b90.zip opie-c1228b2e9d3534016dddbc6afceddf4880999b90.tar.gz opie-c1228b2e9d3534016dddbc6afceddf4880999b90.tar.bz2 |
Added rule to autodefine OPIE_WITHROHFEEDBACK from menuconfig
-rw-r--r-- | Rules.make | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -8,96 +8,99 @@ $(TOPDIR)/gen.pro : $(TOPDIR)/.config | |||
8 | echo > $@ | 8 | echo > $@ |
9 | # added for threaded version | 9 | # added for threaded version |
10 | ifneq ($(CONFIG_THREADED),) | 10 | ifneq ($(CONFIG_THREADED),) |
11 | echo CONFIG += thread >> $@ | 11 | echo CONFIG += thread >> $@ |
12 | else | 12 | else |
13 | echo CONFIG -= thread >> $@ | 13 | echo CONFIG -= thread >> $@ |
14 | endif | 14 | endif |
15 | ifneq ($(CONFIG_DEBUG),) | 15 | ifneq ($(CONFIG_DEBUG),) |
16 | echo CONFIG += debug >> $@ | 16 | echo CONFIG += debug >> $@ |
17 | echo CONFIG -= release >> $@ | 17 | echo CONFIG -= release >> $@ |
18 | echo DEFINES += "QT_COMPONENT_DEBUG=2" >> $@ | 18 | echo DEFINES += "QT_COMPONENT_DEBUG=2" >> $@ |
19 | echo DEFINES += QT_DEBUG >> $@ | 19 | echo DEFINES += QT_DEBUG >> $@ |
20 | else | 20 | else |
21 | echo CONFIG -= debug >> $@ | 21 | echo CONFIG -= debug >> $@ |
22 | echo CONFIG += release >> $@ | 22 | echo CONFIG += release >> $@ |
23 | echo DEFINES += "OPIE_NO_DEBUG" >> $@ | 23 | echo DEFINES += "OPIE_NO_DEBUG" >> $@ |
24 | endif | 24 | endif |
25 | ifeq ($(CONFIG_STATIC),y) | 25 | ifeq ($(CONFIG_STATIC),y) |
26 | echo !contains\( TARGET,qpe \) \{ >> $@ | 26 | echo !contains\( TARGET,qpe \) \{ >> $@ |
27 | echo CONFIG += staticlib >> $@ | 27 | echo CONFIG += staticlib >> $@ |
28 | echo \} >> $@ | 28 | echo \} >> $@ |
29 | endif | 29 | endif |
30 | ifeq ($(filter 3.%,$(QTE_VERSION)),) # not qt3 | 30 | ifeq ($(filter 3.%,$(QTE_VERSION)),) # not qt3 |
31 | echo CONFIG -= qt3 >> $@ | 31 | echo CONFIG -= qt3 >> $@ |
32 | else | 32 | else |
33 | echo CONFIG += qt3 >> $@ | 33 | echo CONFIG += qt3 >> $@ |
34 | endif | 34 | endif |
35 | ifneq ($(CONFIG_QUICK_LAUNCH),) | 35 | ifneq ($(CONFIG_QUICK_LAUNCH),) |
36 | echo contains\( CONFIG, quick-app \) \{ >> $@ | 36 | echo contains\( CONFIG, quick-app \) \{ >> $@ |
37 | echo CONFIG -= staticlib >> $@ | 37 | echo CONFIG -= staticlib >> $@ |
38 | echo CONFIG -= quick-app >> $@ | 38 | echo CONFIG -= quick-app >> $@ |
39 | echo CONFIG += quick-app-lib >> $@ | 39 | echo CONFIG += quick-app-lib >> $@ |
40 | echo QUICKLAUNCH_PATH = $(CONFIG_QUICKLAUNCH_PATH) >> $@ | 40 | echo QUICKLAUNCH_PATH = $(CONFIG_QUICKLAUNCH_PATH) >> $@ |
41 | echo \} >> $@ | 41 | echo \} >> $@ |
42 | else | 42 | else |
43 | echo contains\( CONFIG, quick-app \) \{ >> $@ | 43 | echo contains\( CONFIG, quick-app \) \{ >> $@ |
44 | echo CONFIG -= quick-app >> $@ | 44 | echo CONFIG -= quick-app >> $@ |
45 | echo CONFIG += quick-app-bin >> $@ | 45 | echo CONFIG += quick-app-bin >> $@ |
46 | echo \} >> $@ | 46 | echo \} >> $@ |
47 | endif | 47 | endif |
48 | ifeq ($(CONFIG_SQL_PIM_BACKEND),y) | 48 | ifeq ($(CONFIG_SQL_PIM_BACKEND),y) |
49 | echo ENABLE_SQL_PIM_BACKEND=$(CONFIG_SQL_PIM_BACKEND) >> $@ | 49 | echo ENABLE_SQL_PIM_BACKEND=$(CONFIG_SQL_PIM_BACKEND) >> $@ |
50 | else | 50 | else |
51 | echo ENABLE_SQL_PIM_BACKEND=n >> $@ | 51 | echo ENABLE_SQL_PIM_BACKEND=n >> $@ |
52 | endif | 52 | endif |
53 | ifeq ($(CONFIG_OPIE_NO_OVERRIDE_QT),y) | 53 | ifeq ($(CONFIG_OPIE_NO_OVERRIDE_QT),y) |
54 | echo CONFIG += no-override >> $@ | 54 | echo CONFIG += no-override >> $@ |
55 | endif | 55 | endif |
56 | ifeq ($(CONFIG_LIBQPE_WITHROHFEEDBACK),y) | ||
57 | echo DEFINES += OPIE_WITHROHFEEDBACK >> $@ | ||
58 | endif | ||
56 | ifeq ($(CONFIG_OPIE_NO_ERASERECT_FIX),y) | 59 | ifeq ($(CONFIG_OPIE_NO_ERASERECT_FIX),y) |
57 | echo DEFINES += OPIE_NO_ERASE_RECT_HACKFIX >> $@ | 60 | echo DEFINES += OPIE_NO_ERASE_RECT_HACKFIX >> $@ |
58 | endif | 61 | endif |
59 | ifeq ($(CONFIG_OPIE_NO_BUILTIN_SHUTDOWN),y) | 62 | ifeq ($(CONFIG_OPIE_NO_BUILTIN_SHUTDOWN),y) |
60 | echo DEFINES += OPIE_NO_BUILTIN_SHUTDOWN >> $@ | 63 | echo DEFINES += OPIE_NO_BUILTIN_SHUTDOWN >> $@ |
61 | endif | 64 | endif |
62 | ifeq ($(CONFIG_OPIE_NO_BUILTIN_CALIBRATE),y) | 65 | ifeq ($(CONFIG_OPIE_NO_BUILTIN_CALIBRATE),y) |
63 | echo DEFINES += OPIE_NO_BUILTIN_CALIBRATE >> $@ | 66 | echo DEFINES += OPIE_NO_BUILTIN_CALIBRATE >> $@ |
64 | endif | 67 | endif |
65 | ifeq ($(CONFIG_USE_REALTIME_AUDIO_THREAD),y) | 68 | ifeq ($(CONFIG_USE_REALTIME_AUDIO_THREAD),y) |
66 | echo DEFINES += USE_REALTIME_AUDIO_THREAD >> $@ | 69 | echo DEFINES += USE_REALTIME_AUDIO_THREAD >> $@ |
67 | endif | 70 | endif |
68 | ifeq ($(CONFIG_USE_FILE_NOTIFICATION),y) | 71 | ifeq ($(CONFIG_USE_FILE_NOTIFICATION),y) |
69 | echo DEFINES += USE_FILE_NOTIFICATION >> $@ | 72 | echo DEFINES += USE_FILE_NOTIFICATION >> $@ |
70 | endif | 73 | endif |
71 | ifeq ($(CONFIG_QT_QWS_ALLOW_CLOCK),y) | 74 | ifeq ($(CONFIG_QT_QWS_ALLOW_CLOCK),y) |
72 | echo DEFINES += QT_QWS_ALLOW_OVERCLOCK >> $@ | 75 | echo DEFINES += QT_QWS_ALLOW_OVERCLOCK >> $@ |
73 | endif | 76 | endif |
74 | ifeq ($(CONFIG_OPIE_NEW_ALLOC),y) | 77 | ifeq ($(CONFIG_OPIE_NEW_ALLOC),y) |
75 | echo DEFINES += OPIE_NEW_MALLOC >> $@ | 78 | echo DEFINES += OPIE_NEW_MALLOC >> $@ |
76 | endif | 79 | endif |
77 | ifeq ($(CONFIG_OPIE_NO_SOUND_PCM_READ_BITS),y) | 80 | ifeq ($(CONFIG_OPIE_NO_SOUND_PCM_READ_BITS),y) |
78 | echo DEFINES += OPIE_NO_SOUND_PCM_READ_BITS >> $@ | 81 | echo DEFINES += OPIE_NO_SOUND_PCM_READ_BITS >> $@ |
79 | endif | 82 | endif |
80 | echo DEFINES += OPIE_SOUND_FRAGMENT_SHIFT=$(CONFIG_OPIE_SOUND_FRAGMENT_SHIFT) >> $@ | 83 | echo DEFINES += OPIE_SOUND_FRAGMENT_SHIFT=$(CONFIG_OPIE_SOUND_FRAGMENT_SHIFT) >> $@ |
81 | ifeq ($(CONFIG_OPIE_WE_VERSION_OVERRIDE),y) | 84 | ifeq ($(CONFIG_OPIE_WE_VERSION_OVERRIDE),y) |
82 | echo DEFINES += OPIE_WE_VERSION=$(CONFIG_OPIE_WE_VERSION) >> $@ | 85 | echo DEFINES += OPIE_WE_VERSION=$(CONFIG_OPIE_WE_VERSION) >> $@ |
83 | endif | 86 | endif |
84 | ifeq ($(CONFIG_OPIE_TASKBAR_LOCK_KEY_STATE),y) | 87 | ifeq ($(CONFIG_OPIE_TASKBAR_LOCK_KEY_STATE),y) |
85 | echo DEFINES += OPIE_TASKBAR_LOCK_KEY_STATE >> $@ | 88 | echo DEFINES += OPIE_TASKBAR_LOCK_KEY_STATE >> $@ |
86 | endif | 89 | endif |
87 | # Write LIB dirs and INC dirs... | 90 | # Write LIB dirs and INC dirs... |
88 | ifeq ($(CONFIG_LIBETPAN_DEP),y) | 91 | ifeq ($(CONFIG_LIBETPAN_DEP),y) |
89 | echo LIBETPAN_LIB_DIR = $(CONFIG_LIBETPAN_LIB_DIR) >> $@ | 92 | echo LIBETPAN_LIB_DIR = $(CONFIG_LIBETPAN_LIB_DIR) >> $@ |
90 | echo LIBETPAN_INC_DIR = $(CONFIG_LIBETPAN_INC_DIR) >> $@ | 93 | echo LIBETPAN_INC_DIR = $(CONFIG_LIBETPAN_INC_DIR) >> $@ |
91 | endif | 94 | endif |
92 | ifeq ($(CONFIG_LIBPCAP_DEP),y) | 95 | ifeq ($(CONFIG_LIBPCAP_DEP),y) |
93 | echo LIBPCAP_LIB_DIR = $(CONFIG_LIBPCAP_LIB_DIR) >> $@ | 96 | echo LIBPCAP_LIB_DIR = $(CONFIG_LIBPCAP_LIB_DIR) >> $@ |
94 | echo LIBPCAP_INC_DIR = $(CONFIG_LIBPCAP_INC_DIR) >> $@ | 97 | echo LIBPCAP_INC_DIR = $(CONFIG_LIBPCAP_INC_DIR) >> $@ |
95 | endif | 98 | endif |
96 | ifeq ($(CONFIG_LIBSQLITE_DEP),y) | 99 | ifeq ($(CONFIG_LIBSQLITE_DEP),y) |
97 | echo LIBSQLITE_LIB_DIR = $(CONFIG_LIBSQLITE_LIB_DIR) >> $@ | 100 | echo LIBSQLITE_LIB_DIR = $(CONFIG_LIBSQLITE_LIB_DIR) >> $@ |
98 | echo LIBSQLITE_INC_DIR = $(CONFIG_LIBSQLITE_INC_DIR) >> $@ | 101 | echo LIBSQLITE_INC_DIR = $(CONFIG_LIBSQLITE_INC_DIR) >> $@ |
99 | endif | 102 | endif |
100 | ifeq ($(CONFIG_LIBXINE_DEP),y) | 103 | ifeq ($(CONFIG_LIBXINE_DEP),y) |
101 | echo LIBXINE_LIB_DIR = $(CONFIG_LIBXINE_LIB_DIR) >> $@ | 104 | echo LIBXINE_LIB_DIR = $(CONFIG_LIBXINE_LIB_DIR) >> $@ |
102 | echo LIBXINE_INC_DIR = $(CONFIG_LIBXINE_INC_DIR) >> $@ | 105 | echo LIBXINE_INC_DIR = $(CONFIG_LIBXINE_INC_DIR) >> $@ |
103 | endif | 106 | endif |