|
diff --git a/Makefile b/Makefile index 6856b62..1adfb2c 100644 --- a/ Makefile+++ b/ Makefile |
|
@@ -1,50 +1,51 @@ |
1 | export KDEPIMDIR = $(shell pwd) |
1 | export KDEPIMDIR = $(shell pwd) |
2 | |
2 | |
| |
3 | export KDEPIM_VERSION=$(shell sed -e 's/.*\"\([0-9]*\.[0-9]*\.[0-9]*\).*/\1/' < version) |
3 | |
4 | |
4 | ifeq ($(PLATFORM) , zaurus) |
5 | ifeq ($(PLATFORM) , zaurus) |
5 | BUILD_NO_LDAP_PLUGIN=1 |
6 | BUILD_NO_LDAP_PLUGIN=1 |
6 | endif |
7 | endif |
7 | |
8 | |
8 | ifneq ($(PLATFORM) , zaurus) |
9 | ifneq ($(PLATFORM) , zaurus) |
9 | BUILD_NO_SHARP_PLUGIN=1 |
10 | BUILD_NO_SHARP_PLUGIN=1 |
10 | endif |
11 | endif |
11 | |
12 | |
12 | SUBDIRS_MICROKDE = \ |
13 | SUBDIRS_MICROKDE = \ |
13 | libical/src/libical \ |
14 | libical/src/libical \ |
14 | libical/src/libicalss \ |
15 | libical/src/libicalss \ |
15 | qtcompat \ |
16 | qtcompat \ |
16 | microkde \ |
17 | microkde \ |
17 | libkcal \ |
18 | libkcal \ |
18 | libkdepim \ |
19 | libkdepim \ |
19 | kabc \ |
20 | kabc \ |
20 | kabc/formats/binary \ |
21 | kabc/formats/binary \ |
21 | kabc/plugins/file \ |
22 | kabc/plugins/file \ |
22 | kabc/plugins/dir \ |
23 | kabc/plugins/dir \ |
23 | korganizer \ |
24 | korganizer \ |
24 | kalarmd \ |
25 | kalarmd \ |
25 | kaddressbook |
26 | kaddressbook |
26 | |
27 | |
27 | SUBDIRS_QTOPIA_PLUGIN = \ |
28 | SUBDIRS_QTOPIA_PLUGIN = \ |
28 | kabc/plugins/qtopia |
29 | kabc/plugins/qtopia |
29 | |
30 | |
30 | SUBDIRS_OPIE_PLUGIN = \ |
31 | SUBDIRS_OPIE_PLUGIN = \ |
31 | kabc/plugins/opie |
32 | kabc/plugins/opie |
32 | |
33 | |
33 | SUBDIRS_SHARP_PLUGIN = \ |
34 | SUBDIRS_SHARP_PLUGIN = \ |
34 | kabc/plugins/sharpdtm |
35 | kabc/plugins/sharpdtm |
35 | |
36 | |
36 | SUBDIRS_LDAP_PLUGIN = \ |
37 | SUBDIRS_LDAP_PLUGIN = \ |
37 | kabc/plugins/ldap |
38 | kabc/plugins/ldap |
38 | |
39 | |
39 | SUBDIRS_MICROMAIL = \ |
40 | SUBDIRS_MICROMAIL = \ |
40 | kmicromail/libetpan \ |
41 | kmicromail/libetpan \ |
41 | kmicromail/libmailwrapper \ |
42 | kmicromail/libmailwrapper \ |
42 | kmicromail |
43 | kmicromail |
43 | |
44 | |
44 | SUBDIRS_GAMMU = \ |
45 | SUBDIRS_GAMMU = \ |
45 | gammu/emb/common \ |
46 | gammu/emb/common \ |
46 | gammu/emb/gammu |
47 | gammu/emb/gammu |
47 | |
48 | |
48 | SUBDIRS_PWMANAGER = \ |
49 | SUBDIRS_PWMANAGER = \ |
49 | pwmanager/pwmanager |
50 | pwmanager/pwmanager |
50 | |
51 | |
@@ -213,116 +214,116 @@ install: |
213 | dist: |
214 | dist: |
214 | @echo Dont forget to do "make install" before "make dist" |
215 | @echo Dont forget to do "make install" before "make dist" |
215 | rm -f *arm.ipk |
216 | rm -f *arm.ipk |
216 | rm -f *~ |
217 | rm -f *~ |
217 | cd ..; tar czf kdepim.src.tar.gz --exclude=obj --exclude=moc --exclude=CVS --exclude=Makefilezaurus --exclude=Makefileqtopia kdepim |
218 | cd ..; tar czf kdepim.src.tar.gz --exclude=obj --exclude=moc --exclude=CVS --exclude=Makefilezaurus --exclude=Makefileqtopia kdepim |
218 | ./mkipks kmicrokdelibs.control |
219 | ./mkipks kmicrokdelibs.control |
219 | ./mkipks korganizer.control |
220 | ./mkipks korganizer.control |
220 | ./mkipks kaddressbook.control |
221 | ./mkipks kaddressbook.control |
221 | ifndef BUILD_NO_MICROMAIL |
222 | ifndef BUILD_NO_MICROMAIL |
222 | ./mkipks kopiemail.control |
223 | ./mkipks kopiemail.control |
223 | endif |
224 | endif |
224 | ./mkipks korganizer-alarm.control |
225 | ./mkipks korganizer-alarm.control |
225 | ifndef BUILD_NO_GAMMU |
226 | ifndef BUILD_NO_GAMMU |
226 | ./mkipks kammu.control |
227 | ./mkipks kammu.control |
227 | endif |
228 | endif |
228 | ifndef BUILD_NO_PWMANAGER |
229 | ifndef BUILD_NO_PWMANAGER |
229 | ./mkipks pwmanager.control |
230 | ./mkipks pwmanager.control |
230 | endif |
231 | endif |
231 | ./mkipks pim_TAB_icon.control |
232 | ./mkipks pim_TAB_icon.control |
232 | |
233 | |
233 | tmake: objects \ |
234 | tmake: objects \ |
234 | qtcompat/Makefile$(PLATFORM) \ |
235 | qtcompat/Makefile$(PLATFORM) \ |
235 | microkde/Makefile$(PLATFORM) \ |
236 | microkde/Makefile$(PLATFORM) \ |
236 | libkcal/Makefile$(PLATFORM) \ |
237 | libkcal/Makefile$(PLATFORM) \ |
237 | libkdepim/Makefile$(PLATFORM) \ |
238 | libkdepim/Makefile$(PLATFORM) \ |
238 | korganizer/Makefile$(PLATFORM) \ |
239 | korganizer/Makefile$(PLATFORM) \ |
239 | kalarmd/Makefile$(PLATFORM) \ |
240 | kalarmd/Makefile$(PLATFORM) \ |
240 | libical/src/libical/Makefile$(PLATFORM) \ |
241 | libical/src/libical/Makefile$(PLATFORM) \ |
241 | libical/src/libicalss/Makefile$(PLATFORM) \ |
242 | libical/src/libicalss/Makefile$(PLATFORM) \ |
242 | kabc/Makefile$(PLATFORM) \ |
243 | kabc/Makefile$(PLATFORM) \ |
243 | kabc/formats/binary/Makefile$(PLATFORM) \ |
244 | kabc/formats/binary/Makefile$(PLATFORM) \ |
244 | kabc/plugins/file/Makefile$(PLATFORM) \ |
245 | kabc/plugins/file/Makefile$(PLATFORM) \ |
245 | kabc/plugins/dir/Makefile$(PLATFORM) \ |
246 | kabc/plugins/dir/Makefile$(PLATFORM) \ |
246 | kabc/plugins/ldap/Makefile$(PLATFORM) \ |
247 | kabc/plugins/ldap/Makefile$(PLATFORM) \ |
247 | kabc/plugins/opie/Makefile$(PLATFORM) \ |
248 | kabc/plugins/opie/Makefile$(PLATFORM) \ |
248 | kabc/plugins/qtopia/Makefile$(PLATFORM) \ |
249 | kabc/plugins/qtopia/Makefile$(PLATFORM) \ |
249 | kabc/plugins/sharpdtm/Makefile$(PLATFORM) \ |
250 | kabc/plugins/sharpdtm/Makefile$(PLATFORM) \ |
250 | kaddressbook/Makefile$(PLATFORM) \ |
251 | kaddressbook/Makefile$(PLATFORM) \ |
251 | kmicromail/Makefile$(PLATFORM) \ |
252 | kmicromail/Makefile$(PLATFORM) \ |
252 | kmicromail/libetpan/Makefile$(PLATFORM) \ |
253 | kmicromail/libetpan/Makefile$(PLATFORM) \ |
253 | kmicromail/libmailwrapper/Makefile$(PLATFORM) \ |
254 | kmicromail/libmailwrapper/Makefile$(PLATFORM) \ |
254 | gammu/emb/common/Makefile$(PLATFORM) \ |
255 | gammu/emb/common/Makefile$(PLATFORM) \ |
255 | gammu/emb/gammu/Makefile$(PLATFORM) \ |
256 | gammu/emb/gammu/Makefile$(PLATFORM) \ |
256 | pwmanager/pwmanager/Makefile$(PLATFORM) \ |
257 | pwmanager/pwmanager/Makefile$(PLATFORM) \ |
257 | |
258 | |
258 | |
259 | |
259 | |
260 | |
260 | qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro |
261 | qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro |
261 | cd qtcompat; tmake "CONFIG+=$(RELEASE_DEBUG)" qtcompat.pro -o Makefile$(PLATFORM) |
262 | cd qtcompat; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" qtcompat.pro -o Makefile$(PLATFORM) |
262 | |
263 | |
263 | microkde/Makefile$(PLATFORM): microkde/microkdeE.pro |
264 | microkde/Makefile$(PLATFORM): microkde/microkdeE.pro |
264 | cd microkde; tmake "CONFIG+=$(RELEASE_DEBUG)" microkdeE.pro -o Makefile$(PLATFORM) |
265 | cd microkde; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" microkdeE.pro -o Makefile$(PLATFORM) |
265 | |
266 | |
266 | libkcal/Makefile$(PLATFORM): libkcal/libkcalE.pro |
267 | libkcal/Makefile$(PLATFORM): libkcal/libkcalE.pro |
267 | cd libkcal; tmake "CONFIG+=$(RELEASE_DEBUG)" libkcalE.pro -o Makefile$(PLATFORM) |
268 | cd libkcal; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libkcalE.pro -o Makefile$(PLATFORM) |
268 | |
269 | |
269 | |
270 | |
270 | libkdepim/Makefile$(PLATFORM): libkdepim/libkdepimE.pro |
271 | libkdepim/Makefile$(PLATFORM): libkdepim/libkdepimE.pro |
271 | cd libkdepim; tmake "CONFIG+=$(RELEASE_DEBUG)" libkdepimE.pro -o Makefile$(PLATFORM) |
272 | cd libkdepim; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libkdepimE.pro -o Makefile$(PLATFORM) |
272 | |
273 | |
273 | kalarmd/Makefile$(PLATFORM): kalarmd/kalarmdE.pro |
274 | kalarmd/Makefile$(PLATFORM): kalarmd/kalarmdE.pro |
274 | cd kalarmd; tmake "CONFIG+=$(RELEASE_DEBUG)" kalarmdE.pro -o Makefile$(PLATFORM) |
275 | cd kalarmd; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kalarmdE.pro -o Makefile$(PLATFORM) |
275 | |
276 | |
276 | korganizer/Makefile$(PLATFORM): korganizer/korganizerE.pro |
277 | korganizer/Makefile$(PLATFORM): korganizer/korganizerE.pro |
277 | cd korganizer; tmake "CONFIG+=$(RELEASE_DEBUG)" korganizerE.pro -o Makefile$(PLATFORM) |
278 | cd korganizer; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" korganizerE.pro -o Makefile$(PLATFORM) |
278 | |
279 | |
279 | libical/src/libical/Makefile$(PLATFORM): libical/src/libical/libicalE.pro |
280 | libical/src/libical/Makefile$(PLATFORM): libical/src/libical/libicalE.pro |
280 | cd libical/src/libical; tmake "CONFIG+=$(RELEASE_DEBUG)" libicalE.pro -o Makefile$(PLATFORM) |
281 | cd libical/src/libical; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libicalE.pro -o Makefile$(PLATFORM) |
281 | |
282 | |
282 | libical/src/libicalss/Makefile$(PLATFORM): libical/src/libicalss/libicalssE.pro |
283 | libical/src/libicalss/Makefile$(PLATFORM): libical/src/libicalss/libicalssE.pro |
283 | cd libical/src/libicalss; tmake "CONFIG+=$(RELEASE_DEBUG)" libicalssE.pro -o Makefile$(PLATFORM) |
284 | cd libical/src/libicalss; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libicalssE.pro -o Makefile$(PLATFORM) |
284 | |
285 | |
285 | kabc/Makefile$(PLATFORM): kabc/kabcE.pro |
286 | kabc/Makefile$(PLATFORM): kabc/kabcE.pro |
286 | cd kabc; tmake "CONFIG+=$(RELEASE_DEBUG)" kabcE.pro -o Makefile$(PLATFORM) |
287 | cd kabc; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kabcE.pro -o Makefile$(PLATFORM) |
287 | |
288 | |
288 | kabc/formats/binary/Makefile$(PLATFORM): kabc/formats/binary/kabcformat_binaryE.pro |
289 | kabc/formats/binary/Makefile$(PLATFORM): kabc/formats/binary/kabcformat_binaryE.pro |
289 | cd kabc/formats/binary; tmake "CONFIG+=$(RELEASE_DEBUG)" kabcformat_binaryE.pro -o Makefile$(PLATFORM) |
290 | cd kabc/formats/binary; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kabcformat_binaryE.pro -o Makefile$(PLATFORM) |
290 | |
291 | |
291 | kabc/plugins/file/Makefile$(PLATFORM): kabc/plugins/file/fileE.pro |
292 | kabc/plugins/file/Makefile$(PLATFORM): kabc/plugins/file/fileE.pro |
292 | cd kabc/plugins/file; tmake "CONFIG+=$(RELEASE_DEBUG)" fileE.pro -o Makefile$(PLATFORM) |
293 | cd kabc/plugins/file; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" fileE.pro -o Makefile$(PLATFORM) |
293 | |
294 | |
294 | kabc/plugins/dir/Makefile$(PLATFORM): kabc/plugins/dir/dirE.pro |
295 | kabc/plugins/dir/Makefile$(PLATFORM): kabc/plugins/dir/dirE.pro |
295 | cd kabc/plugins/dir; tmake "CONFIG+=$(RELEASE_DEBUG)" dirE.pro -o Makefile$(PLATFORM) |
296 | cd kabc/plugins/dir; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" dirE.pro -o Makefile$(PLATFORM) |
296 | |
297 | |
297 | kabc/plugins/ldap/Makefile$(PLATFORM): kabc/plugins/ldap/ldapE.pro |
298 | kabc/plugins/ldap/Makefile$(PLATFORM): kabc/plugins/ldap/ldapE.pro |
298 | cd kabc/plugins/ldap; tmake "CONFIG+=$(RELEASE_DEBUG)" ldapE.pro -o Makefile$(PLATFORM) |
299 | cd kabc/plugins/ldap; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" ldapE.pro -o Makefile$(PLATFORM) |
299 | |
300 | |
300 | kabc/plugins/opie/Makefile$(PLATFORM): kabc/plugins/opie/opieE.pro |
301 | kabc/plugins/opie/Makefile$(PLATFORM): kabc/plugins/opie/opieE.pro |
301 | cd kabc/plugins/opie; tmake "CONFIG+=$(RELEASE_DEBUG)" opieE.pro -o Makefile$(PLATFORM) |
302 | cd kabc/plugins/opie; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" opieE.pro -o Makefile$(PLATFORM) |
302 | |
303 | |
303 | kabc/plugins/qtopia/Makefile$(PLATFORM): kabc/plugins/qtopia/qtopiaE.pro |
304 | kabc/plugins/qtopia/Makefile$(PLATFORM): kabc/plugins/qtopia/qtopiaE.pro |
304 | cd kabc/plugins/qtopia; tmake "CONFIG+=$(RELEASE_DEBUG)" qtopiaE.pro -o Makefile$(PLATFORM) |
305 | cd kabc/plugins/qtopia; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" qtopiaE.pro -o Makefile$(PLATFORM) |
305 | |
306 | |
306 | kabc/plugins/sharpdtm/Makefile$(PLATFORM): kabc/plugins/sharpdtm/sharpdtmE.pro |
307 | kabc/plugins/sharpdtm/Makefile$(PLATFORM): kabc/plugins/sharpdtm/sharpdtmE.pro |
307 | cd kabc/plugins/sharpdtm; tmake "CONFIG+=$(RELEASE_DEBUG)" sharpdtmE.pro -o Makefile$(PLATFORM) |
308 | cd kabc/plugins/sharpdtm; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" sharpdtmE.pro -o Makefile$(PLATFORM) |
308 | |
309 | |
309 | kaddressbook/Makefile$(PLATFORM): kaddressbook/kaddressbookE.pro |
310 | kaddressbook/Makefile$(PLATFORM): kaddressbook/kaddressbookE.pro |
310 | cd kaddressbook; tmake "CONFIG+=$(RELEASE_DEBUG)" kaddressbookE.pro -o Makefile$(PLATFORM) |
311 | cd kaddressbook; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kaddressbookE.pro -o Makefile$(PLATFORM) |
311 | |
312 | |
312 | kmicromail/Makefile$(PLATFORM): kmicromail/kmicromailE.pro |
313 | kmicromail/Makefile$(PLATFORM): kmicromail/kmicromailE.pro |
313 | cd kmicromail; tmake "CONFIG+=$(RELEASE_DEBUG)" kmicromailE.pro -o Makefile$(PLATFORM) |
314 | cd kmicromail; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kmicromailE.pro -o Makefile$(PLATFORM) |
314 | |
315 | |
315 | kmicromail/libetpan/Makefile$(PLATFORM): kmicromail/libetpan/libetpanE.pro |
316 | kmicromail/libetpan/Makefile$(PLATFORM): kmicromail/libetpan/libetpanE.pro |
316 | cd kmicromail/libetpan; tmake "CONFIG+=$(RELEASE_DEBUG)" libetpanE.pro -o Makefile$(PLATFORM) |
317 | cd kmicromail/libetpan; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libetpanE.pro -o Makefile$(PLATFORM) |
317 | |
318 | |
318 | kmicromail/libmailwrapper/Makefile$(PLATFORM): kmicromail/libmailwrapper/libmailwrapperE.pro |
319 | kmicromail/libmailwrapper/Makefile$(PLATFORM): kmicromail/libmailwrapper/libmailwrapperE.pro |
319 | cd kmicromail/libmailwrapper; tmake "CONFIG+=$(RELEASE_DEBUG)" libmailwrapperE.pro -o Makefile$(PLATFORM) |
320 | cd kmicromail/libmailwrapper; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libmailwrapperE.pro -o Makefile$(PLATFORM) |
320 | |
321 | |
321 | gammu/emb/common/Makefile$(PLATFORM): gammu/emb/common/commonE.pro |
322 | gammu/emb/common/Makefile$(PLATFORM): gammu/emb/common/commonE.pro |
322 | cd gammu/emb/common; tmake "CONFIG+=$(RELEASE_DEBUG)" commonE.pro -o Makefile$(PLATFORM) |
323 | cd gammu/emb/common; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" commonE.pro -o Makefile$(PLATFORM) |
323 | |
324 | |
324 | gammu/emb/gammu/Makefile$(PLATFORM): gammu/emb/gammu/gammuE.pro |
325 | gammu/emb/gammu/Makefile$(PLATFORM): gammu/emb/gammu/gammuE.pro |
325 | cd gammu/emb/gammu; tmake "CONFIG+=$(RELEASE_DEBUG)" gammuE.pro -o Makefile$(PLATFORM) |
326 | cd gammu/emb/gammu; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" gammuE.pro -o Makefile$(PLATFORM) |
326 | |
327 | |
327 | pwmanager/pwmanager/Makefile$(PLATFORM): pwmanager/pwmanager/pwmanagerE.pro |
328 | pwmanager/pwmanager/Makefile$(PLATFORM): pwmanager/pwmanager/pwmanagerE.pro |
328 | cd pwmanager/pwmanager; tmake "CONFIG+=$(RELEASE_DEBUG)" pwmanagerE.pro -o Makefile$(PLATFORM) |
329 | cd pwmanager/pwmanager; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" pwmanagerE.pro -o Makefile$(PLATFORM) |
|