-rw-r--r-- | Makefile.Embedded | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile.Embedded b/Makefile.Embedded index b677087..467710f 100644 --- a/Makefile.Embedded +++ b/Makefile.Embedded | |||
@@ -180,136 +180,139 @@ variable_test: variable_info | |||
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 | install: | 223 | install: |
224 | 224 | ||
225 | cd bin/kdepim; make install | 225 | cd bin/kdepim; make install |
226 | cp -r Pim $(QPEDIR)/apps | 226 | cp -r Pim $(QPEDIR)/apps |
227 | cp db2file/db2file $(QPEDIR)/bin/db2file | 227 | cp db2file/db2file $(QPEDIR)/bin/db2file |
228 | cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop | 228 | cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop |
229 | cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop | 229 | cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop |
230 | cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kopiemail.desktop | 230 | cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kopiemail.desktop |
231 | cp pwmanager/pwmanager/pwmanager.desktop $(QPEDIR)/apps/Pim/pwmanager.desktop | 231 | cp pwmanager/pwmanager/pwmanager.desktop $(QPEDIR)/apps/Pim/pwmanager.desktop |
232 | 232 | ||
233 | dist: | 233 | dist: |
234 | @echo Dont forget to do "make install" before "make dist" | 234 | @echo Dont forget to do "make install" before "make dist" |
235 | rm -f *arm.ipk | 235 | rm -f *arm.ipk |
236 | rm -f *~ | 236 | rm -f *~ |
237 | cd ..; tar czf kdepimpi-$(KDEPIM_VERSION).tar.gz --exclude=obj --exclude=moc --exclude=CVS --exclude=Makefilezaurus --exclude=Makefileqtopia kdepim | 237 | cd ..; tar czf kdepimpi-$(KDEPIM_VERSION).tar.gz --exclude=obj --exclude=moc --exclude=CVS --exclude=Makefilezaurus --exclude=Makefileqtopia kdepim |
238 | mkipks kmicrokdelibs.control | 238 | mkipks kmicrokdelibs.control |
239 | mkipks korganizer.control | 239 | mkipks korganizer.control |
240 | mkipks kaddressbook.control | 240 | mkipks kaddressbook.control |
241 | ifndef BUILD_NO_MICROMAIL | 241 | ifndef BUILD_NO_MICROMAIL |
242 | mkipks kopiemail.control | 242 | mkipks kopiemail.control |
243 | endif | 243 | endif |
244 | ifndef BUILD_NO_SHARP_PLUGIN | ||
245 | mkipks ksharpPIM-DTMaccess.control | ||
246 | endif | ||
244 | mkipks korganizer-alarm.control | 247 | mkipks korganizer-alarm.control |
245 | ifndef BUILD_NO_GAMMU | 248 | ifndef BUILD_NO_GAMMU |
246 | mkipks phoneaccess.control | 249 | mkipks kmobilephoneaccess.control |
247 | endif | 250 | endif |
248 | ifndef BUILD_NO_PWMANAGER | 251 | ifndef BUILD_NO_PWMANAGER |
249 | mkipks pwmanager.control | 252 | mkipks pwmanager.control |
250 | endif | 253 | endif |
251 | mkipks pim_TAB_icon.control | 254 | mkipks pimTABicon.control |
252 | 255 | ||
253 | tmake: objects \ | 256 | tmake: objects \ |
254 | qtcompat/Makefile$(PLATFORM) \ | 257 | qtcompat/Makefile$(PLATFORM) \ |
255 | microkde/Makefile$(PLATFORM) \ | 258 | microkde/Makefile$(PLATFORM) \ |
256 | libkcal/Makefile$(PLATFORM) \ | 259 | libkcal/Makefile$(PLATFORM) \ |
257 | libkdepim/Makefile$(PLATFORM) \ | 260 | libkdepim/Makefile$(PLATFORM) \ |
258 | korganizer/Makefile$(PLATFORM) \ | 261 | korganizer/Makefile$(PLATFORM) \ |
259 | kalarmd/Makefile$(PLATFORM) \ | 262 | kalarmd/Makefile$(PLATFORM) \ |
260 | libical/src/libical/Makefile$(PLATFORM) \ | 263 | libical/src/libical/Makefile$(PLATFORM) \ |
261 | libical/src/libicalss/Makefile$(PLATFORM) \ | 264 | libical/src/libicalss/Makefile$(PLATFORM) \ |
262 | kabc/Makefile$(PLATFORM) \ | 265 | kabc/Makefile$(PLATFORM) \ |
263 | kabc/formats/binary/Makefile$(PLATFORM) \ | 266 | kabc/formats/binary/Makefile$(PLATFORM) \ |
264 | kabc/plugins/file/Makefile$(PLATFORM) \ | 267 | kabc/plugins/file/Makefile$(PLATFORM) \ |
265 | kabc/plugins/dir/Makefile$(PLATFORM) \ | 268 | kabc/plugins/dir/Makefile$(PLATFORM) \ |
266 | kabc/plugins/ldap/Makefile$(PLATFORM) \ | 269 | kabc/plugins/ldap/Makefile$(PLATFORM) \ |
267 | kabc/plugins/opie/Makefile$(PLATFORM) \ | 270 | kabc/plugins/opie/Makefile$(PLATFORM) \ |
268 | kabc/plugins/qtopia/Makefile$(PLATFORM) \ | 271 | kabc/plugins/qtopia/Makefile$(PLATFORM) \ |
269 | kabc/plugins/sharpdtm/Makefile$(PLATFORM) \ | 272 | kabc/plugins/sharpdtm/Makefile$(PLATFORM) \ |
270 | kaddressbook/Makefile$(PLATFORM) \ | 273 | kaddressbook/Makefile$(PLATFORM) \ |
271 | kmicromail/Makefile$(PLATFORM) \ | 274 | kmicromail/Makefile$(PLATFORM) \ |
272 | kmicromail/libetpan/Makefile$(PLATFORM) \ | 275 | kmicromail/libetpan/Makefile$(PLATFORM) \ |
273 | kmicromail/libmailwrapper/Makefile$(PLATFORM) \ | 276 | kmicromail/libmailwrapper/Makefile$(PLATFORM) \ |
274 | gammu/emb/common/Makefile$(PLATFORM) \ | 277 | gammu/emb/common/Makefile$(PLATFORM) \ |
275 | gammu/emb/gammu/Makefile$(PLATFORM) \ | 278 | gammu/emb/gammu/Makefile$(PLATFORM) \ |
276 | pwmanager/pwmanager/Makefile$(PLATFORM) \ | 279 | pwmanager/pwmanager/Makefile$(PLATFORM) \ |
277 | pwmanager/libcrypt/mpi/Makefile$(PLATFORM) \ | 280 | pwmanager/libcrypt/mpi/Makefile$(PLATFORM) \ |
278 | pwmanager/libcrypt/error/Makefile$(PLATFORM) \ | 281 | pwmanager/libcrypt/error/Makefile$(PLATFORM) \ |
279 | pwmanager/libcrypt/cipher/Makefile$(PLATFORM) \ | 282 | pwmanager/libcrypt/cipher/Makefile$(PLATFORM) \ |
280 | pwmanager/libcrypt/zlib/Makefile$(PLATFORM) | 283 | pwmanager/libcrypt/zlib/Makefile$(PLATFORM) |
281 | 284 | ||
282 | qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro | 285 | qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro |
283 | cd qtcompat; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" qtcompat.pro -o Makefile$(PLATFORM) | 286 | cd qtcompat; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" qtcompat.pro -o Makefile$(PLATFORM) |
284 | 287 | ||
285 | microkde/Makefile$(PLATFORM): microkde/microkdeE.pro | 288 | microkde/Makefile$(PLATFORM): microkde/microkdeE.pro |
286 | cd microkde; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" microkdeE.pro -o Makefile$(PLATFORM) | 289 | cd microkde; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" microkdeE.pro -o Makefile$(PLATFORM) |
287 | 290 | ||
288 | libkcal/Makefile$(PLATFORM): libkcal/libkcalE.pro | 291 | libkcal/Makefile$(PLATFORM): libkcal/libkcalE.pro |
289 | cd libkcal; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libkcalE.pro -o Makefile$(PLATFORM) | 292 | cd libkcal; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libkcalE.pro -o Makefile$(PLATFORM) |
290 | 293 | ||
291 | 294 | ||
292 | libkdepim/Makefile$(PLATFORM): libkdepim/libkdepimE.pro | 295 | libkdepim/Makefile$(PLATFORM): libkdepim/libkdepimE.pro |
293 | cd libkdepim; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libkdepimE.pro -o Makefile$(PLATFORM) | 296 | cd libkdepim; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libkdepimE.pro -o Makefile$(PLATFORM) |
294 | 297 | ||
295 | kalarmd/Makefile$(PLATFORM): kalarmd/kalarmdE.pro | 298 | kalarmd/Makefile$(PLATFORM): kalarmd/kalarmdE.pro |
296 | cd kalarmd; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kalarmdE.pro -o Makefile$(PLATFORM) | 299 | cd kalarmd; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kalarmdE.pro -o Makefile$(PLATFORM) |
297 | 300 | ||
298 | korganizer/Makefile$(PLATFORM): korganizer/korganizerE.pro | 301 | korganizer/Makefile$(PLATFORM): korganizer/korganizerE.pro |
299 | cd korganizer; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" korganizerE.pro -o Makefile$(PLATFORM) | 302 | cd korganizer; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" korganizerE.pro -o Makefile$(PLATFORM) |
300 | 303 | ||
301 | libical/src/libical/Makefile$(PLATFORM): libical/src/libical/libicalE.pro | 304 | libical/src/libical/Makefile$(PLATFORM): libical/src/libical/libicalE.pro |
302 | cd libical/src/libical; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libicalE.pro -o Makefile$(PLATFORM) | 305 | cd libical/src/libical; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libicalE.pro -o Makefile$(PLATFORM) |
303 | 306 | ||
304 | libical/src/libicalss/Makefile$(PLATFORM): libical/src/libicalss/libicalssE.pro | 307 | libical/src/libicalss/Makefile$(PLATFORM): libical/src/libicalss/libicalssE.pro |
305 | cd libical/src/libicalss; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libicalssE.pro -o Makefile$(PLATFORM) | 308 | cd libical/src/libicalss; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libicalssE.pro -o Makefile$(PLATFORM) |
306 | 309 | ||
307 | kabc/Makefile$(PLATFORM): kabc/kabcE.pro | 310 | kabc/Makefile$(PLATFORM): kabc/kabcE.pro |
308 | cd kabc; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kabcE.pro -o Makefile$(PLATFORM) | 311 | cd kabc; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kabcE.pro -o Makefile$(PLATFORM) |
309 | 312 | ||
310 | kabc/formats/binary/Makefile$(PLATFORM): kabc/formats/binary/kabcformat_binaryE.pro | 313 | kabc/formats/binary/Makefile$(PLATFORM): kabc/formats/binary/kabcformat_binaryE.pro |
311 | cd kabc/formats/binary; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kabcformat_binaryE.pro -o Makefile$(PLATFORM) | 314 | cd kabc/formats/binary; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kabcformat_binaryE.pro -o Makefile$(PLATFORM) |
312 | 315 | ||
313 | kabc/plugins/file/Makefile$(PLATFORM): kabc/plugins/file/fileE.pro | 316 | kabc/plugins/file/Makefile$(PLATFORM): kabc/plugins/file/fileE.pro |
314 | cd kabc/plugins/file; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" fileE.pro -o Makefile$(PLATFORM) | 317 | cd kabc/plugins/file; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" fileE.pro -o Makefile$(PLATFORM) |
315 | 318 | ||