|
diff --git a/Makefile b/Makefile index 95bd2ae..8429f01 100644 --- a/ Makefile+++ b/ Makefile |
|
@@ -1,60 +1,69 @@ |
1 | DISTPATH = $(shell pwd) |
1 | DISTPATH = $(shell pwd) |
2 | DISTDIR = $(shell basename $(DISTPATH)) |
2 | DISTDIR = $(shell basename $(DISTPATH)) |
3 | |
3 | |
4 | SUBDIRS = libical/src/libical libical/src/libicalss qtcompat microkde \ |
4 | SUBDIRS = libical/src/libical libical/src/libicalss qtcompat microkde \ |
5 | libkcal libkdepim kabc kabc/formats/binary kabc/plugins/file kabc/plugins/dir \ |
5 | libkcal libkdepim kabc kabc/converter/opie kabc/formats/binary kabc/plugins/file kabc/plugins/dir \ |
6 | kabc/plugins/ldap kabc/plugins/opie \ |
6 | kabc/plugins/opie \ |
7 | korganizer kalarmd kaddressbook |
7 | korganizer kalarmd kaddressbook kmicromail/libetpan kmicromail/libmailwrapper kmicromail |
8 | all: tmake |
8 | all: tmake |
9 | for i in $(SUBDIRS); do pushd $$i; \ |
9 | for i in $(SUBDIRS); do pushd $$i; \ |
10 | make -f Makefile$(PLATFORM) || exit 1; popd; \ |
10 | make -f Makefile$(PLATFORM) || exit 1; popd; \ |
11 | done |
11 | done |
12 | |
12 | |
13 | objects: |
13 | objects: |
14 | for i in $(SUBDIRS); do mkdir -p $$i/obj/$(PLATFORM); done |
14 | for i in $(SUBDIRS); do mkdir -p $$i/obj/$(PLATFORM); done |
15 | for i in $(SUBDIRS); do mkdir -p $$i/moc/$(PLATFORM); done |
15 | for i in $(SUBDIRS); do mkdir -p $$i/moc/$(PLATFORM); done |
16 | mkdir -p libical/lib/$(PLATFORM) |
16 | mkdir -p libical/lib/$(PLATFORM) |
17 | |
17 | |
18 | clean: |
18 | clean: |
19 | rm -f libical/lib/$(PLATFORM)/*; |
19 | rm -f libical/lib/$(PLATFORM)/*; |
20 | for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\ |
20 | for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\ |
21 | rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \ |
21 | rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \ |
22 | done |
22 | done |
23 | install: |
23 | install: |
24 | cd bin/kdepim; make install |
24 | cd bin/kdepim; make install |
| |
25 | cp db2file/db2file $(QPEDIR)/bin/db2file |
25 | cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop |
26 | cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop |
| |
27 | cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kmicromail.desktop |
26 | cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop |
28 | cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop |
27 | |
29 | |
28 | dist: |
30 | dist: |
29 | @echo Dont forget to do "make install" before "make dist" |
31 | @echo Dont forget to do "make install" before "make dist" |
30 | rm -f *arm.ipk |
32 | rm -f *arm.ipk |
31 | rm -f *~ |
33 | rm -f *~ |
32 | cd ..; tar czf kdepim.src.tar.gz --exclude=obj --exclude=moc kdepim |
34 | cd ..; tar czf kdepim.src.tar.gz --exclude=obj --exclude=moc kdepim |
33 | mkipks kdepim.control |
35 | mkipks kmicrokdelibs.control |
| |
36 | mkipks korganizer.control |
| |
37 | mkipks kaddressbook.control |
| |
38 | mkipks kmicromail.control |
34 | mkipks korganizer-alarm.control |
39 | mkipks korganizer-alarm.control |
35 | |
40 | |
36 | tmake: objects qtcompat/Makefile$(PLATFORM) microkde/Makefile$(PLATFORM) \ |
41 | tmake: objects qtcompat/Makefile$(PLATFORM) microkde/Makefile$(PLATFORM) \ |
37 | libkcal/Makefile$(PLATFORM) \ |
42 | libkcal/Makefile$(PLATFORM) \ |
38 | libkdepim/Makefile$(PLATFORM) korganizer/Makefile$(PLATFORM) \ |
43 | libkdepim/Makefile$(PLATFORM) korganizer/Makefile$(PLATFORM) \ |
39 | kalarmd/Makefile$(PLATFORM) \ |
44 | kalarmd/Makefile$(PLATFORM) \ |
40 | libical/src/libical/Makefile$(PLATFORM) \ |
45 | libical/src/libical/Makefile$(PLATFORM) \ |
41 | libical/src/libicalss/Makefile$(PLATFORM) \ |
46 | libical/src/libicalss/Makefile$(PLATFORM) \ |
42 | kabc/Makefile$(PLATFORM) \ |
47 | kabc/Makefile$(PLATFORM) \ |
| |
48 | kabc/converter/opie/Makefile$(PLATFORM) \ |
43 | kabc/formats/binary/Makefile$(PLATFORM) \ |
49 | kabc/formats/binary/Makefile$(PLATFORM) \ |
44 | kabc/plugins/file/Makefile$(PLATFORM) \ |
50 | kabc/plugins/file/Makefile$(PLATFORM) \ |
45 | kabc/plugins/dir/Makefile$(PLATFORM) \ |
51 | kabc/plugins/dir/Makefile$(PLATFORM) \ |
46 | kabc/plugins/ldap/Makefile$(PLATFORM) \ |
52 | kabc/plugins/ldap/Makefile$(PLATFORM) \ |
47 | kabc/plugins/opie/Makefile$(PLATFORM) \ |
53 | kabc/plugins/opie/Makefile$(PLATFORM) \ |
48 | kaddressbook/Makefile$(PLATFORM) |
54 | kaddressbook/Makefile$(PLATFORM) \ |
| |
55 | kmicromail/Makefile$(PLATFORM) \ |
| |
56 | kmicromail/libetpan/Makefile$(PLATFORM) \ |
| |
57 | kmicromail/libmailwrapper/Makefile$(PLATFORM) |
49 | |
58 | |
50 | |
59 | |
51 | |
60 | |
52 | qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro |
61 | qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro |
53 | cd qtcompat; tmake "CONFIG+=$(RELEASE_DEBUG)" qtcompat.pro -o Makefile$(PLATFORM) |
62 | cd qtcompat; tmake "CONFIG+=$(RELEASE_DEBUG)" qtcompat.pro -o Makefile$(PLATFORM) |
54 | |
63 | |
55 | microkde/Makefile$(PLATFORM): microkde/microkdeE.pro |
64 | microkde/Makefile$(PLATFORM): microkde/microkdeE.pro |
56 | cd microkde; tmake "CONFIG+=$(RELEASE_DEBUG)" microkdeE.pro -o Makefile$(PLATFORM) |
65 | cd microkde; tmake "CONFIG+=$(RELEASE_DEBUG)" microkdeE.pro -o Makefile$(PLATFORM) |
57 | |
66 | |
58 | libkcal/Makefile$(PLATFORM): libkcal/libkcalE.pro |
67 | libkcal/Makefile$(PLATFORM): libkcal/libkcalE.pro |
59 | cd libkcal; tmake "CONFIG+=$(RELEASE_DEBUG)" libkcalE.pro -o Makefile$(PLATFORM) |
68 | cd libkcal; tmake "CONFIG+=$(RELEASE_DEBUG)" libkcalE.pro -o Makefile$(PLATFORM) |
60 | |
69 | |
@@ -68,30 +77,42 @@ kalarmd/Makefile$(PLATFORM): kalarmd/kalarmdE.pro |
68 | korganizer/Makefile$(PLATFORM): korganizer/korganizerE.pro |
77 | korganizer/Makefile$(PLATFORM): korganizer/korganizerE.pro |
69 | cd korganizer; tmake "CONFIG+=$(RELEASE_DEBUG)" korganizerE.pro -o Makefile$(PLATFORM) |
78 | cd korganizer; tmake "CONFIG+=$(RELEASE_DEBUG)" korganizerE.pro -o Makefile$(PLATFORM) |
70 | |
79 | |
71 | libical/src/libical/Makefile$(PLATFORM): libical/src/libical/libicalE.pro |
80 | libical/src/libical/Makefile$(PLATFORM): libical/src/libical/libicalE.pro |
72 | cd libical/src/libical; tmake "CONFIG+=$(RELEASE_DEBUG)" libicalE.pro -o Makefile$(PLATFORM) |
81 | cd libical/src/libical; tmake "CONFIG+=$(RELEASE_DEBUG)" libicalE.pro -o Makefile$(PLATFORM) |
73 | |
82 | |
74 | libical/src/libicalss/Makefile$(PLATFORM): libical/src/libicalss/libicalssE.pro |
83 | libical/src/libicalss/Makefile$(PLATFORM): libical/src/libicalss/libicalssE.pro |
75 | cd libical/src/libicalss; tmake "CONFIG+=$(RELEASE_DEBUG)" libicalssE.pro -o Makefile$(PLATFORM) |
84 | cd libical/src/libicalss; tmake "CONFIG+=$(RELEASE_DEBUG)" libicalssE.pro -o Makefile$(PLATFORM) |
76 | |
85 | |
77 | kabc/Makefile$(PLATFORM): kabc/kabcE.pro |
86 | kabc/Makefile$(PLATFORM): kabc/kabcE.pro |
78 | cd kabc; tmake "CONFIG+=$(RELEASE_DEBUG)" kabcE.pro -o Makefile$(PLATFORM) |
87 | cd kabc; tmake "CONFIG+=$(RELEASE_DEBUG)" kabcE.pro -o Makefile$(PLATFORM) |
79 | |
88 | |
| |
89 | kabc/converter/opie/Makefile$(PLATFORM): kabc/converter/opie/opieconverterE.pro |
| |
90 | cd kabc/converter/opie; tmake "CONFIG+=$(RELEASE_DEBUG)" opieconverterE.pro -o Makefile$(PLATFORM) |
| |
91 | |
80 | kabc/formats/binary/Makefile$(PLATFORM): kabc/formats/binary/kabcformat_binaryE.pro |
92 | kabc/formats/binary/Makefile$(PLATFORM): kabc/formats/binary/kabcformat_binaryE.pro |
81 | cd kabc/formats/binary; tmake "CONFIG+=$(RELEASE_DEBUG)" kabcformat_binaryE.pro -o Makefile$(PLATFORM) |
93 | cd kabc/formats/binary; tmake "CONFIG+=$(RELEASE_DEBUG)" kabcformat_binaryE.pro -o Makefile$(PLATFORM) |
82 | |
94 | |
83 | kabc/plugins/file/Makefile$(PLATFORM): kabc/plugins/file/kabc_fileE.pro |
95 | kabc/plugins/file/Makefile$(PLATFORM): kabc/plugins/file/kabc_fileE.pro |
84 | cd kabc/plugins/file; tmake "CONFIG+=$(RELEASE_DEBUG)" kabc_fileE.pro -o Makefile$(PLATFORM) |
96 | cd kabc/plugins/file; tmake "CONFIG+=$(RELEASE_DEBUG)" kabc_fileE.pro -o Makefile$(PLATFORM) |
85 | |
97 | |
86 | kabc/plugins/dir/Makefile$(PLATFORM): kabc/plugins/dir/kabc_dirE.pro |
98 | kabc/plugins/dir/Makefile$(PLATFORM): kabc/plugins/dir/kabc_dirE.pro |
87 | cd kabc/plugins/dir; tmake "CONFIG+=$(RELEASE_DEBUG)" kabc_dirE.pro -o Makefile$(PLATFORM) |
99 | cd kabc/plugins/dir; tmake "CONFIG+=$(RELEASE_DEBUG)" kabc_dirE.pro -o Makefile$(PLATFORM) |
88 | |
100 | |
89 | kabc/plugins/ldap/Makefile$(PLATFORM): kabc/plugins/ldap/kabc_ldapE.pro |
101 | kabc/plugins/ldap/Makefile$(PLATFORM): kabc/plugins/ldap/kabc_ldapE.pro |
90 | cd kabc/plugins/ldap; tmake "CONFIG+=$(RELEASE_DEBUG)" kabc_ldapE.pro -o Makefile$(PLATFORM) |
102 | cd kabc/plugins/ldap; tmake "CONFIG+=$(RELEASE_DEBUG)" kabc_ldapE.pro -o Makefile$(PLATFORM) |
91 | |
103 | |
92 | kabc/plugins/opie/Makefile$(PLATFORM): kabc/plugins/opie/kabc_opieE.pro |
104 | kabc/plugins/opie/Makefile$(PLATFORM): kabc/plugins/opie/kabc_opieE.pro |
93 | cd kabc/plugins/opie; tmake "CONFIG+=$(RELEASE_DEBUG)" kabc_opieE.pro -o Makefile$(PLATFORM) |
105 | cd kabc/plugins/opie; tmake "CONFIG+=$(RELEASE_DEBUG)" kabc_opieE.pro -o Makefile$(PLATFORM) |
94 | |
106 | |
| |
107 | |
95 | kaddressbook/Makefile$(PLATFORM): kaddressbook/kaddressbookE.pro |
108 | kaddressbook/Makefile$(PLATFORM): kaddressbook/kaddressbookE.pro |
96 | cd kaddressbook; tmake "CONFIG+=$(RELEASE_DEBUG)" kaddressbookE.pro -o Makefile$(PLATFORM) |
109 | cd kaddressbook; tmake "CONFIG+=$(RELEASE_DEBUG)" kaddressbookE.pro -o Makefile$(PLATFORM) |
97 | |
110 | |
| |
111 | |
| |
112 | kmicromail/Makefile$(PLATFORM): kmicromail/kmicromailE.pro |
| |
113 | cd kmicromail; tmake "CONFIG+=$(RELEASE_DEBUG)" kmicromailE.pro -o Makefile$(PLATFORM) |
| |
114 | kmicromail/libetpan/Makefile$(PLATFORM): kmicromail/libetpan/libetpanE.pro |
| |
115 | cd kmicromail/libetpan; tmake "CONFIG+=$(RELEASE_DEBUG)" libetpanE.pro -o Makefile$(PLATFORM) |
| |
116 | kmicromail/libmailwrapper/Makefile$(PLATFORM): kmicromail/libmailwrapper/libmailwrapperE.pro |
| |
117 | cd kmicromail/libmailwrapper; tmake "CONFIG+=$(RELEASE_DEBUG)" libmailwrapperE.pro -o Makefile$(PLATFORM) |
| |
118 | |
|