author | zautrix <zautrix> | 2005-01-20 02:29:24 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-01-20 02:29:24 (UTC) |
commit | 234b9425bebd41b556277cdd94138fafecc32b45 (patch) (unidiff) | |
tree | 8402f6f9806a909e22882bb2b1d2ab6eecc092b8 | |
parent | b14b1ff10adff7344fa0f5bf44d83c7485f83cbc (diff) | |
download | kdepimpi-234b9425bebd41b556277cdd94138fafecc32b45.zip kdepimpi-234b9425bebd41b556277cdd94138fafecc32b45.tar.gz kdepimpi-234b9425bebd41b556277cdd94138fafecc32b45.tar.bz2 |
mf fixes
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | Makefile.Embedded | 2 |
2 files changed, 4 insertions, 0 deletions
@@ -176,96 +176,98 @@ variable_test: variable_info | |||
176 | endif | 176 | endif |
177 | ifndef PLATFORM | 177 | ifndef PLATFORM |
178 | @echo PLATFORM is not defined. | 178 | @echo PLATFORM is not defined. |
179 | $(error PLATFORM is not defined) | 179 | $(error PLATFORM is not defined) |
180 | endif | 180 | endif |
181 | ifdef BUILD_NO_LDAP_PLUGIN | 181 | ifdef BUILD_NO_LDAP_PLUGIN |
182 | @echo LDAP PLUGIN will not be build, because BUILD_NO_LDAP_PLUGIN is set to $(BUILD_NO_LDAP_PLUGIN) | 182 | @echo LDAP PLUGIN will not be build, because BUILD_NO_LDAP_PLUGIN is set to $(BUILD_NO_LDAP_PLUGIN) |
183 | endif | 183 | endif |
184 | ifdef BUILD_NO_OPIE_PLUGIN | 184 | ifdef BUILD_NO_OPIE_PLUGIN |
185 | @echo OPIE PLUGIN will not be build, because BUILD_NO_OPIE_PLUGIN is set to $(BUILD_NO_OPIE_PLUGIN) | 185 | @echo OPIE PLUGIN will not be build, because BUILD_NO_OPIE_PLUGIN is set to $(BUILD_NO_OPIE_PLUGIN) |
186 | endif | 186 | endif |
187 | ifdef BUILD_NO_QTOPIA_PLUGIN | 187 | ifdef BUILD_NO_QTOPIA_PLUGIN |
188 | @echo QTOPIA PLUGIN will not be build, because BUILD_NO__QTOPIA_PLUGIN is set to $(BUILD_NO__QTOPIA_PLUGIN) | 188 | @echo QTOPIA PLUGIN will not be build, because BUILD_NO__QTOPIA_PLUGIN is set to $(BUILD_NO__QTOPIA_PLUGIN) |
189 | endif | 189 | endif |
190 | ifdef BUILD_NO_MICROMAIL | 190 | ifdef BUILD_NO_MICROMAIL |
191 | @echo MICROMAIL will not be build, because BUILD_NO_MICROMAIL is set to $(BUILD_NO_MICROMAIL) | 191 | @echo MICROMAIL will not be build, because BUILD_NO_MICROMAIL is set to $(BUILD_NO_MICROMAIL) |
192 | endif | 192 | endif |
193 | ifdef BUILD_NO_SHARP_PLUGIN | 193 | ifdef BUILD_NO_SHARP_PLUGIN |
194 | @echo SHARP PLUGIN will not be build, because BUILD_NO_SHARP_PLUGIN is set to $(BUILD_NO_SHARP_PLUGIN) | 194 | @echo SHARP PLUGIN will not be build, because BUILD_NO_SHARP_PLUGIN is set to $(BUILD_NO_SHARP_PLUGIN) |
195 | else | 195 | else |
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* | ||
225 | rm -f $(QPEDIR)/plugins/applets/libkopi* | ||
224 | make | 226 | make |
225 | make install | 227 | make install |
226 | make dist | 228 | make dist |
227 | install: | 229 | install: |
228 | 230 | ||
229 | cd bin/kdepim; make install | 231 | cd bin/kdepim; make install |
230 | cp -r Pim $(QPEDIR)/apps | 232 | cp -r Pim $(QPEDIR)/apps |
231 | cp db2file/db2file $(QPEDIR)/bin/db2file | 233 | cp db2file/db2file $(QPEDIR)/bin/db2file |
232 | cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop | 234 | cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop |
233 | cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop | 235 | cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop |
234 | cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kopiemail.desktop | 236 | cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kopiemail.desktop |
235 | cp pwmanager/pwmanager/pwmanager.desktop $(QPEDIR)/apps/Pim/pwmanager.desktop | 237 | cp pwmanager/pwmanager/pwmanager.desktop $(QPEDIR)/apps/Pim/pwmanager.desktop |
236 | 238 | ||
237 | dist: | 239 | dist: |
238 | @echo Dont forget to do "make install" before "make dist" | 240 | @echo Dont forget to do "make install" before "make dist" |
239 | rm -f *arm.ipk | 241 | rm -f *arm.ipk |
240 | rm -f *ipk.zip | 242 | rm -f *ipk.zip |
241 | rm -f ../new_$(KDEPIM_VERSION)/* | 243 | rm -f ../new_$(KDEPIM_VERSION)/* |
242 | rm -f *~ | 244 | rm -f *~ |
243 | cd ..;mkdir -p new_$(KDEPIM_VERSION) | 245 | cd ..;mkdir -p new_$(KDEPIM_VERSION) |
244 | cd ..; tar czf kdepimpi-$(KDEPIM_VERSION).tar.gz --exclude=obj --exclude=moc --exclude=CVS --exclude=Makefilezaurus --exclude=Makefileqtopia kdepim | 246 | cd ..; tar czf kdepimpi-$(KDEPIM_VERSION).tar.gz --exclude=obj --exclude=moc --exclude=CVS --exclude=Makefilezaurus --exclude=Makefileqtopia kdepim |
245 | mkipks kmicrokdelibs.control | 247 | mkipks kmicrokdelibs.control |
246 | mkipks korganizer.control | 248 | mkipks korganizer.control |
247 | mkipks kaddressbook.control | 249 | mkipks kaddressbook.control |
248 | ifndef BUILD_NO_MICROMAIL | 250 | ifndef BUILD_NO_MICROMAIL |
249 | mkipks kopiemail.control | 251 | mkipks kopiemail.control |
250 | endif | 252 | endif |
251 | ifndef BUILD_NO_SHARP_PLUGIN | 253 | ifndef BUILD_NO_SHARP_PLUGIN |
252 | mkipks ksharpPIM-DTMaccess.control | 254 | mkipks ksharpPIM-DTMaccess.control |
253 | endif | 255 | endif |
254 | mkipks korganizer-alarm.control | 256 | mkipks korganizer-alarm.control |
255 | ifndef BUILD_NO_GAMMU | 257 | ifndef BUILD_NO_GAMMU |
256 | mkipks kmobilephoneaccess.control | 258 | mkipks kmobilephoneaccess.control |
257 | endif | 259 | endif |
258 | ifndef BUILD_NO_PWMANAGER | 260 | ifndef BUILD_NO_PWMANAGER |
259 | mkipks pwmanager.control | 261 | mkipks pwmanager.control |
260 | endif | 262 | endif |
261 | mkipks pimTABicon.control | 263 | mkipks pimTABicon.control |
262 | zip kdepim_$(KDEPIM_VERSION)_for_SharpRom.ipk.zip *.ipk ReleaseNotes.txt | 264 | zip kdepim_$(KDEPIM_VERSION)_for_SharpRom.ipk.zip *.ipk ReleaseNotes.txt |
263 | mv *.ipk ../new_$(KDEPIM_VERSION)/ | 265 | mv *.ipk ../new_$(KDEPIM_VERSION)/ |
264 | mv *for_SharpRom.ipk.zip ../new_$(KDEPIM_VERSION)/ | 266 | mv *for_SharpRom.ipk.zip ../new_$(KDEPIM_VERSION)/ |
265 | mv ../kdepimpi-$(KDEPIM_VERSION).tar.gz ../new_$(KDEPIM_VERSION)/ | 267 | mv ../kdepimpi-$(KDEPIM_VERSION).tar.gz ../new_$(KDEPIM_VERSION)/ |
266 | 268 | ||
267 | tmake: objects \ | 269 | tmake: objects \ |
268 | qtcompat/Makefile$(PLATFORM) \ | 270 | qtcompat/Makefile$(PLATFORM) \ |
269 | microkde/Makefile$(PLATFORM) \ | 271 | microkde/Makefile$(PLATFORM) \ |
270 | libkcal/Makefile$(PLATFORM) \ | 272 | libkcal/Makefile$(PLATFORM) \ |
271 | libkdepim/Makefile$(PLATFORM) \ | 273 | libkdepim/Makefile$(PLATFORM) \ |
diff --git a/Makefile.Embedded b/Makefile.Embedded index 5a51127..9096f01 100644 --- a/Makefile.Embedded +++ b/Makefile.Embedded | |||
@@ -176,96 +176,98 @@ variable_test: variable_info | |||
176 | endif | 176 | endif |
177 | ifndef PLATFORM | 177 | ifndef PLATFORM |
178 | @echo PLATFORM is not defined. | 178 | @echo PLATFORM is not defined. |
179 | $(error PLATFORM is not defined) | 179 | $(error PLATFORM is not defined) |
180 | endif | 180 | endif |
181 | ifdef BUILD_NO_LDAP_PLUGIN | 181 | ifdef BUILD_NO_LDAP_PLUGIN |
182 | @echo LDAP PLUGIN will not be build, because BUILD_NO_LDAP_PLUGIN is set to $(BUILD_NO_LDAP_PLUGIN) | 182 | @echo LDAP PLUGIN will not be build, because BUILD_NO_LDAP_PLUGIN is set to $(BUILD_NO_LDAP_PLUGIN) |
183 | endif | 183 | endif |
184 | ifdef BUILD_NO_OPIE_PLUGIN | 184 | ifdef BUILD_NO_OPIE_PLUGIN |
185 | @echo OPIE PLUGIN will not be build, because BUILD_NO_OPIE_PLUGIN is set to $(BUILD_NO_OPIE_PLUGIN) | 185 | @echo OPIE PLUGIN will not be build, because BUILD_NO_OPIE_PLUGIN is set to $(BUILD_NO_OPIE_PLUGIN) |
186 | endif | 186 | endif |
187 | ifdef BUILD_NO_QTOPIA_PLUGIN | 187 | ifdef BUILD_NO_QTOPIA_PLUGIN |
188 | @echo QTOPIA PLUGIN will not be build, because BUILD_NO__QTOPIA_PLUGIN is set to $(BUILD_NO__QTOPIA_PLUGIN) | 188 | @echo QTOPIA PLUGIN will not be build, because BUILD_NO__QTOPIA_PLUGIN is set to $(BUILD_NO__QTOPIA_PLUGIN) |
189 | endif | 189 | endif |
190 | ifdef BUILD_NO_MICROMAIL | 190 | ifdef BUILD_NO_MICROMAIL |
191 | @echo MICROMAIL will not be build, because BUILD_NO_MICROMAIL is set to $(BUILD_NO_MICROMAIL) | 191 | @echo MICROMAIL will not be build, because BUILD_NO_MICROMAIL is set to $(BUILD_NO_MICROMAIL) |
192 | endif | 192 | endif |
193 | ifdef BUILD_NO_SHARP_PLUGIN | 193 | ifdef BUILD_NO_SHARP_PLUGIN |
194 | @echo SHARP PLUGIN will not be build, because BUILD_NO_SHARP_PLUGIN is set to $(BUILD_NO_SHARP_PLUGIN) | 194 | @echo SHARP PLUGIN will not be build, because BUILD_NO_SHARP_PLUGIN is set to $(BUILD_NO_SHARP_PLUGIN) |
195 | else | 195 | else |
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* | ||
225 | rm -f $(QPEDIR)/plugins/applets/libkopi* | ||
224 | make | 226 | make |
225 | make install | 227 | make install |
226 | make dist | 228 | make dist |
227 | install: | 229 | install: |
228 | 230 | ||
229 | cd bin/kdepim; make install | 231 | cd bin/kdepim; make install |
230 | cp -r Pim $(QPEDIR)/apps | 232 | cp -r Pim $(QPEDIR)/apps |
231 | cp db2file/db2file $(QPEDIR)/bin/db2file | 233 | cp db2file/db2file $(QPEDIR)/bin/db2file |
232 | cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop | 234 | cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop |
233 | cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop | 235 | cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop |
234 | cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kopiemail.desktop | 236 | cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kopiemail.desktop |
235 | cp pwmanager/pwmanager/pwmanager.desktop $(QPEDIR)/apps/Pim/pwmanager.desktop | 237 | cp pwmanager/pwmanager/pwmanager.desktop $(QPEDIR)/apps/Pim/pwmanager.desktop |
236 | 238 | ||
237 | dist: | 239 | dist: |
238 | @echo Dont forget to do "make install" before "make dist" | 240 | @echo Dont forget to do "make install" before "make dist" |
239 | rm -f *arm.ipk | 241 | rm -f *arm.ipk |
240 | rm -f *ipk.zip | 242 | rm -f *ipk.zip |
241 | rm -f ../new_$(KDEPIM_VERSION)/* | 243 | rm -f ../new_$(KDEPIM_VERSION)/* |
242 | rm -f *~ | 244 | rm -f *~ |
243 | cd ..;mkdir -p new_$(KDEPIM_VERSION) | 245 | cd ..;mkdir -p new_$(KDEPIM_VERSION) |
244 | cd ..; tar czf kdepimpi-$(KDEPIM_VERSION).tar.gz --exclude=obj --exclude=moc --exclude=CVS --exclude=Makefilezaurus --exclude=Makefileqtopia kdepim | 246 | cd ..; tar czf kdepimpi-$(KDEPIM_VERSION).tar.gz --exclude=obj --exclude=moc --exclude=CVS --exclude=Makefilezaurus --exclude=Makefileqtopia kdepim |
245 | mkipks kmicrokdelibs.control | 247 | mkipks kmicrokdelibs.control |
246 | mkipks korganizer.control | 248 | mkipks korganizer.control |
247 | mkipks kaddressbook.control | 249 | mkipks kaddressbook.control |
248 | ifndef BUILD_NO_MICROMAIL | 250 | ifndef BUILD_NO_MICROMAIL |
249 | mkipks kopiemail.control | 251 | mkipks kopiemail.control |
250 | endif | 252 | endif |
251 | ifndef BUILD_NO_SHARP_PLUGIN | 253 | ifndef BUILD_NO_SHARP_PLUGIN |
252 | mkipks ksharpPIM-DTMaccess.control | 254 | mkipks ksharpPIM-DTMaccess.control |
253 | endif | 255 | endif |
254 | mkipks korganizer-alarm.control | 256 | mkipks korganizer-alarm.control |
255 | ifndef BUILD_NO_GAMMU | 257 | ifndef BUILD_NO_GAMMU |
256 | mkipks kmobilephoneaccess.control | 258 | mkipks kmobilephoneaccess.control |
257 | endif | 259 | endif |
258 | ifndef BUILD_NO_PWMANAGER | 260 | ifndef BUILD_NO_PWMANAGER |
259 | mkipks pwmanager.control | 261 | mkipks pwmanager.control |
260 | endif | 262 | endif |
261 | mkipks pimTABicon.control | 263 | mkipks pimTABicon.control |
262 | zip kdepim_$(KDEPIM_VERSION)_for_SharpRom.ipk.zip *.ipk ReleaseNotes.txt | 264 | zip kdepim_$(KDEPIM_VERSION)_for_SharpRom.ipk.zip *.ipk ReleaseNotes.txt |
263 | mv *.ipk ../new_$(KDEPIM_VERSION)/ | 265 | mv *.ipk ../new_$(KDEPIM_VERSION)/ |
264 | mv *for_SharpRom.ipk.zip ../new_$(KDEPIM_VERSION)/ | 266 | mv *for_SharpRom.ipk.zip ../new_$(KDEPIM_VERSION)/ |
265 | mv ../kdepimpi-$(KDEPIM_VERSION).tar.gz ../new_$(KDEPIM_VERSION)/ | 267 | mv ../kdepimpi-$(KDEPIM_VERSION).tar.gz ../new_$(KDEPIM_VERSION)/ |
266 | 268 | ||
267 | tmake: objects \ | 269 | tmake: objects \ |
268 | qtcompat/Makefile$(PLATFORM) \ | 270 | qtcompat/Makefile$(PLATFORM) \ |
269 | microkde/Makefile$(PLATFORM) \ | 271 | microkde/Makefile$(PLATFORM) \ |
270 | libkcal/Makefile$(PLATFORM) \ | 272 | libkcal/Makefile$(PLATFORM) \ |
271 | libkdepim/Makefile$(PLATFORM) \ | 273 | libkdepim/Makefile$(PLATFORM) \ |