|
diff --git a/Makefile b/Makefile index b7e0e33..7cc6952 100644 --- a/ Makefile+++ b/ Makefile |
|
@@ -1,59 +1,57 @@ |
1 | export KDEPIMDIR = $(shell pwd) |
1 | export KDEPIMDIR = $(shell pwd) |
2 | |
2 | |
3 | |
3 | |
4 | ifeq ($(PLATFORM) , zaurus) |
4 | ifeq ($(PLATFORM) , zaurus) |
5 | BUILD_NO_LDAP_PLUGIN=1 |
5 | BUILD_NO_LDAP_PLUGIN=1 |
6 | BUILD_NO_GAMMU=1 |
| |
7 | endif |
6 | endif |
8 | |
7 | |
9 | ifneq ($(PLATFORM) , zaurus) |
8 | ifneq ($(PLATFORM) , zaurus) |
10 | BUILD_NO_SHARP_PLUGIN=1 |
9 | BUILD_NO_SHARP_PLUGIN=1 |
11 | BUILD_NO_GAMMU=1 |
| |
12 | endif |
10 | endif |
13 | |
11 | |
14 | SUBDIRS_MICROKDE = \ |
12 | SUBDIRS_MICROKDE = \ |
15 | libical/src/libical \ |
13 | libical/src/libical \ |
16 | libical/src/libicalss \ |
14 | libical/src/libicalss \ |
17 | qtcompat \ |
15 | qtcompat \ |
18 | microkde \ |
16 | microkde \ |
19 | libkcal \ |
17 | libkcal \ |
20 | libkdepim \ |
18 | libkdepim \ |
21 | kabc \ |
19 | kabc \ |
22 | kabc/formats/binary \ |
20 | kabc/formats/binary \ |
23 | kabc/plugins/file \ |
21 | kabc/plugins/file \ |
24 | kabc/plugins/dir \ |
22 | kabc/plugins/dir \ |
25 | korganizer \ |
23 | korganizer \ |
26 | kalarmd \ |
24 | kalarmd \ |
27 | kaddressbook |
25 | kaddressbook |
28 | |
26 | |
29 | SUBDIRS_QTOPIA_PLUGIN = \ |
27 | SUBDIRS_QTOPIA_PLUGIN = \ |
30 | kabc/plugins/qtopia |
28 | kabc/plugins/qtopia |
31 | |
29 | |
32 | SUBDIRS_OPIE_PLUGIN = \ |
30 | SUBDIRS_OPIE_PLUGIN = \ |
33 | kabc/plugins/opie |
31 | kabc/plugins/opie |
34 | |
32 | |
35 | SUBDIRS_SHARP_PLUGIN = \ |
33 | SUBDIRS_SHARP_PLUGIN = \ |
36 | kabc/plugins/sharpdtm |
34 | kabc/plugins/sharpdtm |
37 | |
35 | |
38 | SUBDIRS_LDAP_PLUGIN = \ |
36 | SUBDIRS_LDAP_PLUGIN = \ |
39 | kabc/plugins/ldap |
37 | kabc/plugins/ldap |
40 | |
38 | |
41 | SUBDIRS_MICROMAIL = \ |
39 | SUBDIRS_MICROMAIL = \ |
42 | kmicromail/libetpan \ |
40 | kmicromail/libetpan \ |
43 | kmicromail/libmailwrapper \ |
41 | kmicromail/libmailwrapper \ |
44 | kmicromail |
42 | kmicromail |
45 | |
43 | |
46 | SUBDIRS_GAMMU = \ |
44 | SUBDIRS_GAMMU = \ |
47 | gammu/emb/common \ |
45 | gammu/emb/common \ |
48 | gammu/emb/gammu |
46 | gammu/emb/gammu |
49 | |
47 | |
50 | SUBDIRS = \ |
48 | SUBDIRS = \ |
51 | $(SUBDIRS_MICROKDE) \ |
49 | $(SUBDIRS_MICROKDE) \ |
52 | $(SUBDIRS_QTOPIA_PLUGIN) \ |
50 | $(SUBDIRS_QTOPIA_PLUGIN) \ |
53 | $(SUBDIRS_OPIE_PLUGIN) \ |
51 | $(SUBDIRS_OPIE_PLUGIN) \ |
54 | $(SUBDIRS_SHARP_PLUGIN) \ |
52 | $(SUBDIRS_SHARP_PLUGIN) \ |
55 | $(SUBDIRS_LDAP_PLUGIN) \ |
53 | $(SUBDIRS_LDAP_PLUGIN) \ |
56 | $(SUBDIRS_MICROMAIL) \ |
54 | $(SUBDIRS_MICROMAIL) \ |
57 | $(SUBDIRS_GAMMU) |
55 | $(SUBDIRS_GAMMU) |
58 | |
56 | |
59 | all: build_microkde \ |
57 | all: build_microkde \ |
@@ -156,97 +154,97 @@ variable_test: variable_info |
156 | endif |
154 | endif |
157 | ifdef BUILD_NO_OPIE_PLUGIN |
155 | ifdef BUILD_NO_OPIE_PLUGIN |
158 | @echo OPIE PLUGIN will not be build, because BUILD_NO_OPIE_PLUGIN is set to $(BUILD_NO_OPIE_PLUGIN) |
156 | @echo OPIE PLUGIN will not be build, because BUILD_NO_OPIE_PLUGIN is set to $(BUILD_NO_OPIE_PLUGIN) |
159 | endif |
157 | endif |
160 | ifdef BUILD_NO_MICROMAIL |
158 | ifdef BUILD_NO_MICROMAIL |
161 | @echo MICROMAIL will not be build, because BUILD_NO_MICROMAIL is set to $(BUILD_NO_MICROMAIL) |
159 | @echo MICROMAIL will not be build, because BUILD_NO_MICROMAIL is set to $(BUILD_NO_MICROMAIL) |
162 | endif |
160 | endif |
163 | ifdef BUILD_NO_SHARP_PLUGIN |
161 | ifdef BUILD_NO_SHARP_PLUGIN |
164 | @echo SHARP PLUGIN will not be build, because BUILD_NO_SHARP_PLUGIN is set to $(BUILD_NO_SHARP_PLUGIN) |
162 | @echo SHARP PLUGIN will not be build, because BUILD_NO_SHARP_PLUGIN is set to $(BUILD_NO_SHARP_PLUGIN) |
165 | else |
163 | else |
166 | ifndef SHARPDTMSDK |
164 | ifndef SHARPDTMSDK |
167 | @echo SHARP PLUGIN can not be build, because SHARPDTMSDK is set to $(SHARPDTMSDK) |
165 | @echo SHARP PLUGIN can not be build, because SHARPDTMSDK is set to $(SHARPDTMSDK) |
168 | $(error SHARPDTMSDK is not defined) |
166 | $(error SHARPDTMSDK is not defined) |
169 | endif |
167 | endif |
170 | endif |
168 | endif |
171 | @echo -------------------------------------- |
169 | @echo -------------------------------------- |
172 | |
170 | |
173 | |
171 | |
174 | objects: |
172 | objects: |
175 | for i in $(SUBDIRS); do mkdir -p $$i/obj/$(PLATFORM); done |
173 | for i in $(SUBDIRS); do mkdir -p $$i/obj/$(PLATFORM); done |
176 | for i in $(SUBDIRS); do mkdir -p $$i/moc/$(PLATFORM); done |
174 | for i in $(SUBDIRS); do mkdir -p $$i/moc/$(PLATFORM); done |
177 | mkdir -p libical/lib/$(PLATFORM) |
175 | mkdir -p libical/lib/$(PLATFORM) |
178 | |
176 | |
179 | clean: |
177 | clean: |
180 | rm -rf libical/lib/$(PLATFORM)/*; |
178 | rm -rf libical/lib/$(PLATFORM)/*; |
181 | for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\ |
179 | for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\ |
182 | rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \ |
180 | rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \ |
183 | done |
181 | done |
184 | install: |
182 | install: |
185 | cd bin/kdepim; make install |
183 | cd bin/kdepim; make install |
186 | cp db2file/db2file $(QPEDIR)/bin/db2file |
184 | cp db2file/db2file $(QPEDIR)/bin/db2file |
187 | cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop |
185 | cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop |
188 | cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop |
186 | cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop |
189 | cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kmicromail.desktop |
187 | cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kmicromail.desktop |
190 | |
188 | |
191 | dist: |
189 | dist: |
192 | @echo Dont forget to do "make install" before "make dist" |
190 | @echo Dont forget to do "make install" before "make dist" |
193 | rm -f *arm.ipk |
191 | rm -f *arm.ipk |
194 | rm -f *~ |
192 | rm -f *~ |
195 | cd ..; tar czf kdepim.src.tar.gz --exclude=obj --exclude=moc kdepim |
193 | cd ..; tar czf kdepim.src.tar.gz --exclude=obj --exclude=moc kdepim |
196 | ./mkipks kmicrokdelibs.control |
194 | ./mkipks kmicrokdelibs.control |
197 | ./mkipks korganizer.control |
195 | ./mkipks korganizer.control |
198 | ./mkipks kaddressbook.control |
196 | ./mkipks kaddressbook.control |
199 | ifndef BUILD_NO_MICROMAIL |
197 | ifndef BUILD_NO_MICROMAIL |
200 | ./mkipks kopiemail.control |
198 | ./mkipks kopiemail.control |
201 | endif |
199 | endif |
202 | ./mkipks korganizer-alarm.control |
200 | ./mkipks korganizer-alarm.control |
203 | ifndef BUILD_NO_GAMMU |
201 | ifndef BUILD_NO_GAMMU |
204 | ./mkipks gammu.control |
202 | ./mkipks kammu.control |
205 | endif |
203 | endif |
206 | |
204 | |
207 | tmake: objects \ |
205 | tmake: objects \ |
208 | qtcompat/Makefile$(PLATFORM) \ |
206 | qtcompat/Makefile$(PLATFORM) \ |
209 | microkde/Makefile$(PLATFORM) \ |
207 | microkde/Makefile$(PLATFORM) \ |
210 | libkcal/Makefile$(PLATFORM) \ |
208 | libkcal/Makefile$(PLATFORM) \ |
211 | libkdepim/Makefile$(PLATFORM) \ |
209 | libkdepim/Makefile$(PLATFORM) \ |
212 | korganizer/Makefile$(PLATFORM) \ |
210 | korganizer/Makefile$(PLATFORM) \ |
213 | kalarmd/Makefile$(PLATFORM) \ |
211 | kalarmd/Makefile$(PLATFORM) \ |
214 | libical/src/libical/Makefile$(PLATFORM) \ |
212 | libical/src/libical/Makefile$(PLATFORM) \ |
215 | libical/src/libicalss/Makefile$(PLATFORM) \ |
213 | libical/src/libicalss/Makefile$(PLATFORM) \ |
216 | kabc/Makefile$(PLATFORM) \ |
214 | kabc/Makefile$(PLATFORM) \ |
217 | kabc/formats/binary/Makefile$(PLATFORM) \ |
215 | kabc/formats/binary/Makefile$(PLATFORM) \ |
218 | kabc/plugins/file/Makefile$(PLATFORM) \ |
216 | kabc/plugins/file/Makefile$(PLATFORM) \ |
219 | kabc/plugins/dir/Makefile$(PLATFORM) \ |
217 | kabc/plugins/dir/Makefile$(PLATFORM) \ |
220 | kabc/plugins/ldap/Makefile$(PLATFORM) \ |
218 | kabc/plugins/ldap/Makefile$(PLATFORM) \ |
221 | kabc/plugins/opie/Makefile$(PLATFORM) \ |
219 | kabc/plugins/opie/Makefile$(PLATFORM) \ |
222 | kabc/plugins/qtopia/Makefile$(PLATFORM) \ |
220 | kabc/plugins/qtopia/Makefile$(PLATFORM) \ |
223 | kabc/plugins/sharpdtm/Makefile$(PLATFORM) \ |
221 | kabc/plugins/sharpdtm/Makefile$(PLATFORM) \ |
224 | kaddressbook/Makefile$(PLATFORM) \ |
222 | kaddressbook/Makefile$(PLATFORM) \ |
225 | kmicromail/Makefile$(PLATFORM) \ |
223 | kmicromail/Makefile$(PLATFORM) \ |
226 | kmicromail/libetpan/Makefile$(PLATFORM) \ |
224 | kmicromail/libetpan/Makefile$(PLATFORM) \ |
227 | kmicromail/libmailwrapper/Makefile$(PLATFORM) \ |
225 | kmicromail/libmailwrapper/Makefile$(PLATFORM) \ |
228 | gammu/emb/common/Makefile$(PLATFORM) \ |
226 | gammu/emb/common/Makefile$(PLATFORM) \ |
229 | gammu/emb/gammu/Makefile$(PLATFORM) \ |
227 | gammu/emb/gammu/Makefile$(PLATFORM) \ |
230 | |
228 | |
231 | |
229 | |
232 | |
230 | |
233 | |
231 | |
234 | qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro |
232 | qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro |
235 | cd qtcompat; tmake "CONFIG+=$(RELEASE_DEBUG)" qtcompat.pro -o Makefile$(PLATFORM) |
233 | cd qtcompat; tmake "CONFIG+=$(RELEASE_DEBUG)" qtcompat.pro -o Makefile$(PLATFORM) |
236 | |
234 | |
237 | microkde/Makefile$(PLATFORM): microkde/microkdeE.pro |
235 | microkde/Makefile$(PLATFORM): microkde/microkdeE.pro |
238 | cd microkde; tmake "CONFIG+=$(RELEASE_DEBUG)" microkdeE.pro -o Makefile$(PLATFORM) |
236 | cd microkde; tmake "CONFIG+=$(RELEASE_DEBUG)" microkdeE.pro -o Makefile$(PLATFORM) |
239 | |
237 | |
240 | libkcal/Makefile$(PLATFORM): libkcal/libkcalE.pro |
238 | libkcal/Makefile$(PLATFORM): libkcal/libkcalE.pro |
241 | cd libkcal; tmake "CONFIG+=$(RELEASE_DEBUG)" libkcalE.pro -o Makefile$(PLATFORM) |
239 | cd libkcal; tmake "CONFIG+=$(RELEASE_DEBUG)" libkcalE.pro -o Makefile$(PLATFORM) |
242 | |
240 | |
243 | |
241 | |
244 | libkdepim/Makefile$(PLATFORM): libkdepim/libkdepimE.pro |
242 | libkdepim/Makefile$(PLATFORM): libkdepim/libkdepimE.pro |
245 | cd libkdepim; tmake "CONFIG+=$(RELEASE_DEBUG)" libkdepimE.pro -o Makefile$(PLATFORM) |
243 | cd libkdepim; tmake "CONFIG+=$(RELEASE_DEBUG)" libkdepimE.pro -o Makefile$(PLATFORM) |
246 | |
244 | |
247 | kalarmd/Makefile$(PLATFORM): kalarmd/kalarmdE.pro |
245 | kalarmd/Makefile$(PLATFORM): kalarmd/kalarmdE.pro |
248 | cd kalarmd; tmake "CONFIG+=$(RELEASE_DEBUG)" kalarmdE.pro -o Makefile$(PLATFORM) |
246 | cd kalarmd; tmake "CONFIG+=$(RELEASE_DEBUG)" kalarmdE.pro -o Makefile$(PLATFORM) |
249 | |
247 | |
250 | korganizer/Makefile$(PLATFORM): korganizer/korganizerE.pro |
248 | korganizer/Makefile$(PLATFORM): korganizer/korganizerE.pro |
251 | cd korganizer; tmake "CONFIG+=$(RELEASE_DEBUG)" korganizerE.pro -o Makefile$(PLATFORM) |
249 | cd korganizer; tmake "CONFIG+=$(RELEASE_DEBUG)" korganizerE.pro -o Makefile$(PLATFORM) |
252 | |
250 | |
|