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