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