|
diff --git a/Makefile b/Makefile index 9656532..b2ef295 100644 --- a/ Makefile+++ b/ Makefile |
|
@@ -196,97 +196,97 @@ 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 | pac: |
223 | pac: |
224 | rm -f $(QPEDIR)/lib/libmicro* |
224 | rm -f $(QPEDIR)/lib/libmicro* |
225 | rm -f $(QPEDIR)/plugins/applets/libkopi* |
225 | rm -f $(QPEDIR)/plugins/applets/libkopi* |
226 | make |
226 | make |
227 | make install |
227 | make install |
228 | make dist |
228 | make dist |
229 | install: |
229 | install: |
230 | |
230 | |
231 | cd bin/kdepim; make install |
231 | cd bin/kdepim; make install |
232 | cp -r Pim $(QPEDIR)/apps |
232 | cp -r Pim $(QPEDIR)/apps |
233 | cp db2file/db2file $(QPEDIR)/bin/db2file |
233 | cp db2file/db2file $(QPEDIR)/bin/db2file |
234 | chmod ugo+x $(QPEDIR)/bin/db2file |
234 | chmod ugo+x $(QPEDIR)/bin/db2file |
235 | cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop |
235 | cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop |
236 | cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop |
236 | cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop |
237 | cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kopiemail.desktop |
237 | cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kopiemail.desktop |
238 | cp pwmanager/pwmanager/pwmanager.desktop $(QPEDIR)/apps/Pim/pwmanager.desktop |
238 | cp pwmanager/pwmanager/pwmanager.desktop $(QPEDIR)/apps/Pim/pwmanager.desktop |
239 | |
239 | |
240 | dist: |
240 | dist: |
241 | @echo Dont forget to do "make install" before "make dist" |
241 | @echo Dont forget to do "make install" before "make dist" |
242 | rm -f *arm.ipk |
242 | rm -f *arm.ipk |
243 | rm -f *ipk.zip |
243 | rm -f *ipk.zip |
244 | rm -f ../new_$(KDEPIM_VERSION)/* |
244 | rm -rf ../kdepimpi_$(KDEPIM_VERSION)/* |
245 | rm -f *~ |
245 | rm -f *~ |
246 | cd ..;mkdir -p kdepimpi_$(KDEPIM_VERSION) |
246 | cd ..;mkdir -p kdepimpi_$(KDEPIM_VERSION) |
247 | cd ../kdepimpi_$(KDEPIM_VERSION);mkdir -p ipk |
247 | cd ../kdepimpi_$(KDEPIM_VERSION);mkdir -p ipk |
248 | cd ..; tar czf kdepimpi-$(KDEPIM_VERSION).tar.gz --exclude=obj --exclude=moc --exclude=CVS --exclude=Makefilezaurus --exclude=Makefileqtopia kdepim |
248 | cd ..; tar czf kdepimpi-$(KDEPIM_VERSION).tar.gz --exclude=obj --exclude=moc --exclude=CVS --exclude=Makefilezaurus --exclude=Makefileqtopia kdepim |
249 | mkipks kmicrokdelibs.control |
249 | mkipks kmicrokdelibs.control |
250 | mkipks korganizer.control |
250 | mkipks korganizer.control |
251 | mkipks kaddressbook.control |
251 | mkipks kaddressbook.control |
252 | ifndef BUILD_NO_MICROMAIL |
252 | ifndef BUILD_NO_MICROMAIL |
253 | mkipks kopiemail.control |
253 | mkipks kopiemail.control |
254 | endif |
254 | endif |
255 | ifndef BUILD_NO_SHARP_PLUGIN |
255 | ifndef BUILD_NO_SHARP_PLUGIN |
256 | mkipks ksharpPIM-DTMaccess.control |
256 | mkipks ksharpPIM-DTMaccess.control |
257 | endif |
257 | endif |
258 | mkipks korganizer-alarm.control |
258 | mkipks korganizer-alarm.control |
259 | ifndef BUILD_NO_GAMMU |
259 | ifndef BUILD_NO_GAMMU |
260 | mkipks kmobilephoneaccess.control |
260 | mkipks kmobilephoneaccess.control |
261 | endif |
261 | endif |
262 | ifndef BUILD_NO_PWMANAGER |
262 | ifndef BUILD_NO_PWMANAGER |
263 | mkipks pwmanager.control |
263 | mkipks pwmanager.control |
264 | endif |
264 | endif |
265 | mkipks pimTABicon.control |
265 | mkipks pimTABicon.control |
266 | zip kdepim_$(KDEPIM_VERSION)_for_SharpRom.ipk.zip *.ipk ReleaseNotes.txt |
266 | zip kdepim_$(KDEPIM_VERSION)_for_SharpRom.ipk.zip *.ipk ReleaseNotes.txt |
267 | mv *.ipk ../kdepimpi_$(KDEPIM_VERSION)/ipk/ |
267 | mv *.ipk ../kdepimpi_$(KDEPIM_VERSION)/ipk/ |
268 | mv *for_SharpRom.ipk.zip ../kdepimpi_$(KDEPIM_VERSION)/ |
268 | mv *for_SharpRom.ipk.zip ../kdepimpi_$(KDEPIM_VERSION)/ |
269 | mv ../kdepimpi-$(KDEPIM_VERSION).tar.gz ../kdepimpi_$(KDEPIM_VERSION)/ |
269 | mv ../kdepimpi-$(KDEPIM_VERSION).tar.gz ../kdepimpi_$(KDEPIM_VERSION)/ |
270 | |
270 | |
271 | tmake: objects \ |
271 | tmake: objects \ |
272 | qtcompat/Makefile$(PLATFORM) \ |
272 | qtcompat/Makefile$(PLATFORM) \ |
273 | microkde/Makefile$(PLATFORM) \ |
273 | microkde/Makefile$(PLATFORM) \ |
274 | libkcal/Makefile$(PLATFORM) \ |
274 | libkcal/Makefile$(PLATFORM) \ |
275 | libkdepim/Makefile$(PLATFORM) \ |
275 | libkdepim/Makefile$(PLATFORM) \ |
276 | korganizer/Makefile$(PLATFORM) \ |
276 | korganizer/Makefile$(PLATFORM) \ |
277 | kalarmd/Makefile$(PLATFORM) \ |
277 | kalarmd/Makefile$(PLATFORM) \ |
278 | libical/src/libical/Makefile$(PLATFORM) \ |
278 | libical/src/libical/Makefile$(PLATFORM) \ |
279 | libical/src/libicalss/Makefile$(PLATFORM) \ |
279 | libical/src/libicalss/Makefile$(PLATFORM) \ |
280 | kabc/Makefile$(PLATFORM) \ |
280 | kabc/Makefile$(PLATFORM) \ |
281 | kabc/formats/binary/Makefile$(PLATFORM) \ |
281 | kabc/formats/binary/Makefile$(PLATFORM) \ |
282 | kabc/plugins/file/Makefile$(PLATFORM) \ |
282 | kabc/plugins/file/Makefile$(PLATFORM) \ |
283 | kabc/plugins/dir/Makefile$(PLATFORM) \ |
283 | kabc/plugins/dir/Makefile$(PLATFORM) \ |
284 | kabc/plugins/ldap/Makefile$(PLATFORM) \ |
284 | kabc/plugins/ldap/Makefile$(PLATFORM) \ |
285 | kabc/plugins/opie/Makefile$(PLATFORM) \ |
285 | kabc/plugins/opie/Makefile$(PLATFORM) \ |
286 | kabc/plugins/qtopia/Makefile$(PLATFORM) \ |
286 | kabc/plugins/qtopia/Makefile$(PLATFORM) \ |
287 | kabc/plugins/sharpdtm/Makefile$(PLATFORM) \ |
287 | kabc/plugins/sharpdtm/Makefile$(PLATFORM) \ |
288 | kaddressbook/Makefile$(PLATFORM) \ |
288 | kaddressbook/Makefile$(PLATFORM) \ |
289 | kmicromail/Makefile$(PLATFORM) \ |
289 | kmicromail/Makefile$(PLATFORM) \ |
290 | kmicromail/libetpan/Makefile$(PLATFORM) \ |
290 | kmicromail/libetpan/Makefile$(PLATFORM) \ |
291 | kmicromail/libmailwrapper/Makefile$(PLATFORM) \ |
291 | kmicromail/libmailwrapper/Makefile$(PLATFORM) \ |
292 | gammu/emb/common/Makefile$(PLATFORM) \ |
292 | gammu/emb/common/Makefile$(PLATFORM) \ |
|