author | zecke <zecke> | 2004-08-25 21:22:54 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-08-25 21:22:54 (UTC) |
commit | 834a1cfd0367f7c2ed6e250666624104c450d542 (patch) (unidiff) | |
tree | aee658da073a597919819878c25c812db9b7567e | |
parent | 7d89975c7fe8e67af4e201d7038640cfbfc515fb (diff) | |
download | opie-834a1cfd0367f7c2ed6e250666624104c450d542.zip opie-834a1cfd0367f7c2ed6e250666624104c450d542.tar.gz opie-834a1cfd0367f7c2ed6e250666624104c450d542.tar.bz2 |
-Make libqpe work without RoHFeedback
-Use only a define in library.pro and add source code
conditional.
-rw-r--r-- | Rules.make | 2 | ||||
-rw-r--r-- | library/library.pro | 6 |
2 files changed, 4 insertions, 4 deletions
@@ -45,25 +45,25 @@ else | |||
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) | 56 | ifeq ($(CONFIG_LIBQPE_WITHROHFEEDBACK),y) |
57 | echo DEFINES += OPIE_WITHROHFEEDBACK >> $@ | 57 | echo CONFIG += LIBQPE_WITHROHFEEDBACK >> $@ |
58 | endif | 58 | endif |
59 | ifeq ($(CONFIG_OPIE_NO_ERASERECT_FIX),y) | 59 | ifeq ($(CONFIG_OPIE_NO_ERASERECT_FIX),y) |
60 | echo DEFINES += OPIE_NO_ERASE_RECT_HACKFIX >> $@ | 60 | echo DEFINES += OPIE_NO_ERASE_RECT_HACKFIX >> $@ |
61 | endif | 61 | endif |
62 | ifeq ($(CONFIG_OPIE_NO_BUILTIN_SHUTDOWN),y) | 62 | ifeq ($(CONFIG_OPIE_NO_BUILTIN_SHUTDOWN),y) |
63 | echo DEFINES += OPIE_NO_BUILTIN_SHUTDOWN >> $@ | 63 | echo DEFINES += OPIE_NO_BUILTIN_SHUTDOWN >> $@ |
64 | endif | 64 | endif |
65 | ifeq ($(CONFIG_OPIE_NO_BUILTIN_CALIBRATE),y) | 65 | ifeq ($(CONFIG_OPIE_NO_BUILTIN_CALIBRATE),y) |
66 | echo DEFINES += OPIE_NO_BUILTIN_CALIBRATE >> $@ | 66 | echo DEFINES += OPIE_NO_BUILTIN_CALIBRATE >> $@ |
67 | endif | 67 | endif |
68 | ifeq ($(CONFIG_USE_REALTIME_AUDIO_THREAD),y) | 68 | ifeq ($(CONFIG_USE_REALTIME_AUDIO_THREAD),y) |
69 | echo DEFINES += USE_REALTIME_AUDIO_THREAD >> $@ | 69 | echo DEFINES += USE_REALTIME_AUDIO_THREAD >> $@ |
diff --git a/library/library.pro b/library/library.pro index af07fa3..1f68b74 100644 --- a/library/library.pro +++ b/library/library.pro | |||
@@ -38,25 +38,24 @@ HEADERS = calendar.h \ | |||
38 | storage.h \ | 38 | storage.h \ |
39 | qpemessagebox.h \ | 39 | qpemessagebox.h \ |
40 | timeconversion.h \ | 40 | timeconversion.h \ |
41 | qpedebug.h \ | 41 | qpedebug.h \ |
42 | qpemenubar.h \ | 42 | qpemenubar.h \ |
43 | qpetoolbar.h \ | 43 | qpetoolbar.h \ |
44 | backend/categories.h \ | 44 | backend/categories.h \ |
45 | stringutil.h \ | 45 | stringutil.h \ |
46 | backend/palmtoprecord.h \ | 46 | backend/palmtoprecord.h \ |
47 | backend/task.h \ | 47 | backend/task.h \ |
48 | backend/event.h \ | 48 | backend/event.h \ |
49 | backend/contact.h\ | 49 | backend/contact.h\ |
50 | backend/rohfeedback.h \ | ||
51 | categorymenu.h \ | 50 | categorymenu.h \ |
52 | categoryedit_p.h \ | 51 | categoryedit_p.h \ |
53 | categoryselect.h \ | 52 | categoryselect.h \ |
54 | categorywidget.h \ | 53 | categorywidget.h \ |
55 | ir.h \ | 54 | ir.h \ |
56 | backend/vobject_p.h \ | 55 | backend/vobject_p.h \ |
57 | findwidget_p.h \ | 56 | findwidget_p.h \ |
58 | finddialog.h \ | 57 | finddialog.h \ |
59 | lnkproperties.h \ | 58 | lnkproperties.h \ |
60 | windowdecorationinterface.h \ | 59 | windowdecorationinterface.h \ |
61 | textcodecinterface.h \ | 60 | textcodecinterface.h \ |
62 | imagecodecinterface.h \ | 61 | imagecodecinterface.h \ |
@@ -98,25 +97,24 @@ SOURCES = calendar.cpp \ | |||
98 | storage.cpp \ | 97 | storage.cpp \ |
99 | qpemessagebox.cpp \ | 98 | qpemessagebox.cpp \ |
100 | backend/timeconversion.cpp \ | 99 | backend/timeconversion.cpp \ |
101 | qpedebug.cpp \ | 100 | qpedebug.cpp \ |
102 | qpemenubar.cpp \ | 101 | qpemenubar.cpp \ |
103 | qpetoolbar.cpp \ | 102 | qpetoolbar.cpp \ |
104 | backend/categories.cpp \ | 103 | backend/categories.cpp \ |
105 | backend/stringutil.cpp \ | 104 | backend/stringutil.cpp \ |
106 | backend/palmtoprecord.cpp \ | 105 | backend/palmtoprecord.cpp \ |
107 | backend/task.cpp \ | 106 | backend/task.cpp \ |
108 | backend/event.cpp \ | 107 | backend/event.cpp \ |
109 | backend/contact.cpp \ | 108 | backend/contact.cpp \ |
110 | backend/rohfeedback.cpp \ | ||
111 | categorymenu.cpp \ | 109 | categorymenu.cpp \ |
112 | categoryedit_p.cpp \ | 110 | categoryedit_p.cpp \ |
113 | categoryselect.cpp \ | 111 | categoryselect.cpp \ |
114 | categorywidget.cpp \ | 112 | categorywidget.cpp \ |
115 | ir.cpp \ | 113 | ir.cpp \ |
116 | backend/vcc_yacc.cpp \ | 114 | backend/vcc_yacc.cpp \ |
117 | backend/vobject.cpp \ | 115 | backend/vobject.cpp \ |
118 | findwidget_p.cpp \ | 116 | findwidget_p.cpp \ |
119 | finddialog.cpp \ | 117 | finddialog.cpp \ |
120 | lnkproperties.cpp \ | 118 | lnkproperties.cpp \ |
121 | qt_override.cpp | 119 | qt_override.cpp |
122 | 120 | ||
@@ -130,14 +128,16 @@ LIBS += -ldl -lcrypt -lm | |||
130 | INTERFACES = passwordbase_p.ui categoryeditbase_p.ui findwidgetbase_p.ui lnkpropertiesbase_p.ui | 128 | INTERFACES = passwordbase_p.ui categoryeditbase_p.ui findwidgetbase_p.ui lnkpropertiesbase_p.ui |
131 | TARGET = qpe | 129 | TARGET = qpe |
132 | DESTDIR = $(OPIEDIR)/lib$(PROJMAK) | 130 | DESTDIR = $(OPIEDIR)/lib$(PROJMAK) |
133 | VERSION = 1.5.0.1 | 131 | VERSION = 1.5.0.1 |
134 | 132 | ||
135 | include ( $(OPIEDIR)/include.pro ) | 133 | include ( $(OPIEDIR)/include.pro ) |
136 | 134 | ||
137 | contains( CONFIG, no-override ){ | 135 | contains( CONFIG, no-override ){ |
138 | DEFINES += OPIE_NO_OVERRIDE_QT | 136 | DEFINES += OPIE_NO_OVERRIDE_QT |
139 | } | 137 | } |
140 | 138 | ||
141 | contains( CONFIG, LIBQPE_WITHROHFEEDBACK ){ | 139 | contains( CONFIG, LIBQPE_WITHROHFEEDBACK ){ |
142 | DEFINES += WITHROHFEEDBACK | 140 | DEFINES += OPIE_ROHFEEDBACK |
141 | SOURCES += backend/rohfeedback.cpp | ||
142 | HEADERS += backend/rohfeedback.h | ||
143 | } | 143 | } |