|
diff --git a/Makefile b/Makefile index b677087..467710f 100644 --- a/ Makefile+++ b/ Makefile |
|
@@ -196,104 +196,107 @@ variable_test: variable_info |
196 | ifndef SHARPDTMSDK |
196 | ifndef SHARPDTMSDK |
197 | @echo SHARP PLUGIN can not be build, because SHARPDTMSDK is set to $(SHARPDTMSDK) |
197 | @echo SHARP PLUGIN can not be build, because SHARPDTMSDK is set to $(SHARPDTMSDK) |
198 | $(error SHARPDTMSDK is not defined) |
198 | $(error SHARPDTMSDK is not defined) |
199 | endif |
199 | endif |
200 | endif |
200 | endif |
201 | ifdef BUILD_NO_GAMMU |
201 | ifdef BUILD_NO_GAMMU |
202 | @echo GAMMU will not be build, because BUILD_NO_GAMMU is set to $(BUILD_NO_GAMMU) |
202 | @echo GAMMU will not be build, because BUILD_NO_GAMMU is set to $(BUILD_NO_GAMMU) |
203 | endif |
203 | endif |
204 | ifdef BUILD_NO_PWMANAGER |
204 | ifdef BUILD_NO_PWMANAGER |
205 | @echo PWMANAGER will not be build, because BUILD_NO_PWMANAGER is set to $(BUILD_NO_PWMANAGER) |
205 | @echo PWMANAGER will not be build, because BUILD_NO_PWMANAGER is set to $(BUILD_NO_PWMANAGER) |
206 | endif |
206 | endif |
207 | @echo -------------------------------------- |
207 | @echo -------------------------------------- |
208 | |
208 | |
209 | |
209 | |
210 | objects: |
210 | objects: |
211 | for i in $(SUBDIRS); do mkdir -p $$i/obj/$(PLATFORM); done |
211 | for i in $(SUBDIRS); do mkdir -p $$i/obj/$(PLATFORM); done |
212 | for i in $(SUBDIRS); do mkdir -p $$i/moc/$(PLATFORM); done |
212 | for i in $(SUBDIRS); do mkdir -p $$i/moc/$(PLATFORM); done |
213 | mkdir -p libical/lib/$(PLATFORM) |
213 | mkdir -p libical/lib/$(PLATFORM) |
214 | mkdir -p pwmanager/libcrypt/$(PLATFORM) |
214 | mkdir -p pwmanager/libcrypt/$(PLATFORM) |
215 | |
215 | |
216 | clean: |
216 | clean: |
217 | rm -rf libical/lib/$(PLATFORM)/*; |
217 | rm -rf libical/lib/$(PLATFORM)/*; |
218 | rm -rf pwmanager/libcrypt/$(PLATFORM)/*; |
218 | rm -rf pwmanager/libcrypt/$(PLATFORM)/*; |
219 | for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\ |
219 | for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\ |
220 | rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \ |
220 | rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \ |
221 | done |
221 | done |
222 | |
222 | |
223 | install: |
223 | install: |
224 | |
224 | |
225 | cd bin/kdepim; make install |
225 | cd bin/kdepim; make install |
226 | cp -r Pim $(QPEDIR)/apps |
226 | cp -r Pim $(QPEDIR)/apps |
227 | cp db2file/db2file $(QPEDIR)/bin/db2file |
227 | cp db2file/db2file $(QPEDIR)/bin/db2file |
228 | cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop |
228 | cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop |
229 | cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop |
229 | cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop |
230 | cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kopiemail.desktop |
230 | cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kopiemail.desktop |
231 | cp pwmanager/pwmanager/pwmanager.desktop $(QPEDIR)/apps/Pim/pwmanager.desktop |
231 | cp pwmanager/pwmanager/pwmanager.desktop $(QPEDIR)/apps/Pim/pwmanager.desktop |
232 | |
232 | |
233 | dist: |
233 | dist: |
234 | @echo Dont forget to do "make install" before "make dist" |
234 | @echo Dont forget to do "make install" before "make dist" |
235 | rm -f *arm.ipk |
235 | rm -f *arm.ipk |
236 | rm -f *~ |
236 | rm -f *~ |
237 | cd ..; tar czf kdepimpi-$(KDEPIM_VERSION).tar.gz --exclude=obj --exclude=moc --exclude=CVS --exclude=Makefilezaurus --exclude=Makefileqtopia kdepim |
237 | cd ..; tar czf kdepimpi-$(KDEPIM_VERSION).tar.gz --exclude=obj --exclude=moc --exclude=CVS --exclude=Makefilezaurus --exclude=Makefileqtopia kdepim |
238 | mkipks kmicrokdelibs.control |
238 | mkipks kmicrokdelibs.control |
239 | mkipks korganizer.control |
239 | mkipks korganizer.control |
240 | mkipks kaddressbook.control |
240 | mkipks kaddressbook.control |
241 | ifndef BUILD_NO_MICROMAIL |
241 | ifndef BUILD_NO_MICROMAIL |
242 | mkipks kopiemail.control |
242 | mkipks kopiemail.control |
243 | endif |
243 | endif |
| |
244 | ifndef BUILD_NO_SHARP_PLUGIN |
| |
245 | mkipks ksharpPIM-DTMaccess.control |
| |
246 | endif |
244 | mkipks korganizer-alarm.control |
247 | mkipks korganizer-alarm.control |
245 | ifndef BUILD_NO_GAMMU |
248 | ifndef BUILD_NO_GAMMU |
246 | mkipks phoneaccess.control |
249 | mkipks kmobilephoneaccess.control |
247 | endif |
250 | endif |
248 | ifndef BUILD_NO_PWMANAGER |
251 | ifndef BUILD_NO_PWMANAGER |
249 | mkipks pwmanager.control |
252 | mkipks pwmanager.control |
250 | endif |
253 | endif |
251 | mkipks pim_TAB_icon.control |
254 | mkipks pimTABicon.control |
252 | |
255 | |
253 | tmake: objects \ |
256 | tmake: objects \ |
254 | qtcompat/Makefile$(PLATFORM) \ |
257 | qtcompat/Makefile$(PLATFORM) \ |
255 | microkde/Makefile$(PLATFORM) \ |
258 | microkde/Makefile$(PLATFORM) \ |
256 | libkcal/Makefile$(PLATFORM) \ |
259 | libkcal/Makefile$(PLATFORM) \ |
257 | libkdepim/Makefile$(PLATFORM) \ |
260 | libkdepim/Makefile$(PLATFORM) \ |
258 | korganizer/Makefile$(PLATFORM) \ |
261 | korganizer/Makefile$(PLATFORM) \ |
259 | kalarmd/Makefile$(PLATFORM) \ |
262 | kalarmd/Makefile$(PLATFORM) \ |
260 | libical/src/libical/Makefile$(PLATFORM) \ |
263 | libical/src/libical/Makefile$(PLATFORM) \ |
261 | libical/src/libicalss/Makefile$(PLATFORM) \ |
264 | libical/src/libicalss/Makefile$(PLATFORM) \ |
262 | kabc/Makefile$(PLATFORM) \ |
265 | kabc/Makefile$(PLATFORM) \ |
263 | kabc/formats/binary/Makefile$(PLATFORM) \ |
266 | kabc/formats/binary/Makefile$(PLATFORM) \ |
264 | kabc/plugins/file/Makefile$(PLATFORM) \ |
267 | kabc/plugins/file/Makefile$(PLATFORM) \ |
265 | kabc/plugins/dir/Makefile$(PLATFORM) \ |
268 | kabc/plugins/dir/Makefile$(PLATFORM) \ |
266 | kabc/plugins/ldap/Makefile$(PLATFORM) \ |
269 | kabc/plugins/ldap/Makefile$(PLATFORM) \ |
267 | kabc/plugins/opie/Makefile$(PLATFORM) \ |
270 | kabc/plugins/opie/Makefile$(PLATFORM) \ |
268 | kabc/plugins/qtopia/Makefile$(PLATFORM) \ |
271 | kabc/plugins/qtopia/Makefile$(PLATFORM) \ |
269 | kabc/plugins/sharpdtm/Makefile$(PLATFORM) \ |
272 | kabc/plugins/sharpdtm/Makefile$(PLATFORM) \ |
270 | kaddressbook/Makefile$(PLATFORM) \ |
273 | kaddressbook/Makefile$(PLATFORM) \ |
271 | kmicromail/Makefile$(PLATFORM) \ |
274 | kmicromail/Makefile$(PLATFORM) \ |
272 | kmicromail/libetpan/Makefile$(PLATFORM) \ |
275 | kmicromail/libetpan/Makefile$(PLATFORM) \ |
273 | kmicromail/libmailwrapper/Makefile$(PLATFORM) \ |
276 | kmicromail/libmailwrapper/Makefile$(PLATFORM) \ |
274 | gammu/emb/common/Makefile$(PLATFORM) \ |
277 | gammu/emb/common/Makefile$(PLATFORM) \ |
275 | gammu/emb/gammu/Makefile$(PLATFORM) \ |
278 | gammu/emb/gammu/Makefile$(PLATFORM) \ |
276 | pwmanager/pwmanager/Makefile$(PLATFORM) \ |
279 | pwmanager/pwmanager/Makefile$(PLATFORM) \ |
277 | pwmanager/libcrypt/mpi/Makefile$(PLATFORM) \ |
280 | pwmanager/libcrypt/mpi/Makefile$(PLATFORM) \ |
278 | pwmanager/libcrypt/error/Makefile$(PLATFORM) \ |
281 | pwmanager/libcrypt/error/Makefile$(PLATFORM) \ |
279 | pwmanager/libcrypt/cipher/Makefile$(PLATFORM) \ |
282 | pwmanager/libcrypt/cipher/Makefile$(PLATFORM) \ |
280 | pwmanager/libcrypt/zlib/Makefile$(PLATFORM) |
283 | pwmanager/libcrypt/zlib/Makefile$(PLATFORM) |
281 | |
284 | |
282 | qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro |
285 | qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro |
283 | cd qtcompat; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" qtcompat.pro -o Makefile$(PLATFORM) |
286 | cd qtcompat; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" qtcompat.pro -o Makefile$(PLATFORM) |
284 | |
287 | |
285 | microkde/Makefile$(PLATFORM): microkde/microkdeE.pro |
288 | microkde/Makefile$(PLATFORM): microkde/microkdeE.pro |
286 | cd microkde; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" microkdeE.pro -o Makefile$(PLATFORM) |
289 | cd microkde; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" microkdeE.pro -o Makefile$(PLATFORM) |
287 | |
290 | |
288 | libkcal/Makefile$(PLATFORM): libkcal/libkcalE.pro |
291 | libkcal/Makefile$(PLATFORM): libkcal/libkcalE.pro |
289 | cd libkcal; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libkcalE.pro -o Makefile$(PLATFORM) |
292 | cd libkcal; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libkcalE.pro -o Makefile$(PLATFORM) |
290 | |
293 | |
291 | |
294 | |
292 | libkdepim/Makefile$(PLATFORM): libkdepim/libkdepimE.pro |
295 | libkdepim/Makefile$(PLATFORM): libkdepim/libkdepimE.pro |
293 | cd libkdepim; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libkdepimE.pro -o Makefile$(PLATFORM) |
296 | cd libkdepim; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libkdepimE.pro -o Makefile$(PLATFORM) |
294 | |
297 | |
295 | kalarmd/Makefile$(PLATFORM): kalarmd/kalarmdE.pro |
298 | kalarmd/Makefile$(PLATFORM): kalarmd/kalarmdE.pro |
296 | cd kalarmd; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kalarmdE.pro -o Makefile$(PLATFORM) |
299 | cd kalarmd; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kalarmdE.pro -o Makefile$(PLATFORM) |
297 | |
300 | |
298 | korganizer/Makefile$(PLATFORM): korganizer/korganizerE.pro |
301 | korganizer/Makefile$(PLATFORM): korganizer/korganizerE.pro |
299 | cd korganizer; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" korganizerE.pro -o Makefile$(PLATFORM) |
302 | cd korganizer; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" korganizerE.pro -o Makefile$(PLATFORM) |
|