summaryrefslogtreecommitdiffabout
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--Makefile16
-rw-r--r--Makefile.Embedded16
-rw-r--r--libkdepim/ksyncmanager.cpp6
-rw-r--r--version2
4 files changed, 22 insertions, 18 deletions
diff --git a/Makefile b/Makefile
index 6a8521f..84f909e 100644
--- a/Makefile
+++ b/Makefile
@@ -133,206 +133,206 @@ build_gammu: variable_test tmake
133build_pwmanager: build_microkde 133build_pwmanager: build_microkde
134 ifdef BUILD_NO_PWMANAGER 134 ifdef BUILD_NO_PWMANAGER
135 @echo == pwmanager not build. 135 @echo == pwmanager not build.
136 else 136 else
137 for i in $(SUBDIRS_PWMANAGER); do pushd $$i; \ 137 for i in $(SUBDIRS_PWMANAGER); do pushd $$i; \
138 make -f Makefile$(PLATFORM) || exit 1; popd; \ 138 make -f Makefile$(PLATFORM) || exit 1; popd; \
139 done 139 done
140 endif 140 endif
141 141
142 142
143variable_info: 143variable_info:
144 @echo -------------------------------------- 144 @echo --------------------------------------
145 @echo KDEPIM buildsystem, variableinfo... 145 @echo KDEPIM buildsystem, variableinfo...
146 @echo KDEPIMDIR=$(KDEPIMDIR) 146 @echo KDEPIMDIR=$(KDEPIMDIR)
147 @echo QTDIR=$(QTDIR) 147 @echo QTDIR=$(QTDIR)
148 @echo QPEDIR=$(QPEDIR) 148 @echo QPEDIR=$(QPEDIR)
149 @echo OPIEDIR=$(OPIEDIR) 149 @echo OPIEDIR=$(OPIEDIR)
150 @echo PLATFORM=$(PLATFORM) 150 @echo PLATFORM=$(PLATFORM)
151 @echo RELEASE_DEBUG=$(RELEASE_DEBUG) 151 @echo RELEASE_DEBUG=$(RELEASE_DEBUG)
152 @echo BUILD_NO_MICROMAIL=$(BUILD_NO_MICROMAIL) 152 @echo BUILD_NO_MICROMAIL=$(BUILD_NO_MICROMAIL)
153 @echo BUILD_NO_LDAP_PLUGIN=$(BUILD_NO_LDAP_PLUGIN) 153 @echo BUILD_NO_LDAP_PLUGIN=$(BUILD_NO_LDAP_PLUGIN)
154 @echo BUILD_NO_OPIE_PLUGIN=$(BUILD_NO_OPIE_PLUGIN) 154 @echo BUILD_NO_OPIE_PLUGIN=$(BUILD_NO_OPIE_PLUGIN)
155 @echo BUILD_NO_QTOPIA_PLUGIN=$(BUILD_NO_QTOPIA_PLUGIN) 155 @echo BUILD_NO_QTOPIA_PLUGIN=$(BUILD_NO_QTOPIA_PLUGIN)
156 @echo BUILD_NO_SHARP_PLUGIN=$(BUILD_NO_SHARP_PLUGIN) 156 @echo BUILD_NO_SHARP_PLUGIN=$(BUILD_NO_SHARP_PLUGIN)
157 ifndef BUILD_NO_SHARP_PLUGIN 157 ifndef BUILD_NO_SHARP_PLUGIN
158 @echo SHARPDTMSDK=$(SHARPDTMSDK) 158 @echo SHARPDTMSDK=$(SHARPDTMSDK)
159 endif 159 endif
160 @echo BUILD_NO_GAMMU=$(BUILD_NO_GAMMU) 160 @echo BUILD_NO_GAMMU=$(BUILD_NO_GAMMU)
161 @echo BUILD_NO_PWMANAGER=$(BUILD_NO_PWMANAGER) 161 @echo BUILD_NO_PWMANAGER=$(BUILD_NO_PWMANAGER)
162 @echo -------------------------------------- 162 @echo --------------------------------------
163 163
164variable_test: variable_info 164variable_test: variable_info
165 @echo KDEPIM buildsystem, variablecheck... 165 @echo KDEPIM buildsystem, variablecheck...
166 ifndef KDEPIMDIR 166 ifndef KDEPIMDIR
167 @echo KDEPIMDIR is not defined. 167 @echo KDEPIMDIR is not defined.
168 $(error KDEPIMDIR is not defined) 168 $(error KDEPIMDIR is not defined)
169 endif 169 endif
170 ifndef PLATFORM 170 ifndef PLATFORM
171 @echo PLATFORM is not defined. 171 @echo PLATFORM is not defined.
172 $(error PLATFORM is not defined) 172 $(error PLATFORM is not defined)
173 endif 173 endif
174 ifdef BUILD_NO_LDAP_PLUGIN 174 ifdef BUILD_NO_LDAP_PLUGIN
175 @echo LDAP PLUGIN will not be build, because BUILD_NO_LDAP_PLUGIN is set to $(BUILD_NO_LDAP_PLUGIN) 175 @echo LDAP PLUGIN will not be build, because BUILD_NO_LDAP_PLUGIN is set to $(BUILD_NO_LDAP_PLUGIN)
176 endif 176 endif
177 ifdef BUILD_NO_OPIE_PLUGIN 177 ifdef BUILD_NO_OPIE_PLUGIN
178 @echo OPIE PLUGIN will not be build, because BUILD_NO_OPIE_PLUGIN is set to $(BUILD_NO_OPIE_PLUGIN) 178 @echo OPIE PLUGIN will not be build, because BUILD_NO_OPIE_PLUGIN is set to $(BUILD_NO_OPIE_PLUGIN)
179 endif 179 endif
180 ifdef BUILD_NO_QTOPIA_PLUGIN 180 ifdef BUILD_NO_QTOPIA_PLUGIN
181 @echo QTOPIA PLUGIN will not be build, because BUILD_NO__QTOPIA_PLUGIN is set to $(BUILD_NO__QTOPIA_PLUGIN) 181 @echo QTOPIA PLUGIN will not be build, because BUILD_NO__QTOPIA_PLUGIN is set to $(BUILD_NO__QTOPIA_PLUGIN)
182 endif 182 endif
183 ifdef BUILD_NO_MICROMAIL 183 ifdef BUILD_NO_MICROMAIL
184 @echo MICROMAIL will not be build, because BUILD_NO_MICROMAIL is set to $(BUILD_NO_MICROMAIL) 184 @echo MICROMAIL will not be build, because BUILD_NO_MICROMAIL is set to $(BUILD_NO_MICROMAIL)
185 endif 185 endif
186 ifdef BUILD_NO_SHARP_PLUGIN 186 ifdef BUILD_NO_SHARP_PLUGIN
187 @echo SHARP PLUGIN will not be build, because BUILD_NO_SHARP_PLUGIN is set to $(BUILD_NO_SHARP_PLUGIN) 187 @echo SHARP PLUGIN will not be build, because BUILD_NO_SHARP_PLUGIN is set to $(BUILD_NO_SHARP_PLUGIN)
188 else 188 else
189 ifndef SHARPDTMSDK 189 ifndef SHARPDTMSDK
190 @echo SHARP PLUGIN can not be build, because SHARPDTMSDK is set to $(SHARPDTMSDK) 190 @echo SHARP PLUGIN can not be build, because SHARPDTMSDK is set to $(SHARPDTMSDK)
191 $(error SHARPDTMSDK is not defined) 191 $(error SHARPDTMSDK is not defined)
192 endif 192 endif
193 endif 193 endif
194 ifdef BUILD_NO_GAMMU 194 ifdef BUILD_NO_GAMMU
195 @echo GAMMU will not be build, because BUILD_NO_GAMMU is set to $(BUILD_NO_GAMMU) 195 @echo GAMMU will not be build, because BUILD_NO_GAMMU is set to $(BUILD_NO_GAMMU)
196 endif 196 endif
197 ifdef BUILD_NO_PWMANAGER 197 ifdef BUILD_NO_PWMANAGER
198 @echo PWMANAGER will not be build, because BUILD_NO_PWMANAGER is set to $(BUILD_NO_PWMANAGER) 198 @echo PWMANAGER will not be build, because BUILD_NO_PWMANAGER is set to $(BUILD_NO_PWMANAGER)
199 endif 199 endif
200 @echo -------------------------------------- 200 @echo --------------------------------------
201 201
202 202
203objects: 203objects:
204 for i in $(SUBDIRS); do mkdir -p $$i/obj/$(PLATFORM); done 204 for i in $(SUBDIRS); do mkdir -p $$i/obj/$(PLATFORM); done
205 for i in $(SUBDIRS); do mkdir -p $$i/moc/$(PLATFORM); done 205 for i in $(SUBDIRS); do mkdir -p $$i/moc/$(PLATFORM); done
206 mkdir -p libical/lib/$(PLATFORM) 206 mkdir -p libical/lib/$(PLATFORM)
207 207
208clean: 208clean:
209 rm -rf libical/lib/$(PLATFORM)/*; 209 rm -rf libical/lib/$(PLATFORM)/*;
210 for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\ 210 for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\
211 rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \ 211 rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \
212 done 212 done
213 213
214install: 214install:
215 215
216 cd bin/kdepim; make install 216 cd bin/kdepim; make install
217 cp -r Pim $(QPEDIR)/apps 217 cp -r Pim $(QPEDIR)/apps
218 cp db2file/db2file $(QPEDIR)/bin/db2file 218 cp db2file/db2file $(QPEDIR)/bin/db2file
219 cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop 219 cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop
220 cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop 220 cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop
221 cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kopiemail.desktop 221 cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kopiemail.desktop
222 cp pwmanager/pwmanager/pwmanager.desktop $(QPEDIR)/apps/Pim/pwmanager.desktop 222 cp pwmanager/pwmanager/pwmanager.desktop $(QPEDIR)/apps/Pim/pwmanager.desktop
223 223
224dist: 224dist:
225 @echo Dont forget to do "make install" before "make dist" 225 @echo Dont forget to do "make install" before "make dist"
226 rm -f *arm.ipk 226 rm -f *arm.ipk
227 rm -f *~ 227 rm -f *~
228 cd ..; tar czf kdepim.src.tar.gz --exclude=obj --exclude=moc --exclude=CVS --exclude=Makefilezaurus --exclude=Makefileqtopia kdepim 228 cd ..; tar czf kdepim.src.tar.gz --exclude=obj --exclude=moc --exclude=CVS --exclude=Makefilezaurus --exclude=Makefileqtopia kdepim
229 ./mkipks kmicrokdelibs.control 229 mkipks kmicrokdelibs.control
230 ./mkipks korganizer.control 230 mkipks korganizer.control
231 ./mkipks kaddressbook.control 231 mkipks kaddressbook.control
232 ifndef BUILD_NO_MICROMAIL 232 ifndef BUILD_NO_MICROMAIL
233 ./mkipks kopiemail.control 233 mkipks kopiemail.control
234 endif 234 endif
235 ./mkipks korganizer-alarm.control 235 mkipks korganizer-alarm.control
236 ifndef BUILD_NO_GAMMU 236 ifndef BUILD_NO_GAMMU
237 ./mkipks phoneaccess.control 237 mkipks phoneaccess.control
238 endif 238 endif
239 ifndef BUILD_NO_PWMANAGER 239 ifndef BUILD_NO_PWMANAGER
240 ./mkipks pwmanager.control 240 mkipks pwmanager.control
241 endif 241 endif
242 ./mkipks pim_TAB_icon.control 242 mkipks pim_TAB_icon.control
243 243
244tmake: objects \ 244tmake: objects \
245 qtcompat/Makefile$(PLATFORM) \ 245 qtcompat/Makefile$(PLATFORM) \
246 microkde/Makefile$(PLATFORM) \ 246 microkde/Makefile$(PLATFORM) \
247 libkcal/Makefile$(PLATFORM) \ 247 libkcal/Makefile$(PLATFORM) \
248 libkdepim/Makefile$(PLATFORM) \ 248 libkdepim/Makefile$(PLATFORM) \
249 korganizer/Makefile$(PLATFORM) \ 249 korganizer/Makefile$(PLATFORM) \
250 kalarmd/Makefile$(PLATFORM) \ 250 kalarmd/Makefile$(PLATFORM) \
251 libical/src/libical/Makefile$(PLATFORM) \ 251 libical/src/libical/Makefile$(PLATFORM) \
252 libical/src/libicalss/Makefile$(PLATFORM) \ 252 libical/src/libicalss/Makefile$(PLATFORM) \
253 kabc/Makefile$(PLATFORM) \ 253 kabc/Makefile$(PLATFORM) \
254 kabc/formats/binary/Makefile$(PLATFORM) \ 254 kabc/formats/binary/Makefile$(PLATFORM) \
255 kabc/plugins/file/Makefile$(PLATFORM) \ 255 kabc/plugins/file/Makefile$(PLATFORM) \
256 kabc/plugins/dir/Makefile$(PLATFORM) \ 256 kabc/plugins/dir/Makefile$(PLATFORM) \
257 kabc/plugins/ldap/Makefile$(PLATFORM) \ 257 kabc/plugins/ldap/Makefile$(PLATFORM) \
258 kabc/plugins/opie/Makefile$(PLATFORM) \ 258 kabc/plugins/opie/Makefile$(PLATFORM) \
259 kabc/plugins/qtopia/Makefile$(PLATFORM) \ 259 kabc/plugins/qtopia/Makefile$(PLATFORM) \
260 kabc/plugins/sharpdtm/Makefile$(PLATFORM) \ 260 kabc/plugins/sharpdtm/Makefile$(PLATFORM) \
261 kaddressbook/Makefile$(PLATFORM) \ 261 kaddressbook/Makefile$(PLATFORM) \
262 kmicromail/Makefile$(PLATFORM) \ 262 kmicromail/Makefile$(PLATFORM) \
263 kmicromail/libetpan/Makefile$(PLATFORM) \ 263 kmicromail/libetpan/Makefile$(PLATFORM) \
264 kmicromail/libmailwrapper/Makefile$(PLATFORM) \ 264 kmicromail/libmailwrapper/Makefile$(PLATFORM) \
265 gammu/emb/common/Makefile$(PLATFORM) \ 265 gammu/emb/common/Makefile$(PLATFORM) \
266 gammu/emb/gammu/Makefile$(PLATFORM) \ 266 gammu/emb/gammu/Makefile$(PLATFORM) \
267 pwmanager/pwmanager/Makefile$(PLATFORM) \ 267 pwmanager/pwmanager/Makefile$(PLATFORM) \
268 268
269qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro 269qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro
270 cd qtcompat; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" qtcompat.pro -o Makefile$(PLATFORM) 270 cd qtcompat; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" qtcompat.pro -o Makefile$(PLATFORM)
271 271
272microkde/Makefile$(PLATFORM): microkde/microkdeE.pro 272microkde/Makefile$(PLATFORM): microkde/microkdeE.pro
273 cd microkde; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" microkdeE.pro -o Makefile$(PLATFORM) 273 cd microkde; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" microkdeE.pro -o Makefile$(PLATFORM)
274 274
275libkcal/Makefile$(PLATFORM): libkcal/libkcalE.pro 275libkcal/Makefile$(PLATFORM): libkcal/libkcalE.pro
276 cd libkcal; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libkcalE.pro -o Makefile$(PLATFORM) 276 cd libkcal; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libkcalE.pro -o Makefile$(PLATFORM)
277 277
278 278
279libkdepim/Makefile$(PLATFORM): libkdepim/libkdepimE.pro 279libkdepim/Makefile$(PLATFORM): libkdepim/libkdepimE.pro
280 cd libkdepim; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libkdepimE.pro -o Makefile$(PLATFORM) 280 cd libkdepim; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libkdepimE.pro -o Makefile$(PLATFORM)
281 281
282kalarmd/Makefile$(PLATFORM): kalarmd/kalarmdE.pro 282kalarmd/Makefile$(PLATFORM): kalarmd/kalarmdE.pro
283 cd kalarmd; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kalarmdE.pro -o Makefile$(PLATFORM) 283 cd kalarmd; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kalarmdE.pro -o Makefile$(PLATFORM)
284 284
285korganizer/Makefile$(PLATFORM): korganizer/korganizerE.pro 285korganizer/Makefile$(PLATFORM): korganizer/korganizerE.pro
286 cd korganizer; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" korganizerE.pro -o Makefile$(PLATFORM) 286 cd korganizer; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" korganizerE.pro -o Makefile$(PLATFORM)
287 287
288libical/src/libical/Makefile$(PLATFORM): libical/src/libical/libicalE.pro 288libical/src/libical/Makefile$(PLATFORM): libical/src/libical/libicalE.pro
289 cd libical/src/libical; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libicalE.pro -o Makefile$(PLATFORM) 289 cd libical/src/libical; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libicalE.pro -o Makefile$(PLATFORM)
290 290
291libical/src/libicalss/Makefile$(PLATFORM): libical/src/libicalss/libicalssE.pro 291libical/src/libicalss/Makefile$(PLATFORM): libical/src/libicalss/libicalssE.pro
292 cd libical/src/libicalss; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libicalssE.pro -o Makefile$(PLATFORM) 292 cd libical/src/libicalss; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libicalssE.pro -o Makefile$(PLATFORM)
293 293
294kabc/Makefile$(PLATFORM): kabc/kabcE.pro 294kabc/Makefile$(PLATFORM): kabc/kabcE.pro
295 cd kabc; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kabcE.pro -o Makefile$(PLATFORM) 295 cd kabc; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kabcE.pro -o Makefile$(PLATFORM)
296 296
297kabc/formats/binary/Makefile$(PLATFORM): kabc/formats/binary/kabcformat_binaryE.pro 297kabc/formats/binary/Makefile$(PLATFORM): kabc/formats/binary/kabcformat_binaryE.pro
298 cd kabc/formats/binary; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kabcformat_binaryE.pro -o Makefile$(PLATFORM) 298 cd kabc/formats/binary; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kabcformat_binaryE.pro -o Makefile$(PLATFORM)
299 299
300kabc/plugins/file/Makefile$(PLATFORM): kabc/plugins/file/fileE.pro 300kabc/plugins/file/Makefile$(PLATFORM): kabc/plugins/file/fileE.pro
301 cd kabc/plugins/file; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" fileE.pro -o Makefile$(PLATFORM) 301 cd kabc/plugins/file; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" fileE.pro -o Makefile$(PLATFORM)
302 302
303kabc/plugins/dir/Makefile$(PLATFORM): kabc/plugins/dir/dirE.pro 303kabc/plugins/dir/Makefile$(PLATFORM): kabc/plugins/dir/dirE.pro
304 cd kabc/plugins/dir; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" dirE.pro -o Makefile$(PLATFORM) 304 cd kabc/plugins/dir; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" dirE.pro -o Makefile$(PLATFORM)
305 305
306kabc/plugins/ldap/Makefile$(PLATFORM): kabc/plugins/ldap/ldapE.pro 306kabc/plugins/ldap/Makefile$(PLATFORM): kabc/plugins/ldap/ldapE.pro
307 cd kabc/plugins/ldap; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" ldapE.pro -o Makefile$(PLATFORM) 307 cd kabc/plugins/ldap; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" ldapE.pro -o Makefile$(PLATFORM)
308 308
309kabc/plugins/opie/Makefile$(PLATFORM): kabc/plugins/opie/opieE.pro 309kabc/plugins/opie/Makefile$(PLATFORM): kabc/plugins/opie/opieE.pro
310 cd kabc/plugins/opie; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" opieE.pro -o Makefile$(PLATFORM) 310 cd kabc/plugins/opie; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" opieE.pro -o Makefile$(PLATFORM)
311 311
312kabc/plugins/qtopia/Makefile$(PLATFORM): kabc/plugins/qtopia/qtopiaE.pro 312kabc/plugins/qtopia/Makefile$(PLATFORM): kabc/plugins/qtopia/qtopiaE.pro
313 cd kabc/plugins/qtopia; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" qtopiaE.pro -o Makefile$(PLATFORM) 313 cd kabc/plugins/qtopia; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" qtopiaE.pro -o Makefile$(PLATFORM)
314 314
315kabc/plugins/sharpdtm/Makefile$(PLATFORM): kabc/plugins/sharpdtm/sharpdtmE.pro 315kabc/plugins/sharpdtm/Makefile$(PLATFORM): kabc/plugins/sharpdtm/sharpdtmE.pro
316 cd kabc/plugins/sharpdtm; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" sharpdtmE.pro -o Makefile$(PLATFORM) 316 cd kabc/plugins/sharpdtm; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" sharpdtmE.pro -o Makefile$(PLATFORM)
317 317
318kaddressbook/Makefile$(PLATFORM): kaddressbook/kaddressbookE.pro 318kaddressbook/Makefile$(PLATFORM): kaddressbook/kaddressbookE.pro
319 cd kaddressbook; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kaddressbookE.pro -o Makefile$(PLATFORM) 319 cd kaddressbook; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kaddressbookE.pro -o Makefile$(PLATFORM)
320 320
321kmicromail/Makefile$(PLATFORM): kmicromail/kmicromailE.pro 321kmicromail/Makefile$(PLATFORM): kmicromail/kmicromailE.pro
322 cd kmicromail; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kmicromailE.pro -o Makefile$(PLATFORM) 322 cd kmicromail; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kmicromailE.pro -o Makefile$(PLATFORM)
323 323
324kmicromail/libetpan/Makefile$(PLATFORM): kmicromail/libetpan/libetpanE.pro 324kmicromail/libetpan/Makefile$(PLATFORM): kmicromail/libetpan/libetpanE.pro
325 cd kmicromail/libetpan; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libetpanE.pro -o Makefile$(PLATFORM) 325 cd kmicromail/libetpan; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libetpanE.pro -o Makefile$(PLATFORM)
326 326
327kmicromail/libmailwrapper/Makefile$(PLATFORM): kmicromail/libmailwrapper/libmailwrapperE.pro 327kmicromail/libmailwrapper/Makefile$(PLATFORM): kmicromail/libmailwrapper/libmailwrapperE.pro
328 cd kmicromail/libmailwrapper; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libmailwrapperE.pro -o Makefile$(PLATFORM) 328 cd kmicromail/libmailwrapper; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libmailwrapperE.pro -o Makefile$(PLATFORM)
329 329
330gammu/emb/common/Makefile$(PLATFORM): gammu/emb/common/commonE.pro 330gammu/emb/common/Makefile$(PLATFORM): gammu/emb/common/commonE.pro
331 cd gammu/emb/common; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" commonE.pro -o Makefile$(PLATFORM) 331 cd gammu/emb/common; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" commonE.pro -o Makefile$(PLATFORM)
332 332
333gammu/emb/gammu/Makefile$(PLATFORM): gammu/emb/gammu/gammuE.pro 333gammu/emb/gammu/Makefile$(PLATFORM): gammu/emb/gammu/gammuE.pro
334 cd gammu/emb/gammu; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" gammuE.pro -o Makefile$(PLATFORM) 334 cd gammu/emb/gammu; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" gammuE.pro -o Makefile$(PLATFORM)
335 335
336pwmanager/pwmanager/Makefile$(PLATFORM): pwmanager/pwmanager/pwmanagerE.pro 336pwmanager/pwmanager/Makefile$(PLATFORM): pwmanager/pwmanager/pwmanagerE.pro
337 cd pwmanager/pwmanager; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" pwmanagerE.pro -o Makefile$(PLATFORM) 337 cd pwmanager/pwmanager; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" pwmanagerE.pro -o Makefile$(PLATFORM)
338 338
diff --git a/Makefile.Embedded b/Makefile.Embedded
index 6a8521f..84f909e 100644
--- a/Makefile.Embedded
+++ b/Makefile.Embedded
@@ -133,206 +133,206 @@ build_gammu: variable_test tmake
133build_pwmanager: build_microkde 133build_pwmanager: build_microkde
134 ifdef BUILD_NO_PWMANAGER 134 ifdef BUILD_NO_PWMANAGER
135 @echo == pwmanager not build. 135 @echo == pwmanager not build.
136 else 136 else
137 for i in $(SUBDIRS_PWMANAGER); do pushd $$i; \ 137 for i in $(SUBDIRS_PWMANAGER); do pushd $$i; \
138 make -f Makefile$(PLATFORM) || exit 1; popd; \ 138 make -f Makefile$(PLATFORM) || exit 1; popd; \
139 done 139 done
140 endif 140 endif
141 141
142 142
143variable_info: 143variable_info:
144 @echo -------------------------------------- 144 @echo --------------------------------------
145 @echo KDEPIM buildsystem, variableinfo... 145 @echo KDEPIM buildsystem, variableinfo...
146 @echo KDEPIMDIR=$(KDEPIMDIR) 146 @echo KDEPIMDIR=$(KDEPIMDIR)
147 @echo QTDIR=$(QTDIR) 147 @echo QTDIR=$(QTDIR)
148 @echo QPEDIR=$(QPEDIR) 148 @echo QPEDIR=$(QPEDIR)
149 @echo OPIEDIR=$(OPIEDIR) 149 @echo OPIEDIR=$(OPIEDIR)
150 @echo PLATFORM=$(PLATFORM) 150 @echo PLATFORM=$(PLATFORM)
151 @echo RELEASE_DEBUG=$(RELEASE_DEBUG) 151 @echo RELEASE_DEBUG=$(RELEASE_DEBUG)
152 @echo BUILD_NO_MICROMAIL=$(BUILD_NO_MICROMAIL) 152 @echo BUILD_NO_MICROMAIL=$(BUILD_NO_MICROMAIL)
153 @echo BUILD_NO_LDAP_PLUGIN=$(BUILD_NO_LDAP_PLUGIN) 153 @echo BUILD_NO_LDAP_PLUGIN=$(BUILD_NO_LDAP_PLUGIN)
154 @echo BUILD_NO_OPIE_PLUGIN=$(BUILD_NO_OPIE_PLUGIN) 154 @echo BUILD_NO_OPIE_PLUGIN=$(BUILD_NO_OPIE_PLUGIN)
155 @echo BUILD_NO_QTOPIA_PLUGIN=$(BUILD_NO_QTOPIA_PLUGIN) 155 @echo BUILD_NO_QTOPIA_PLUGIN=$(BUILD_NO_QTOPIA_PLUGIN)
156 @echo BUILD_NO_SHARP_PLUGIN=$(BUILD_NO_SHARP_PLUGIN) 156 @echo BUILD_NO_SHARP_PLUGIN=$(BUILD_NO_SHARP_PLUGIN)
157 ifndef BUILD_NO_SHARP_PLUGIN 157 ifndef BUILD_NO_SHARP_PLUGIN
158 @echo SHARPDTMSDK=$(SHARPDTMSDK) 158 @echo SHARPDTMSDK=$(SHARPDTMSDK)
159 endif 159 endif
160 @echo BUILD_NO_GAMMU=$(BUILD_NO_GAMMU) 160 @echo BUILD_NO_GAMMU=$(BUILD_NO_GAMMU)
161 @echo BUILD_NO_PWMANAGER=$(BUILD_NO_PWMANAGER) 161 @echo BUILD_NO_PWMANAGER=$(BUILD_NO_PWMANAGER)
162 @echo -------------------------------------- 162 @echo --------------------------------------
163 163
164variable_test: variable_info 164variable_test: variable_info
165 @echo KDEPIM buildsystem, variablecheck... 165 @echo KDEPIM buildsystem, variablecheck...
166 ifndef KDEPIMDIR 166 ifndef KDEPIMDIR
167 @echo KDEPIMDIR is not defined. 167 @echo KDEPIMDIR is not defined.
168 $(error KDEPIMDIR is not defined) 168 $(error KDEPIMDIR is not defined)
169 endif 169 endif
170 ifndef PLATFORM 170 ifndef PLATFORM
171 @echo PLATFORM is not defined. 171 @echo PLATFORM is not defined.
172 $(error PLATFORM is not defined) 172 $(error PLATFORM is not defined)
173 endif 173 endif
174 ifdef BUILD_NO_LDAP_PLUGIN 174 ifdef BUILD_NO_LDAP_PLUGIN
175 @echo LDAP PLUGIN will not be build, because BUILD_NO_LDAP_PLUGIN is set to $(BUILD_NO_LDAP_PLUGIN) 175 @echo LDAP PLUGIN will not be build, because BUILD_NO_LDAP_PLUGIN is set to $(BUILD_NO_LDAP_PLUGIN)
176 endif 176 endif
177 ifdef BUILD_NO_OPIE_PLUGIN 177 ifdef BUILD_NO_OPIE_PLUGIN
178 @echo OPIE PLUGIN will not be build, because BUILD_NO_OPIE_PLUGIN is set to $(BUILD_NO_OPIE_PLUGIN) 178 @echo OPIE PLUGIN will not be build, because BUILD_NO_OPIE_PLUGIN is set to $(BUILD_NO_OPIE_PLUGIN)
179 endif 179 endif
180 ifdef BUILD_NO_QTOPIA_PLUGIN 180 ifdef BUILD_NO_QTOPIA_PLUGIN
181 @echo QTOPIA PLUGIN will not be build, because BUILD_NO__QTOPIA_PLUGIN is set to $(BUILD_NO__QTOPIA_PLUGIN) 181 @echo QTOPIA PLUGIN will not be build, because BUILD_NO__QTOPIA_PLUGIN is set to $(BUILD_NO__QTOPIA_PLUGIN)
182 endif 182 endif
183 ifdef BUILD_NO_MICROMAIL 183 ifdef BUILD_NO_MICROMAIL
184 @echo MICROMAIL will not be build, because BUILD_NO_MICROMAIL is set to $(BUILD_NO_MICROMAIL) 184 @echo MICROMAIL will not be build, because BUILD_NO_MICROMAIL is set to $(BUILD_NO_MICROMAIL)
185 endif 185 endif
186 ifdef BUILD_NO_SHARP_PLUGIN 186 ifdef BUILD_NO_SHARP_PLUGIN
187 @echo SHARP PLUGIN will not be build, because BUILD_NO_SHARP_PLUGIN is set to $(BUILD_NO_SHARP_PLUGIN) 187 @echo SHARP PLUGIN will not be build, because BUILD_NO_SHARP_PLUGIN is set to $(BUILD_NO_SHARP_PLUGIN)
188 else 188 else
189 ifndef SHARPDTMSDK 189 ifndef SHARPDTMSDK
190 @echo SHARP PLUGIN can not be build, because SHARPDTMSDK is set to $(SHARPDTMSDK) 190 @echo SHARP PLUGIN can not be build, because SHARPDTMSDK is set to $(SHARPDTMSDK)
191 $(error SHARPDTMSDK is not defined) 191 $(error SHARPDTMSDK is not defined)
192 endif 192 endif
193 endif 193 endif
194 ifdef BUILD_NO_GAMMU 194 ifdef BUILD_NO_GAMMU
195 @echo GAMMU will not be build, because BUILD_NO_GAMMU is set to $(BUILD_NO_GAMMU) 195 @echo GAMMU will not be build, because BUILD_NO_GAMMU is set to $(BUILD_NO_GAMMU)
196 endif 196 endif
197 ifdef BUILD_NO_PWMANAGER 197 ifdef BUILD_NO_PWMANAGER
198 @echo PWMANAGER will not be build, because BUILD_NO_PWMANAGER is set to $(BUILD_NO_PWMANAGER) 198 @echo PWMANAGER will not be build, because BUILD_NO_PWMANAGER is set to $(BUILD_NO_PWMANAGER)
199 endif 199 endif
200 @echo -------------------------------------- 200 @echo --------------------------------------
201 201
202 202
203objects: 203objects:
204 for i in $(SUBDIRS); do mkdir -p $$i/obj/$(PLATFORM); done 204 for i in $(SUBDIRS); do mkdir -p $$i/obj/$(PLATFORM); done
205 for i in $(SUBDIRS); do mkdir -p $$i/moc/$(PLATFORM); done 205 for i in $(SUBDIRS); do mkdir -p $$i/moc/$(PLATFORM); done
206 mkdir -p libical/lib/$(PLATFORM) 206 mkdir -p libical/lib/$(PLATFORM)
207 207
208clean: 208clean:
209 rm -rf libical/lib/$(PLATFORM)/*; 209 rm -rf libical/lib/$(PLATFORM)/*;
210 for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\ 210 for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\
211 rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \ 211 rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \
212 done 212 done
213 213
214install: 214install:
215 215
216 cd bin/kdepim; make install 216 cd bin/kdepim; make install
217 cp -r Pim $(QPEDIR)/apps 217 cp -r Pim $(QPEDIR)/apps
218 cp db2file/db2file $(QPEDIR)/bin/db2file 218 cp db2file/db2file $(QPEDIR)/bin/db2file
219 cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop 219 cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop
220 cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop 220 cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop
221 cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kopiemail.desktop 221 cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kopiemail.desktop
222 cp pwmanager/pwmanager/pwmanager.desktop $(QPEDIR)/apps/Pim/pwmanager.desktop 222 cp pwmanager/pwmanager/pwmanager.desktop $(QPEDIR)/apps/Pim/pwmanager.desktop
223 223
224dist: 224dist:
225 @echo Dont forget to do "make install" before "make dist" 225 @echo Dont forget to do "make install" before "make dist"
226 rm -f *arm.ipk 226 rm -f *arm.ipk
227 rm -f *~ 227 rm -f *~
228 cd ..; tar czf kdepim.src.tar.gz --exclude=obj --exclude=moc --exclude=CVS --exclude=Makefilezaurus --exclude=Makefileqtopia kdepim 228 cd ..; tar czf kdepim.src.tar.gz --exclude=obj --exclude=moc --exclude=CVS --exclude=Makefilezaurus --exclude=Makefileqtopia kdepim
229 ./mkipks kmicrokdelibs.control 229 mkipks kmicrokdelibs.control
230 ./mkipks korganizer.control 230 mkipks korganizer.control
231 ./mkipks kaddressbook.control 231 mkipks kaddressbook.control
232 ifndef BUILD_NO_MICROMAIL 232 ifndef BUILD_NO_MICROMAIL
233 ./mkipks kopiemail.control 233 mkipks kopiemail.control
234 endif 234 endif
235 ./mkipks korganizer-alarm.control 235 mkipks korganizer-alarm.control
236 ifndef BUILD_NO_GAMMU 236 ifndef BUILD_NO_GAMMU
237 ./mkipks phoneaccess.control 237 mkipks phoneaccess.control
238 endif 238 endif
239 ifndef BUILD_NO_PWMANAGER 239 ifndef BUILD_NO_PWMANAGER
240 ./mkipks pwmanager.control 240 mkipks pwmanager.control
241 endif 241 endif
242 ./mkipks pim_TAB_icon.control 242 mkipks pim_TAB_icon.control
243 243
244tmake: objects \ 244tmake: objects \
245 qtcompat/Makefile$(PLATFORM) \ 245 qtcompat/Makefile$(PLATFORM) \
246 microkde/Makefile$(PLATFORM) \ 246 microkde/Makefile$(PLATFORM) \
247 libkcal/Makefile$(PLATFORM) \ 247 libkcal/Makefile$(PLATFORM) \
248 libkdepim/Makefile$(PLATFORM) \ 248 libkdepim/Makefile$(PLATFORM) \
249 korganizer/Makefile$(PLATFORM) \ 249 korganizer/Makefile$(PLATFORM) \
250 kalarmd/Makefile$(PLATFORM) \ 250 kalarmd/Makefile$(PLATFORM) \
251 libical/src/libical/Makefile$(PLATFORM) \ 251 libical/src/libical/Makefile$(PLATFORM) \
252 libical/src/libicalss/Makefile$(PLATFORM) \ 252 libical/src/libicalss/Makefile$(PLATFORM) \
253 kabc/Makefile$(PLATFORM) \ 253 kabc/Makefile$(PLATFORM) \
254 kabc/formats/binary/Makefile$(PLATFORM) \ 254 kabc/formats/binary/Makefile$(PLATFORM) \
255 kabc/plugins/file/Makefile$(PLATFORM) \ 255 kabc/plugins/file/Makefile$(PLATFORM) \
256 kabc/plugins/dir/Makefile$(PLATFORM) \ 256 kabc/plugins/dir/Makefile$(PLATFORM) \
257 kabc/plugins/ldap/Makefile$(PLATFORM) \ 257 kabc/plugins/ldap/Makefile$(PLATFORM) \
258 kabc/plugins/opie/Makefile$(PLATFORM) \ 258 kabc/plugins/opie/Makefile$(PLATFORM) \
259 kabc/plugins/qtopia/Makefile$(PLATFORM) \ 259 kabc/plugins/qtopia/Makefile$(PLATFORM) \
260 kabc/plugins/sharpdtm/Makefile$(PLATFORM) \ 260 kabc/plugins/sharpdtm/Makefile$(PLATFORM) \
261 kaddressbook/Makefile$(PLATFORM) \ 261 kaddressbook/Makefile$(PLATFORM) \
262 kmicromail/Makefile$(PLATFORM) \ 262 kmicromail/Makefile$(PLATFORM) \
263 kmicromail/libetpan/Makefile$(PLATFORM) \ 263 kmicromail/libetpan/Makefile$(PLATFORM) \
264 kmicromail/libmailwrapper/Makefile$(PLATFORM) \ 264 kmicromail/libmailwrapper/Makefile$(PLATFORM) \
265 gammu/emb/common/Makefile$(PLATFORM) \ 265 gammu/emb/common/Makefile$(PLATFORM) \
266 gammu/emb/gammu/Makefile$(PLATFORM) \ 266 gammu/emb/gammu/Makefile$(PLATFORM) \
267 pwmanager/pwmanager/Makefile$(PLATFORM) \ 267 pwmanager/pwmanager/Makefile$(PLATFORM) \
268 268
269qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro 269qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro
270 cd qtcompat; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" qtcompat.pro -o Makefile$(PLATFORM) 270 cd qtcompat; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" qtcompat.pro -o Makefile$(PLATFORM)
271 271
272microkde/Makefile$(PLATFORM): microkde/microkdeE.pro 272microkde/Makefile$(PLATFORM): microkde/microkdeE.pro
273 cd microkde; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" microkdeE.pro -o Makefile$(PLATFORM) 273 cd microkde; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" microkdeE.pro -o Makefile$(PLATFORM)
274 274
275libkcal/Makefile$(PLATFORM): libkcal/libkcalE.pro 275libkcal/Makefile$(PLATFORM): libkcal/libkcalE.pro
276 cd libkcal; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libkcalE.pro -o Makefile$(PLATFORM) 276 cd libkcal; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libkcalE.pro -o Makefile$(PLATFORM)
277 277
278 278
279libkdepim/Makefile$(PLATFORM): libkdepim/libkdepimE.pro 279libkdepim/Makefile$(PLATFORM): libkdepim/libkdepimE.pro
280 cd libkdepim; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libkdepimE.pro -o Makefile$(PLATFORM) 280 cd libkdepim; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libkdepimE.pro -o Makefile$(PLATFORM)
281 281
282kalarmd/Makefile$(PLATFORM): kalarmd/kalarmdE.pro 282kalarmd/Makefile$(PLATFORM): kalarmd/kalarmdE.pro
283 cd kalarmd; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kalarmdE.pro -o Makefile$(PLATFORM) 283 cd kalarmd; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kalarmdE.pro -o Makefile$(PLATFORM)
284 284
285korganizer/Makefile$(PLATFORM): korganizer/korganizerE.pro 285korganizer/Makefile$(PLATFORM): korganizer/korganizerE.pro
286 cd korganizer; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" korganizerE.pro -o Makefile$(PLATFORM) 286 cd korganizer; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" korganizerE.pro -o Makefile$(PLATFORM)
287 287
288libical/src/libical/Makefile$(PLATFORM): libical/src/libical/libicalE.pro 288libical/src/libical/Makefile$(PLATFORM): libical/src/libical/libicalE.pro
289 cd libical/src/libical; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libicalE.pro -o Makefile$(PLATFORM) 289 cd libical/src/libical; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libicalE.pro -o Makefile$(PLATFORM)
290 290
291libical/src/libicalss/Makefile$(PLATFORM): libical/src/libicalss/libicalssE.pro 291libical/src/libicalss/Makefile$(PLATFORM): libical/src/libicalss/libicalssE.pro
292 cd libical/src/libicalss; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libicalssE.pro -o Makefile$(PLATFORM) 292 cd libical/src/libicalss; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libicalssE.pro -o Makefile$(PLATFORM)
293 293
294kabc/Makefile$(PLATFORM): kabc/kabcE.pro 294kabc/Makefile$(PLATFORM): kabc/kabcE.pro
295 cd kabc; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kabcE.pro -o Makefile$(PLATFORM) 295 cd kabc; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kabcE.pro -o Makefile$(PLATFORM)
296 296
297kabc/formats/binary/Makefile$(PLATFORM): kabc/formats/binary/kabcformat_binaryE.pro 297kabc/formats/binary/Makefile$(PLATFORM): kabc/formats/binary/kabcformat_binaryE.pro
298 cd kabc/formats/binary; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kabcformat_binaryE.pro -o Makefile$(PLATFORM) 298 cd kabc/formats/binary; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kabcformat_binaryE.pro -o Makefile$(PLATFORM)
299 299
300kabc/plugins/file/Makefile$(PLATFORM): kabc/plugins/file/fileE.pro 300kabc/plugins/file/Makefile$(PLATFORM): kabc/plugins/file/fileE.pro
301 cd kabc/plugins/file; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" fileE.pro -o Makefile$(PLATFORM) 301 cd kabc/plugins/file; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" fileE.pro -o Makefile$(PLATFORM)
302 302
303kabc/plugins/dir/Makefile$(PLATFORM): kabc/plugins/dir/dirE.pro 303kabc/plugins/dir/Makefile$(PLATFORM): kabc/plugins/dir/dirE.pro
304 cd kabc/plugins/dir; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" dirE.pro -o Makefile$(PLATFORM) 304 cd kabc/plugins/dir; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" dirE.pro -o Makefile$(PLATFORM)
305 305
306kabc/plugins/ldap/Makefile$(PLATFORM): kabc/plugins/ldap/ldapE.pro 306kabc/plugins/ldap/Makefile$(PLATFORM): kabc/plugins/ldap/ldapE.pro
307 cd kabc/plugins/ldap; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" ldapE.pro -o Makefile$(PLATFORM) 307 cd kabc/plugins/ldap; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" ldapE.pro -o Makefile$(PLATFORM)
308 308
309kabc/plugins/opie/Makefile$(PLATFORM): kabc/plugins/opie/opieE.pro 309kabc/plugins/opie/Makefile$(PLATFORM): kabc/plugins/opie/opieE.pro
310 cd kabc/plugins/opie; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" opieE.pro -o Makefile$(PLATFORM) 310 cd kabc/plugins/opie; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" opieE.pro -o Makefile$(PLATFORM)
311 311
312kabc/plugins/qtopia/Makefile$(PLATFORM): kabc/plugins/qtopia/qtopiaE.pro 312kabc/plugins/qtopia/Makefile$(PLATFORM): kabc/plugins/qtopia/qtopiaE.pro
313 cd kabc/plugins/qtopia; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" qtopiaE.pro -o Makefile$(PLATFORM) 313 cd kabc/plugins/qtopia; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" qtopiaE.pro -o Makefile$(PLATFORM)
314 314
315kabc/plugins/sharpdtm/Makefile$(PLATFORM): kabc/plugins/sharpdtm/sharpdtmE.pro 315kabc/plugins/sharpdtm/Makefile$(PLATFORM): kabc/plugins/sharpdtm/sharpdtmE.pro
316 cd kabc/plugins/sharpdtm; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" sharpdtmE.pro -o Makefile$(PLATFORM) 316 cd kabc/plugins/sharpdtm; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" sharpdtmE.pro -o Makefile$(PLATFORM)
317 317
318kaddressbook/Makefile$(PLATFORM): kaddressbook/kaddressbookE.pro 318kaddressbook/Makefile$(PLATFORM): kaddressbook/kaddressbookE.pro
319 cd kaddressbook; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kaddressbookE.pro -o Makefile$(PLATFORM) 319 cd kaddressbook; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kaddressbookE.pro -o Makefile$(PLATFORM)
320 320
321kmicromail/Makefile$(PLATFORM): kmicromail/kmicromailE.pro 321kmicromail/Makefile$(PLATFORM): kmicromail/kmicromailE.pro
322 cd kmicromail; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kmicromailE.pro -o Makefile$(PLATFORM) 322 cd kmicromail; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kmicromailE.pro -o Makefile$(PLATFORM)
323 323
324kmicromail/libetpan/Makefile$(PLATFORM): kmicromail/libetpan/libetpanE.pro 324kmicromail/libetpan/Makefile$(PLATFORM): kmicromail/libetpan/libetpanE.pro
325 cd kmicromail/libetpan; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libetpanE.pro -o Makefile$(PLATFORM) 325 cd kmicromail/libetpan; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libetpanE.pro -o Makefile$(PLATFORM)
326 326
327kmicromail/libmailwrapper/Makefile$(PLATFORM): kmicromail/libmailwrapper/libmailwrapperE.pro 327kmicromail/libmailwrapper/Makefile$(PLATFORM): kmicromail/libmailwrapper/libmailwrapperE.pro
328 cd kmicromail/libmailwrapper; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libmailwrapperE.pro -o Makefile$(PLATFORM) 328 cd kmicromail/libmailwrapper; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libmailwrapperE.pro -o Makefile$(PLATFORM)
329 329
330gammu/emb/common/Makefile$(PLATFORM): gammu/emb/common/commonE.pro 330gammu/emb/common/Makefile$(PLATFORM): gammu/emb/common/commonE.pro
331 cd gammu/emb/common; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" commonE.pro -o Makefile$(PLATFORM) 331 cd gammu/emb/common; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" commonE.pro -o Makefile$(PLATFORM)
332 332
333gammu/emb/gammu/Makefile$(PLATFORM): gammu/emb/gammu/gammuE.pro 333gammu/emb/gammu/Makefile$(PLATFORM): gammu/emb/gammu/gammuE.pro
334 cd gammu/emb/gammu; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" gammuE.pro -o Makefile$(PLATFORM) 334 cd gammu/emb/gammu; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" gammuE.pro -o Makefile$(PLATFORM)
335 335
336pwmanager/pwmanager/Makefile$(PLATFORM): pwmanager/pwmanager/pwmanagerE.pro 336pwmanager/pwmanager/Makefile$(PLATFORM): pwmanager/pwmanager/pwmanagerE.pro
337 cd pwmanager/pwmanager; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" pwmanagerE.pro -o Makefile$(PLATFORM) 337 cd pwmanager/pwmanager; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" pwmanagerE.pro -o Makefile$(PLATFORM)
338 338
diff --git a/libkdepim/ksyncmanager.cpp b/libkdepim/ksyncmanager.cpp
index 8851097..40d8e47 100644
--- a/libkdepim/ksyncmanager.cpp
+++ b/libkdepim/ksyncmanager.cpp
@@ -688,193 +688,197 @@ void KSyncManager::edit_sync_options()
688 lay.addWidget(&gr); 688 lay.addWidget(&gr);
689 QRadioButton loc ( i18n("Take local entry on conflict"), &gr ); 689 QRadioButton loc ( i18n("Take local entry on conflict"), &gr );
690 QRadioButton rem ( i18n("Take remote entry on conflict"), &gr ); 690 QRadioButton rem ( i18n("Take remote entry on conflict"), &gr );
691 QRadioButton newest( i18n("Take newest entry on conflict"), &gr ); 691 QRadioButton newest( i18n("Take newest entry on conflict"), &gr );
692 QRadioButton ask( i18n("Ask for every entry on conflict"), &gr ); 692 QRadioButton ask( i18n("Ask for every entry on conflict"), &gr );
693 QRadioButton f_loc( i18n("Force: Take local entry always"), &gr ); 693 QRadioButton f_loc( i18n("Force: Take local entry always"), &gr );
694 QRadioButton f_rem( i18n("Force: Take remote entry always"), &gr ); 694 QRadioButton f_rem( i18n("Force: Take remote entry always"), &gr );
695 //QRadioButton both( i18n("Take both on conflict"), &gr ); 695 //QRadioButton both( i18n("Take both on conflict"), &gr );
696 QPushButton pb ( "OK", &dia); 696 QPushButton pb ( "OK", &dia);
697 lay.addWidget( &pb ); 697 lay.addWidget( &pb );
698 connect(&pb, SIGNAL( clicked() ), &dia, SLOT ( accept() ) ); 698 connect(&pb, SIGNAL( clicked() ), &dia, SLOT ( accept() ) );
699 switch ( mSyncAlgoPrefs ) { 699 switch ( mSyncAlgoPrefs ) {
700 case 0: 700 case 0:
701 loc.setChecked( true); 701 loc.setChecked( true);
702 break; 702 break;
703 case 1: 703 case 1:
704 rem.setChecked( true ); 704 rem.setChecked( true );
705 break; 705 break;
706 case 2: 706 case 2:
707 newest.setChecked( true); 707 newest.setChecked( true);
708 break; 708 break;
709 case 3: 709 case 3:
710 ask.setChecked( true); 710 ask.setChecked( true);
711 break; 711 break;
712 case 4: 712 case 4:
713 f_loc.setChecked( true); 713 f_loc.setChecked( true);
714 break; 714 break;
715 case 5: 715 case 5:
716 f_rem.setChecked( true); 716 f_rem.setChecked( true);
717 break; 717 break;
718 case 6: 718 case 6:
719 // both.setChecked( true); 719 // both.setChecked( true);
720 break; 720 break;
721 default: 721 default:
722 break; 722 break;
723 } 723 }
724 if ( dia.exec() ) { 724 if ( dia.exec() ) {
725 mSyncAlgoPrefs = rem.isChecked()*1+newest.isChecked()*2+ ask.isChecked()*3+ f_loc.isChecked()*4+ f_rem.isChecked()*5;//+ both.isChecked()*6 ; 725 mSyncAlgoPrefs = rem.isChecked()*1+newest.isChecked()*2+ ask.isChecked()*3+ f_loc.isChecked()*4+ f_rem.isChecked()*5;//+ both.isChecked()*6 ;
726 } 726 }
727 727
728 728
729} 729}
730 730
731QString KSyncManager::getPassword( ) 731QString KSyncManager::getPassword( )
732{ 732{
733 QString retfile = ""; 733 QString retfile = "";
734 QDialog dia ( mParent, "input-dialog", true ); 734 QDialog dia ( mParent, "input-dialog", true );
735 QLineEdit lab ( &dia ); 735 QLineEdit lab ( &dia );
736 lab.setEchoMode( QLineEdit::Password ); 736 lab.setEchoMode( QLineEdit::Password );
737 QVBoxLayout lay( &dia ); 737 QVBoxLayout lay( &dia );
738 lay.setMargin(7); 738 lay.setMargin(7);
739 lay.setSpacing(7); 739 lay.setSpacing(7);
740 lay.addWidget( &lab); 740 lay.addWidget( &lab);
741 dia.setFixedSize( 230,50 ); 741 dia.setFixedSize( 230,50 );
742 dia.setCaption( i18n("Enter password") ); 742 dia.setCaption( i18n("Enter password") );
743 QPushButton pb ( "OK", &dia); 743 QPushButton pb ( "OK", &dia);
744 lay.addWidget( &pb ); 744 lay.addWidget( &pb );
745 connect(&pb, SIGNAL( clicked() ), &dia, SLOT ( accept() ) ); 745 connect(&pb, SIGNAL( clicked() ), &dia, SLOT ( accept() ) );
746 dia.show(); 746 dia.show();
747 int res = dia.exec(); 747 int res = dia.exec();
748 if ( res ) 748 if ( res )
749 retfile = lab.text(); 749 retfile = lab.text();
750 dia.hide(); 750 dia.hide();
751 qApp->processEvents(); 751 qApp->processEvents();
752 return retfile; 752 return retfile;
753 753
754} 754}
755 755
756 756
757void KSyncManager::confSync() 757void KSyncManager::confSync()
758{ 758{
759 static KSyncPrefsDialog* sp = 0; 759 static KSyncPrefsDialog* sp = 0;
760 if ( ! sp ) { 760 if ( ! sp ) {
761 sp = new KSyncPrefsDialog( mParent, "syncprefs", true ); 761 sp = new KSyncPrefsDialog( mParent, "syncprefs", true );
762 } 762 }
763 sp->usrReadConfig(); 763 sp->usrReadConfig();
764#ifndef DESKTOP_VERSION 764#ifndef DESKTOP_VERSION
765 sp->showMaximized(); 765 sp->showMaximized();
766#else 766#else
767 sp->show(); 767 sp->show();
768#endif 768#endif
769 sp->exec(); 769 sp->exec();
770 mSyncProfileNames = sp->getSyncProfileNames(); 770 mSyncProfileNames = sp->getSyncProfileNames();
771 mLocalMachineName = sp->getLocalMachineName (); 771 mLocalMachineName = sp->getLocalMachineName ();
772 QTimer::singleShot ( 1, this, SLOT ( fillSyncMenu() ) ); 772 QTimer::singleShot ( 1, this, SLOT ( fillSyncMenu() ) );
773} 773}
774void KSyncManager::syncKDE() 774void KSyncManager::syncKDE()
775{ 775{
776 emit save(); 776 emit save();
777 switch(mTargetApp) 777 switch(mTargetApp)
778 { 778 {
779 case (KAPI): 779 case (KAPI):
780 780
781 break; 781 break;
782 case (KOPI): 782 case (KOPI):
783 { 783 {
784 QString command = qApp->applicationDirPath () + "/kdecaldump"; 784#ifdef DESKTOP_VERSION
785 QString command = qApp->applicationDirPath () + "/kdecaldump";
786#else
787 QString command = "kdecaldump";
788#endif
785 if ( ! QFile::exists ( command ) ) 789 if ( ! QFile::exists ( command ) )
786 command = "kdecaldump"; 790 command = "kdecaldump";
787 QString fileName = QDir::homeDirPath ()+"/.kdecalendardump.ics"; 791 QString fileName = QDir::homeDirPath ()+"/.kdecalendardump.ics";
788 system ( command.latin1()); 792 system ( command.latin1());
789 if ( syncWithFile( fileName,true ) ) { 793 if ( syncWithFile( fileName,true ) ) {
790 if ( mWriteBackFile ) { 794 if ( mWriteBackFile ) {
791 command += " --read"; 795 command += " --read";
792 system ( command.latin1()); 796 system ( command.latin1());
793 } 797 }
794 } 798 }
795 799
796 } 800 }
797 break; 801 break;
798 case (PWMPI): 802 case (PWMPI):
799 803
800 break; 804 break;
801 default: 805 default:
802 qDebug("KSyncManager::slotSyncMenu: invalid apptype selected"); 806 qDebug("KSyncManager::slotSyncMenu: invalid apptype selected");
803 break; 807 break;
804 808
805 } 809 }
806} 810}
807 811
808void KSyncManager::syncSharp() 812void KSyncManager::syncSharp()
809{ 813{
810 814
811 if ( ! syncExternalApplication("sharp") ) 815 if ( ! syncExternalApplication("sharp") )
812 qDebug("ERROR sync sharp "); 816 qDebug("ERROR sync sharp ");
813} 817}
814 818
815bool KSyncManager::syncExternalApplication(QString resource) 819bool KSyncManager::syncExternalApplication(QString resource)
816{ 820{
817 821
818 emit save(); 822 emit save();
819 823
820 if ( mAskForPreferences ) 824 if ( mAskForPreferences )
821 edit_sync_options(); 825 edit_sync_options();
822 826
823 qDebug("Sync extern %s", resource.latin1()); 827 qDebug("Sync extern %s", resource.latin1());
824 828
825 bool syncOK = mImplementation->syncExternal(this, resource); 829 bool syncOK = mImplementation->syncExternal(this, resource);
826 830
827 return syncOK; 831 return syncOK;
828 832
829} 833}
830 834
831void KSyncManager::syncPhone() 835void KSyncManager::syncPhone()
832{ 836{
833 837
834 syncExternalApplication("phone"); 838 syncExternalApplication("phone");
835 839
836} 840}
837 841
838void KSyncManager::showProgressBar(int percentage, QString caption, int total) 842void KSyncManager::showProgressBar(int percentage, QString caption, int total)
839{ 843{
840 if (!bar->isVisible()) 844 if (!bar->isVisible())
841 { 845 {
842 bar->setCaption (caption); 846 bar->setCaption (caption);
843 bar->setTotalSteps ( total ) ; 847 bar->setTotalSteps ( total ) ;
844 848
845 bar->show(); 849 bar->show();
846 } 850 }
847 851
848 bar->setProgress( percentage ); 852 bar->setProgress( percentage );
849} 853}
850 854
851void KSyncManager::hideProgressBar() 855void KSyncManager::hideProgressBar()
852{ 856{
853 bar->hide(); 857 bar->hide();
854} 858}
855 859
856bool KSyncManager::isProgressBarCanceled() 860bool KSyncManager::isProgressBarCanceled()
857{ 861{
858 return !bar->isVisible(); 862 return !bar->isVisible();
859} 863}
860 864
861QString KSyncManager::syncFileName() 865QString KSyncManager::syncFileName()
862{ 866{
863 867
864 QString fn = "tempfile"; 868 QString fn = "tempfile";
865 switch(mTargetApp) 869 switch(mTargetApp)
866 { 870 {
867 case (KAPI): 871 case (KAPI):
868 fn = "tempsyncab.vcf"; 872 fn = "tempsyncab.vcf";
869 break; 873 break;
870 case (KOPI): 874 case (KOPI):
871 fn = "tempsynccal.ics"; 875 fn = "tempsynccal.ics";
872 break; 876 break;
873 case (PWMPI): 877 case (PWMPI):
874 fn = "tempsyncpw.pwm"; 878 fn = "tempsyncpw.pwm";
875 break; 879 break;
876 default: 880 default:
877 break; 881 break;
878 } 882 }
879#ifdef _WIN32_ 883#ifdef _WIN32_
880 return locateLocal( "tmp", fn ); 884 return locateLocal( "tmp", fn );
diff --git a/version b/version
index f085278..de8a794 100644
--- a/version
+++ b/version
@@ -1 +1 @@
version = "1.9.7"; version = "1.9.8";