summaryrefslogtreecommitdiffabout
path: root/Makefile.Embedded
authorulf69 <ulf69>2004-09-22 22:13:39 (UTC)
committer ulf69 <ulf69>2004-09-22 22:13:39 (UTC)
commitd28c61ac4955016463eb2cd47f35d3742f79ffbe (patch) (unidiff)
tree50850596f62a20f3ea4d2d5422771ff46259cb26 /Makefile.Embedded
parentee64e08629d02e97b8e64079cf14d2dab150c761 (diff)
downloadkdepimpi-d28c61ac4955016463eb2cd47f35d3742f79ffbe.zip
kdepimpi-d28c61ac4955016463eb2cd47f35d3742f79ffbe.tar.gz
kdepimpi-d28c61ac4955016463eb2cd47f35d3742f79ffbe.tar.bz2
added VERSION=$KDELIB_VERSION to add versionnumber to libraries during linking
Diffstat (limited to 'Makefile.Embedded') (more/less context) (ignore whitespace changes)
-rw-r--r--Makefile.Embedded56
1 files changed, 29 insertions, 27 deletions
diff --git a/Makefile.Embedded b/Makefile.Embedded
index 6856b62..2e1651c 100644
--- a/Makefile.Embedded
+++ b/Makefile.Embedded
@@ -1,5 +1,6 @@
1export KDEPIMDIR = $(shell pwd) 1export KDEPIMDIR = $(shell pwd)
2 2
3export KDEPIM_VERSION=$(shell sed -e 's/.*\"\([0-9]*\.[0-9]*\.[0-9]*\).*/\1/' < version)
3 4
4ifeq ($(PLATFORM) , zaurus) 5ifeq ($(PLATFORM) , zaurus)
5 BUILD_NO_LDAP_PLUGIN=1 6 BUILD_NO_LDAP_PLUGIN=1
@@ -58,6 +59,7 @@ SUBDIRS = \
58 $(SUBDIRS_GAMMU) \ 59 $(SUBDIRS_GAMMU) \
59 $(SUBDIRS_PWMANAGER) 60 $(SUBDIRS_PWMANAGER)
60 61
62
61all: build_microkde \ 63all: build_microkde \
62 build_qtopia_plugin \ 64 build_qtopia_plugin \
63 build_opie_plugin \ 65 build_opie_plugin \
@@ -200,8 +202,9 @@ clean:
200 for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\ 202 for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\
201 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; \
202 done 204 done
205
203install: 206install:
204 207
205 cd bin/kdepim; make install 208 cd bin/kdepim; make install
206 cp -r Pim $(QPEDIR)/apps 209 cp -r Pim $(QPEDIR)/apps
207 cp db2file/db2file $(QPEDIR)/bin/db2file 210 cp db2file/db2file $(QPEDIR)/bin/db2file
@@ -210,7 +213,7 @@ install:
210 cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kopiemail.desktop 213 cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kopiemail.desktop
211 cp pwmanager/pwmanager/pwmanager.desktop $(QPEDIR)/apps/Pim/pwmanager.desktop 214 cp pwmanager/pwmanager/pwmanager.desktop $(QPEDIR)/apps/Pim/pwmanager.desktop
212 215
213dist: 216dist:
214 @echo Dont forget to do "make install" before "make dist" 217 @echo Dont forget to do "make install" before "make dist"
215 rm -f *arm.ipk 218 rm -f *arm.ipk
216 rm -f *~ 219 rm -f *~
@@ -255,74 +258,73 @@ tmake: objects \
255 gammu/emb/gammu/Makefile$(PLATFORM) \ 258 gammu/emb/gammu/Makefile$(PLATFORM) \
256 pwmanager/pwmanager/Makefile$(PLATFORM) \ 259 pwmanager/pwmanager/Makefile$(PLATFORM) \
257 260
258
259
260qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro 261qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro
261 cd qtcompat; tmake "CONFIG+=$(RELEASE_DEBUG)" qtcompat.pro -o Makefile$(PLATFORM) 262 cd qtcompat; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" qtcompat.pro -o Makefile$(PLATFORM)
262 263
263microkde/Makefile$(PLATFORM): microkde/microkdeE.pro 264microkde/Makefile$(PLATFORM): microkde/microkdeE.pro
264 cd microkde; tmake "CONFIG+=$(RELEASE_DEBUG)" microkdeE.pro -o Makefile$(PLATFORM) 265 cd microkde; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" microkdeE.pro -o Makefile$(PLATFORM)
265 266
266libkcal/Makefile$(PLATFORM): libkcal/libkcalE.pro 267libkcal/Makefile$(PLATFORM): libkcal/libkcalE.pro
267 cd libkcal; tmake "CONFIG+=$(RELEASE_DEBUG)" libkcalE.pro -o Makefile$(PLATFORM) 268 cd libkcal; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libkcalE.pro -o Makefile$(PLATFORM)
268 269
269 270
270libkdepim/Makefile$(PLATFORM): libkdepim/libkdepimE.pro 271libkdepim/Makefile$(PLATFORM): libkdepim/libkdepimE.pro
271 cd libkdepim; tmake "CONFIG+=$(RELEASE_DEBUG)" libkdepimE.pro -o Makefile$(PLATFORM) 272 cd libkdepim; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libkdepimE.pro -o Makefile$(PLATFORM)
272 273
273kalarmd/Makefile$(PLATFORM): kalarmd/kalarmdE.pro 274kalarmd/Makefile$(PLATFORM): kalarmd/kalarmdE.pro
274 cd kalarmd; tmake "CONFIG+=$(RELEASE_DEBUG)" kalarmdE.pro -o Makefile$(PLATFORM) 275 cd kalarmd; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kalarmdE.pro -o Makefile$(PLATFORM)
275 276
276korganizer/Makefile$(PLATFORM): korganizer/korganizerE.pro 277korganizer/Makefile$(PLATFORM): korganizer/korganizerE.pro
277 cd korganizer; tmake "CONFIG+=$(RELEASE_DEBUG)" korganizerE.pro -o Makefile$(PLATFORM) 278 cd korganizer; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" korganizerE.pro -o Makefile$(PLATFORM)
278 279
279libical/src/libical/Makefile$(PLATFORM): libical/src/libical/libicalE.pro 280libical/src/libical/Makefile$(PLATFORM): libical/src/libical/libicalE.pro
280 cd libical/src/libical; tmake "CONFIG+=$(RELEASE_DEBUG)" libicalE.pro -o Makefile$(PLATFORM) 281 cd libical/src/libical; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libicalE.pro -o Makefile$(PLATFORM)
281 282
282libical/src/libicalss/Makefile$(PLATFORM): libical/src/libicalss/libicalssE.pro 283libical/src/libicalss/Makefile$(PLATFORM): libical/src/libicalss/libicalssE.pro
283 cd libical/src/libicalss; tmake "CONFIG+=$(RELEASE_DEBUG)" libicalssE.pro -o Makefile$(PLATFORM) 284 cd libical/src/libicalss; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libicalssE.pro -o Makefile$(PLATFORM)
284 285
285kabc/Makefile$(PLATFORM): kabc/kabcE.pro 286kabc/Makefile$(PLATFORM): kabc/kabcE.pro
286 cd kabc; tmake "CONFIG+=$(RELEASE_DEBUG)" kabcE.pro -o Makefile$(PLATFORM) 287 cd kabc; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kabcE.pro -o Makefile$(PLATFORM)
287 288
288kabc/formats/binary/Makefile$(PLATFORM): kabc/formats/binary/kabcformat_binaryE.pro 289kabc/formats/binary/Makefile$(PLATFORM): kabc/formats/binary/kabcformat_binaryE.pro
289 cd kabc/formats/binary; tmake "CONFIG+=$(RELEASE_DEBUG)" kabcformat_binaryE.pro -o Makefile$(PLATFORM) 290 cd kabc/formats/binary; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kabcformat_binaryE.pro -o Makefile$(PLATFORM)
290 291
291kabc/plugins/file/Makefile$(PLATFORM): kabc/plugins/file/fileE.pro 292kabc/plugins/file/Makefile$(PLATFORM): kabc/plugins/file/fileE.pro
292 cd kabc/plugins/file; tmake "CONFIG+=$(RELEASE_DEBUG)" fileE.pro -o Makefile$(PLATFORM) 293 cd kabc/plugins/file; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" fileE.pro -o Makefile$(PLATFORM)
293 294
294kabc/plugins/dir/Makefile$(PLATFORM): kabc/plugins/dir/dirE.pro 295kabc/plugins/dir/Makefile$(PLATFORM): kabc/plugins/dir/dirE.pro
295 cd kabc/plugins/dir; tmake "CONFIG+=$(RELEASE_DEBUG)" dirE.pro -o Makefile$(PLATFORM) 296 cd kabc/plugins/dir; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" dirE.pro -o Makefile$(PLATFORM)
296 297
297kabc/plugins/ldap/Makefile$(PLATFORM): kabc/plugins/ldap/ldapE.pro 298kabc/plugins/ldap/Makefile$(PLATFORM): kabc/plugins/ldap/ldapE.pro
298 cd kabc/plugins/ldap; tmake "CONFIG+=$(RELEASE_DEBUG)" ldapE.pro -o Makefile$(PLATFORM) 299 cd kabc/plugins/ldap; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" ldapE.pro -o Makefile$(PLATFORM)
299 300
300kabc/plugins/opie/Makefile$(PLATFORM): kabc/plugins/opie/opieE.pro 301kabc/plugins/opie/Makefile$(PLATFORM): kabc/plugins/opie/opieE.pro
301 cd kabc/plugins/opie; tmake "CONFIG+=$(RELEASE_DEBUG)" opieE.pro -o Makefile$(PLATFORM) 302 cd kabc/plugins/opie; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" opieE.pro -o Makefile$(PLATFORM)
302 303
303kabc/plugins/qtopia/Makefile$(PLATFORM): kabc/plugins/qtopia/qtopiaE.pro 304kabc/plugins/qtopia/Makefile$(PLATFORM): kabc/plugins/qtopia/qtopiaE.pro
304 cd kabc/plugins/qtopia; tmake "CONFIG+=$(RELEASE_DEBUG)" qtopiaE.pro -o Makefile$(PLATFORM) 305 cd kabc/plugins/qtopia; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" qtopiaE.pro -o Makefile$(PLATFORM)
305 306
306kabc/plugins/sharpdtm/Makefile$(PLATFORM): kabc/plugins/sharpdtm/sharpdtmE.pro 307kabc/plugins/sharpdtm/Makefile$(PLATFORM): kabc/plugins/sharpdtm/sharpdtmE.pro
307 cd kabc/plugins/sharpdtm; tmake "CONFIG+=$(RELEASE_DEBUG)" sharpdtmE.pro -o Makefile$(PLATFORM) 308 cd kabc/plugins/sharpdtm; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" sharpdtmE.pro -o Makefile$(PLATFORM)
308 309
309kaddressbook/Makefile$(PLATFORM): kaddressbook/kaddressbookE.pro 310kaddressbook/Makefile$(PLATFORM): kaddressbook/kaddressbookE.pro
310 cd kaddressbook; tmake "CONFIG+=$(RELEASE_DEBUG)" kaddressbookE.pro -o Makefile$(PLATFORM) 311 cd kaddressbook; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kaddressbookE.pro -o Makefile$(PLATFORM)
311 312
312kmicromail/Makefile$(PLATFORM): kmicromail/kmicromailE.pro 313kmicromail/Makefile$(PLATFORM): kmicromail/kmicromailE.pro
313 cd kmicromail; tmake "CONFIG+=$(RELEASE_DEBUG)" kmicromailE.pro -o Makefile$(PLATFORM) 314 cd kmicromail; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kmicromailE.pro -o Makefile$(PLATFORM)
314 315
315kmicromail/libetpan/Makefile$(PLATFORM): kmicromail/libetpan/libetpanE.pro 316kmicromail/libetpan/Makefile$(PLATFORM): kmicromail/libetpan/libetpanE.pro
316 cd kmicromail/libetpan; tmake "CONFIG+=$(RELEASE_DEBUG)" libetpanE.pro -o Makefile$(PLATFORM) 317 cd kmicromail/libetpan; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libetpanE.pro -o Makefile$(PLATFORM)
317 318
318kmicromail/libmailwrapper/Makefile$(PLATFORM): kmicromail/libmailwrapper/libmailwrapperE.pro 319kmicromail/libmailwrapper/Makefile$(PLATFORM): kmicromail/libmailwrapper/libmailwrapperE.pro
319 cd kmicromail/libmailwrapper; tmake "CONFIG+=$(RELEASE_DEBUG)" libmailwrapperE.pro -o Makefile$(PLATFORM) 320 cd kmicromail/libmailwrapper; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libmailwrapperE.pro -o Makefile$(PLATFORM)
320 321
321gammu/emb/common/Makefile$(PLATFORM): gammu/emb/common/commonE.pro 322gammu/emb/common/Makefile$(PLATFORM): gammu/emb/common/commonE.pro
322 cd gammu/emb/common; tmake "CONFIG+=$(RELEASE_DEBUG)" commonE.pro -o Makefile$(PLATFORM) 323 cd gammu/emb/common; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" commonE.pro -o Makefile$(PLATFORM)
323 324
324gammu/emb/gammu/Makefile$(PLATFORM): gammu/emb/gammu/gammuE.pro 325gammu/emb/gammu/Makefile$(PLATFORM): gammu/emb/gammu/gammuE.pro
325 cd gammu/emb/gammu; tmake "CONFIG+=$(RELEASE_DEBUG)" gammuE.pro -o Makefile$(PLATFORM) 326 cd gammu/emb/gammu; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" gammuE.pro -o Makefile$(PLATFORM)
326 327
327pwmanager/pwmanager/Makefile$(PLATFORM): pwmanager/pwmanager/pwmanagerE.pro 328pwmanager/pwmanager/Makefile$(PLATFORM): pwmanager/pwmanager/pwmanagerE.pro
328 cd pwmanager/pwmanager; tmake "CONFIG+=$(RELEASE_DEBUG)" pwmanagerE.pro -o Makefile$(PLATFORM) 329 cd pwmanager/pwmanager; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" pwmanagerE.pro -o Makefile$(PLATFORM)
330