|
|
|
@@ -15,96 +15,99 @@ endif |
15 | # added for auto stripped build |
15 | # added for auto stripped build |
16 | ifneq ($(CONFIG_STRIP),) |
16 | ifneq ($(CONFIG_STRIP),) |
17 | echo CONFIG += strip >> $@ |
17 | echo CONFIG += strip >> $@ |
18 | endif |
18 | endif |
19 | ifneq ($(CONFIG_DEBUG),) |
19 | ifneq ($(CONFIG_DEBUG),) |
20 | echo CONFIG += debug >> $@ |
20 | echo CONFIG += debug >> $@ |
21 | echo CONFIG -= release >> $@ |
21 | echo CONFIG -= release >> $@ |
22 | echo DEFINES += "QT_COMPONENT_DEBUG=2" >> $@ |
22 | echo DEFINES += "QT_COMPONENT_DEBUG=2" >> $@ |
23 | echo DEFINES += QT_DEBUG >> $@ |
23 | echo DEFINES += QT_DEBUG >> $@ |
24 | else |
24 | else |
25 | echo CONFIG -= debug >> $@ |
25 | echo CONFIG -= debug >> $@ |
26 | echo CONFIG += release >> $@ |
26 | echo CONFIG += release >> $@ |
27 | echo DEFINES += "OPIE_NO_DEBUG" >> $@ |
27 | echo DEFINES += "OPIE_NO_DEBUG" >> $@ |
28 | endif |
28 | endif |
29 | ifeq ($(CONFIG_STATIC),y) |
29 | ifeq ($(CONFIG_STATIC),y) |
30 | echo !contains\( TARGET,qpe \) \{ >> $@ |
30 | echo !contains\( TARGET,qpe \) \{ >> $@ |
31 | echo CONFIG += staticlib >> $@ |
31 | echo CONFIG += staticlib >> $@ |
32 | echo \} >> $@ |
32 | echo \} >> $@ |
33 | endif |
33 | endif |
34 | ifeq ($(filter 3.%,$(QTE_VERSION)),) # not qt3 |
34 | ifeq ($(filter 3.%,$(QTE_VERSION)),) # not qt3 |
35 | echo CONFIG -= qt3 >> $@ |
35 | echo CONFIG -= qt3 >> $@ |
36 | else |
36 | else |
37 | echo CONFIG += qt3 >> $@ |
37 | echo CONFIG += qt3 >> $@ |
38 | endif |
38 | endif |
39 | ifneq ($(CONFIG_QUICK_LAUNCH),) |
39 | ifneq ($(CONFIG_QUICK_LAUNCH),) |
40 | echo contains\( CONFIG, quick-app \) \{ >> $@ |
40 | echo contains\( CONFIG, quick-app \) \{ >> $@ |
41 | echo CONFIG -= staticlib >> $@ |
41 | echo CONFIG -= staticlib >> $@ |
42 | echo CONFIG -= quick-app >> $@ |
42 | echo CONFIG -= quick-app >> $@ |
43 | echo CONFIG += quick-app-lib >> $@ |
43 | echo CONFIG += quick-app-lib >> $@ |
44 | echo QUICKLAUNCH_PATH = $(CONFIG_QUICKLAUNCH_PATH) >> $@ |
44 | echo QUICKLAUNCH_PATH = $(CONFIG_QUICKLAUNCH_PATH) >> $@ |
45 | echo \} >> $@ |
45 | echo \} >> $@ |
46 | else |
46 | else |
47 | echo contains\( CONFIG, quick-app \) \{ >> $@ |
47 | echo contains\( CONFIG, quick-app \) \{ >> $@ |
48 | echo CONFIG -= quick-app >> $@ |
48 | echo CONFIG -= quick-app >> $@ |
49 | echo CONFIG += quick-app-bin >> $@ |
49 | echo CONFIG += quick-app-bin >> $@ |
50 | echo \} >> $@ |
50 | echo \} >> $@ |
51 | endif |
51 | endif |
52 | ifeq ($(CONFIG_SQL_PIM_BACKEND),y) |
52 | ifeq ($(CONFIG_SQL_PIM_BACKEND),y) |
53 | echo ENABLE_SQL_PIM_BACKEND=$(CONFIG_SQL_PIM_BACKEND) >> $@ |
53 | echo ENABLE_SQL_PIM_BACKEND=$(CONFIG_SQL_PIM_BACKEND) >> $@ |
54 | else |
54 | else |
55 | echo ENABLE_SQL_PIM_BACKEND=n >> $@ |
55 | echo ENABLE_SQL_PIM_BACKEND=n >> $@ |
56 | endif |
56 | endif |
57 | ifeq ($(CONFIG_OPIELOGIN_USEPAM),y) |
57 | ifeq ($(CONFIG_OPIELOGIN_USEPAM),y) |
58 | echo CONFIG += OPIELOGIN_USEPAM >> $@ |
58 | echo CONFIG += OPIELOGIN_USEPAM >> $@ |
59 | endif |
59 | endif |
60 | ifeq ($(CONFIG_LIBQPE_WITHROHFEEDBACK),y) |
60 | ifeq ($(CONFIG_LIBQPE_WITHROHFEEDBACK),y) |
61 | echo CONFIG += LIBQPE_WITHROHFEEDBACK >> $@ |
61 | echo CONFIG += LIBQPE_WITHROHFEEDBACK >> $@ |
62 | endif |
62 | endif |
| |
63 | ifeq ($(CONFIG_LIBQPE_NO_INLINE_IMAGES),y) |
| |
64 | echo DEFINES += LIBQPE_NO_INLINE_IMAGES >> $@ |
| |
65 | endif |
63 | ifeq ($(CONFIG_OPIE_NO_BUILTIN_SHUTDOWN),y) |
66 | ifeq ($(CONFIG_OPIE_NO_BUILTIN_SHUTDOWN),y) |
64 | echo DEFINES += OPIE_NO_BUILTIN_SHUTDOWN >> $@ |
67 | echo DEFINES += OPIE_NO_BUILTIN_SHUTDOWN >> $@ |
65 | endif |
68 | endif |
66 | ifeq ($(CONFIG_OPIE_NO_BUILTIN_CALIBRATE),y) |
69 | ifeq ($(CONFIG_OPIE_NO_BUILTIN_CALIBRATE),y) |
67 | echo DEFINES += OPIE_NO_BUILTIN_CALIBRATE >> $@ |
70 | echo DEFINES += OPIE_NO_BUILTIN_CALIBRATE >> $@ |
68 | endif |
71 | endif |
69 | ifeq ($(CONFIG_USE_REALTIME_AUDIO_THREAD),y) |
72 | ifeq ($(CONFIG_USE_REALTIME_AUDIO_THREAD),y) |
70 | echo DEFINES += USE_REALTIME_AUDIO_THREAD >> $@ |
73 | echo DEFINES += USE_REALTIME_AUDIO_THREAD >> $@ |
71 | endif |
74 | endif |
72 | ifeq ($(CONFIG_USE_FILE_NOTIFICATION),y) |
75 | ifeq ($(CONFIG_USE_FILE_NOTIFICATION),y) |
73 | echo DEFINES += USE_FILE_NOTIFICATION >> $@ |
76 | echo DEFINES += USE_FILE_NOTIFICATION >> $@ |
74 | endif |
77 | endif |
75 | ifeq ($(CONFIG_QT_QWS_ALLOW_CLOCK),y) |
78 | ifeq ($(CONFIG_QT_QWS_ALLOW_CLOCK),y) |
76 | echo DEFINES += QT_QWS_ALLOW_OVERCLOCK >> $@ |
79 | echo DEFINES += QT_QWS_ALLOW_OVERCLOCK >> $@ |
77 | endif |
80 | endif |
78 | ifeq ($(CONFIG_OPIE_NEW_ALLOC),y) |
81 | ifeq ($(CONFIG_OPIE_NEW_ALLOC),y) |
79 | echo DEFINES += OPIE_NEW_MALLOC >> $@ |
82 | echo DEFINES += OPIE_NEW_MALLOC >> $@ |
80 | endif |
83 | endif |
81 | ifeq ($(CONFIG_OPIE_NO_SOUND_PCM_READ_BITS),y) |
84 | ifeq ($(CONFIG_OPIE_NO_SOUND_PCM_READ_BITS),y) |
82 | echo DEFINES += OPIE_NO_SOUND_PCM_READ_BITS >> $@ |
85 | echo DEFINES += OPIE_NO_SOUND_PCM_READ_BITS >> $@ |
83 | endif |
86 | endif |
84 | echo DEFINES += OPIE_SOUND_FRAGMENT_SHIFT=$(CONFIG_OPIE_SOUND_FRAGMENT_SHIFT) >> $@ |
87 | echo DEFINES += OPIE_SOUND_FRAGMENT_SHIFT=$(CONFIG_OPIE_SOUND_FRAGMENT_SHIFT) >> $@ |
85 | ifeq ($(CONFIG_OPIE_WE_VERSION_OVERRIDE),y) |
88 | ifeq ($(CONFIG_OPIE_WE_VERSION_OVERRIDE),y) |
86 | echo DEFINES += OPIE_WE_VERSION=$(CONFIG_OPIE_WE_VERSION) >> $@ |
89 | echo DEFINES += OPIE_WE_VERSION=$(CONFIG_OPIE_WE_VERSION) >> $@ |
87 | endif |
90 | endif |
88 | ifeq ($(CONFIG_OPIE_TASKBAR_LOCK_KEY_STATE),y) |
91 | ifeq ($(CONFIG_OPIE_TASKBAR_LOCK_KEY_STATE),y) |
89 | echo DEFINES += OPIE_TASKBAR_LOCK_KEY_STATE >> $@ |
92 | echo DEFINES += OPIE_TASKBAR_LOCK_KEY_STATE >> $@ |
90 | endif |
93 | endif |
91 | # Write LIB dirs and INC dirs... |
94 | # Write LIB dirs and INC dirs... |
92 | ifeq ($(CONFIG_LIBETPAN_DEP),y) |
95 | ifeq ($(CONFIG_LIBETPAN_DEP),y) |
93 | echo LIBETPAN_LIB_DIR = $(CONFIG_LIBETPAN_LIB_DIR) >> $@ |
96 | echo LIBETPAN_LIB_DIR = $(CONFIG_LIBETPAN_LIB_DIR) >> $@ |
94 | echo LIBETPAN_INC_DIR = $(CONFIG_LIBETPAN_INC_DIR) >> $@ |
97 | echo LIBETPAN_INC_DIR = $(CONFIG_LIBETPAN_INC_DIR) >> $@ |
95 | endif |
98 | endif |
96 | ifeq ($(CONFIG_LIBPCAP_DEP),y) |
99 | ifeq ($(CONFIG_LIBPCAP_DEP),y) |
97 | echo LIBPCAP_LIB_DIR = $(CONFIG_LIBPCAP_LIB_DIR) >> $@ |
100 | echo LIBPCAP_LIB_DIR = $(CONFIG_LIBPCAP_LIB_DIR) >> $@ |
98 | echo LIBPCAP_INC_DIR = $(CONFIG_LIBPCAP_INC_DIR) >> $@ |
101 | echo LIBPCAP_INC_DIR = $(CONFIG_LIBPCAP_INC_DIR) >> $@ |
99 | endif |
102 | endif |
100 | ifeq ($(CONFIG_LIBSQLITE_DEP),y) |
103 | ifeq ($(CONFIG_LIBSQLITE_DEP),y) |
101 | echo LIBSQLITE_LIB_DIR = $(CONFIG_LIBSQLITE_LIB_DIR) >> $@ |
104 | echo LIBSQLITE_LIB_DIR = $(CONFIG_LIBSQLITE_LIB_DIR) >> $@ |
102 | echo LIBSQLITE_INC_DIR = $(CONFIG_LIBSQLITE_INC_DIR) >> $@ |
105 | echo LIBSQLITE_INC_DIR = $(CONFIG_LIBSQLITE_INC_DIR) >> $@ |
103 | endif |
106 | endif |
104 | ifeq ($(CONFIG_LIBXINE_DEP),y) |
107 | ifeq ($(CONFIG_LIBXINE_DEP),y) |
105 | echo LIBXINE_LIB_DIR = $(CONFIG_LIBXINE_LIB_DIR) >> $@ |
108 | echo LIBXINE_LIB_DIR = $(CONFIG_LIBXINE_LIB_DIR) >> $@ |
106 | echo LIBXINE_INC_DIR = $(CONFIG_LIBXINE_INC_DIR) >> $@ |
109 | echo LIBXINE_INC_DIR = $(CONFIG_LIBXINE_INC_DIR) >> $@ |
107 | endif |
110 | endif |
108 | ifeq ($(CONFIG_LIBBLUEZ_DEP),y) |
111 | ifeq ($(CONFIG_LIBBLUEZ_DEP),y) |
109 | echo LIBBLUEZ_LIB_DIR = $(CONFIG_LIBBLUEZ_LIB_DIR) >> $@ |
112 | echo LIBBLUEZ_LIB_DIR = $(CONFIG_LIBBLUEZ_LIB_DIR) >> $@ |
110 | echo LIBBLUEZ_INC_DIR = $(CONFIG_LIBBLUEZ_INC_DIR) >> $@ |
113 | echo LIBBLUEZ_INC_DIR = $(CONFIG_LIBBLUEZ_INC_DIR) >> $@ |
|