|
diff --git a/Makefile b/Makefile index 1adfb2c..0b8997e 100644 --- a/ Makefile+++ b/ Makefile |
|
@@ -54,16 +54,17 @@ SUBDIRS = \ |
54 | $(SUBDIRS_QTOPIA_PLUGIN) \ |
54 | $(SUBDIRS_QTOPIA_PLUGIN) \ |
55 | $(SUBDIRS_OPIE_PLUGIN) \ |
55 | $(SUBDIRS_OPIE_PLUGIN) \ |
56 | $(SUBDIRS_SHARP_PLUGIN) \ |
56 | $(SUBDIRS_SHARP_PLUGIN) \ |
57 | $(SUBDIRS_LDAP_PLUGIN) \ |
57 | $(SUBDIRS_LDAP_PLUGIN) \ |
58 | $(SUBDIRS_MICROMAIL) \ |
58 | $(SUBDIRS_MICROMAIL) \ |
59 | $(SUBDIRS_GAMMU) \ |
59 | $(SUBDIRS_GAMMU) \ |
60 | $(SUBDIRS_PWMANAGER) |
60 | $(SUBDIRS_PWMANAGER) |
61 | |
61 | |
| |
62 | |
62 | all: build_microkde \ |
63 | all: build_microkde \ |
63 | build_qtopia_plugin \ |
64 | build_qtopia_plugin \ |
64 | build_opie_plugin \ |
65 | build_opie_plugin \ |
65 | build_sharp_plugin \ |
66 | build_sharp_plugin \ |
66 | build_ldap_plugin \ |
67 | build_ldap_plugin \ |
67 | build_micromail \ |
68 | build_micromail \ |
68 | build_gammu \ |
69 | build_gammu \ |
69 | build_pwmanager |
70 | build_pwmanager |
@@ -196,40 +197,41 @@ objects: |
196 | for i in $(SUBDIRS); do mkdir -p $$i/moc/$(PLATFORM); done |
197 | for i in $(SUBDIRS); do mkdir -p $$i/moc/$(PLATFORM); done |
197 | mkdir -p libical/lib/$(PLATFORM) |
198 | mkdir -p libical/lib/$(PLATFORM) |
198 | |
199 | |
199 | clean: |
200 | clean: |
200 | rm -rf libical/lib/$(PLATFORM)/*; |
201 | rm -rf libical/lib/$(PLATFORM)/*; |
201 | for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\ |
202 | for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\ |
202 | rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \ |
203 | rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \ |
203 | done |
204 | done |
| |
205 | |
204 | install: |
206 | install: |
205 | |
207 | |
206 | cd bin/kdepim; make install |
208 | cd bin/kdepim; make install |
207 | cp -r Pim $(QPEDIR)/apps |
209 | cp -r Pim $(QPEDIR)/apps |
208 | cp db2file/db2file $(QPEDIR)/bin/db2file |
210 | cp db2file/db2file $(QPEDIR)/bin/db2file |
209 | cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop |
211 | cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop |
210 | cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop |
212 | cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop |
211 | cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kopiemail.desktop |
213 | cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kopiemail.desktop |
212 | cp pwmanager/pwmanager/pwmanager.desktop $(QPEDIR)/apps/Pim/pwmanager.desktop |
214 | cp pwmanager/pwmanager/pwmanager.desktop $(QPEDIR)/apps/Pim/pwmanager.desktop |
213 | |
215 | |
214 | dist: |
216 | dist: |
215 | @echo Dont forget to do "make install" before "make dist" |
217 | @echo Dont forget to do "make install" before "make dist" |
216 | rm -f *arm.ipk |
218 | rm -f *arm.ipk |
217 | rm -f *~ |
219 | rm -f *~ |
218 | cd ..; tar czf kdepim.src.tar.gz --exclude=obj --exclude=moc --exclude=CVS --exclude=Makefilezaurus --exclude=Makefileqtopia kdepim |
220 | cd ..; tar czf kdepim.src.tar.gz --exclude=obj --exclude=moc --exclude=CVS --exclude=Makefilezaurus --exclude=Makefileqtopia kdepim |
219 | ./mkipks kmicrokdelibs.control |
221 | ./mkipks kmicrokdelibs.control |
220 | ./mkipks korganizer.control |
222 | ./mkipks korganizer.control |
221 | ./mkipks kaddressbook.control |
223 | ./mkipks kaddressbook.control |
222 | ifndef BUILD_NO_MICROMAIL |
224 | ifndef BUILD_NO_MICROMAIL |
223 | ./mkipks kopiemail.control |
225 | ./mkipks kopiemail.control |
224 | endif |
226 | endif |
225 | ./mkipks korganizer-alarm.control |
227 | ./mkipks korganizer-alarm.control |
226 | ifndef BUILD_NO_GAMMU |
228 | ifndef BUILD_NO_GAMMU |
227 | ./mkipks kammu.control |
229 | ./mkipks phoneaccess.control |
228 | endif |
230 | endif |
229 | ifndef BUILD_NO_PWMANAGER |
231 | ifndef BUILD_NO_PWMANAGER |
230 | ./mkipks pwmanager.control |
232 | ./mkipks pwmanager.control |
231 | endif |
233 | endif |
232 | ./mkipks pim_TAB_icon.control |
234 | ./mkipks pim_TAB_icon.control |
233 | |
235 | |
234 | tmake: objects \ |
236 | tmake: objects \ |
235 | qtcompat/Makefile$(PLATFORM) \ |
237 | qtcompat/Makefile$(PLATFORM) \ |
@@ -251,18 +253,16 @@ tmake: objects \ |
251 | kaddressbook/Makefile$(PLATFORM) \ |
253 | kaddressbook/Makefile$(PLATFORM) \ |
252 | kmicromail/Makefile$(PLATFORM) \ |
254 | kmicromail/Makefile$(PLATFORM) \ |
253 | kmicromail/libetpan/Makefile$(PLATFORM) \ |
255 | kmicromail/libetpan/Makefile$(PLATFORM) \ |
254 | kmicromail/libmailwrapper/Makefile$(PLATFORM) \ |
256 | kmicromail/libmailwrapper/Makefile$(PLATFORM) \ |
255 | gammu/emb/common/Makefile$(PLATFORM) \ |
257 | gammu/emb/common/Makefile$(PLATFORM) \ |
256 | gammu/emb/gammu/Makefile$(PLATFORM) \ |
258 | gammu/emb/gammu/Makefile$(PLATFORM) \ |
257 | pwmanager/pwmanager/Makefile$(PLATFORM) \ |
259 | pwmanager/pwmanager/Makefile$(PLATFORM) \ |
258 | |
260 | |
259 | |
| |
260 | |
| |
261 | qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro |
261 | qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro |
262 | cd qtcompat; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" qtcompat.pro -o Makefile$(PLATFORM) |
262 | cd qtcompat; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" qtcompat.pro -o Makefile$(PLATFORM) |
263 | |
263 | |
264 | microkde/Makefile$(PLATFORM): microkde/microkdeE.pro |
264 | microkde/Makefile$(PLATFORM): microkde/microkdeE.pro |
265 | cd microkde; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" microkdeE.pro -o Makefile$(PLATFORM) |
265 | cd microkde; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" microkdeE.pro -o Makefile$(PLATFORM) |
266 | |
266 | |
267 | libkcal/Makefile$(PLATFORM): libkcal/libkcalE.pro |
267 | libkcal/Makefile$(PLATFORM): libkcal/libkcalE.pro |
268 | cd libkcal; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libkcalE.pro -o Makefile$(PLATFORM) |
268 | cd libkcal; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libkcalE.pro -o Makefile$(PLATFORM) |
@@ -322,8 +322,9 @@ kmicromail/libmailwrapper/Makefile$(PLATFORM): kmicromail/libmailwrapper/libmail |
322 | gammu/emb/common/Makefile$(PLATFORM): gammu/emb/common/commonE.pro |
322 | gammu/emb/common/Makefile$(PLATFORM): gammu/emb/common/commonE.pro |
323 | cd gammu/emb/common; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" commonE.pro -o Makefile$(PLATFORM) |
323 | cd gammu/emb/common; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" commonE.pro -o Makefile$(PLATFORM) |
324 | |
324 | |
325 | gammu/emb/gammu/Makefile$(PLATFORM): gammu/emb/gammu/gammuE.pro |
325 | gammu/emb/gammu/Makefile$(PLATFORM): gammu/emb/gammu/gammuE.pro |
326 | cd gammu/emb/gammu; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" gammuE.pro -o Makefile$(PLATFORM) |
326 | cd gammu/emb/gammu; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" gammuE.pro -o Makefile$(PLATFORM) |
327 | |
327 | |
328 | pwmanager/pwmanager/Makefile$(PLATFORM): pwmanager/pwmanager/pwmanagerE.pro |
328 | pwmanager/pwmanager/Makefile$(PLATFORM): pwmanager/pwmanager/pwmanagerE.pro |
329 | cd pwmanager/pwmanager; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" pwmanagerE.pro -o Makefile$(PLATFORM) |
329 | cd pwmanager/pwmanager; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" pwmanagerE.pro -o Makefile$(PLATFORM) |
| |
330 | |
|