summaryrefslogtreecommitdiffabout
path: root/Makefile.Embedded
authorulf69 <ulf69>2004-06-29 05:48:02 (UTC)
committer ulf69 <ulf69>2004-06-29 05:48:02 (UTC)
commitbb02d63824f271311912f29f69ca0c929caa3abd (patch) (unidiff)
tree0ca77ff5cc1673ce340bbfd5efbad3ba1e5466e1 /Makefile.Embedded
parent17173e1a318e48d8359b58de35baba3a0cdc56b3 (diff)
downloadkdepimpi-bb02d63824f271311912f29f69ca0c929caa3abd.zip
kdepimpi-bb02d63824f271311912f29f69ca0c929caa3abd.tar.gz
kdepimpi-bb02d63824f271311912f29f69ca0c929caa3abd.tar.bz2
added support for dynamic library loading of formats and plugins
Diffstat (limited to 'Makefile.Embedded') (more/less context) (ignore whitespace changes)
-rw-r--r--Makefile.Embedded23
1 files changed, 22 insertions, 1 deletions
diff --git a/Makefile.Embedded b/Makefile.Embedded
index d6d78bc..cef9893 100644
--- a/Makefile.Embedded
+++ b/Makefile.Embedded
@@ -1,17 +1,18 @@
1DISTPATH = $(shell pwd) 1DISTPATH = $(shell pwd)
2DISTDIR = $(shell basename $(DISTPATH)) 2DISTDIR = $(shell basename $(DISTPATH))
3 3
4SUBDIRS = libical/src/libical libical/src/libicalss qtcompat microkde \ 4SUBDIRS = libical/src/libical libical/src/libicalss qtcompat microkde \
5 libkcal libkdepim kabc \ 5 libkcal libkdepim kabc kabc/formats/binary kabc/plugins/file kabc/plugins/dir \
6 kabc/plugins/ldap kabc/plugins/opie libkabcwrap \
6 korganizer kalarmd kaddressbook 7 korganizer kalarmd kaddressbook
7all: tmake 8all: tmake
8 for i in $(SUBDIRS); do pushd $$i; \ 9 for i in $(SUBDIRS); do pushd $$i; \
9 make -f Makefile$(PLATFORM) || exit 1; popd; \ 10 make -f Makefile$(PLATFORM) || exit 1; popd; \
10 done 11 done
11 12
12objects: 13objects:
13 for i in $(SUBDIRS); do mkdir -p $$i/obj/$(PLATFORM); done 14 for i in $(SUBDIRS); do mkdir -p $$i/obj/$(PLATFORM); done
14 for i in $(SUBDIRS); do mkdir -p $$i/moc/$(PLATFORM); done 15 for i in $(SUBDIRS); do mkdir -p $$i/moc/$(PLATFORM); done
15 16
16clean: 17clean:
17 rm -f libical/lib/$(PLATFORM)/*; 18 rm -f libical/lib/$(PLATFORM)/*;
@@ -29,24 +30,29 @@ dist:
29 rm -f *~ 30 rm -f *~
30 cd ..; tar czf kdepim.src.tar.gz --exclude=obj --exclude=moc kdepim 31 cd ..; tar czf kdepim.src.tar.gz --exclude=obj --exclude=moc kdepim
31 mkipks kdepim.control 32 mkipks kdepim.control
32 mkipks korganizer-alarm.control 33 mkipks korganizer-alarm.control
33 34
34tmake: objects qtcompat/Makefile$(PLATFORM) microkde/Makefile$(PLATFORM) \ 35tmake: objects qtcompat/Makefile$(PLATFORM) microkde/Makefile$(PLATFORM) \
35 libkcal/Makefile$(PLATFORM) \ 36 libkcal/Makefile$(PLATFORM) \
36 libkdepim/Makefile$(PLATFORM) korganizer/Makefile$(PLATFORM) \ 37 libkdepim/Makefile$(PLATFORM) korganizer/Makefile$(PLATFORM) \
37 kalarmd/Makefile$(PLATFORM) \ 38 kalarmd/Makefile$(PLATFORM) \
38 libical/src/libical/Makefile$(PLATFORM) \ 39 libical/src/libical/Makefile$(PLATFORM) \
39 libical/src/libicalss/Makefile$(PLATFORM) \ 40 libical/src/libicalss/Makefile$(PLATFORM) \
40 kabc/Makefile$(PLATFORM) \ 41 kabc/Makefile$(PLATFORM) \
42 kabc/formats/binary/Makefile$(PLATFORM) \
43 kabc/plugins/file/Makefile$(PLATFORM) \
44 kabc/plugins/dir/Makefile$(PLATFORM) \
45 kabc/plugins/ldap/Makefile$(PLATFORM) \
46 kabc/plugins/opie/Makefile$(PLATFORM) \
41 kaddressbook/Makefile$(PLATFORM) 47 kaddressbook/Makefile$(PLATFORM)
42 48
43 49
44 50
45qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro 51qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro
46 cd qtcompat; tmake "CONFIG+=$(RELEASE_DEBUG)" qtcompat.pro -o Makefile$(PLATFORM) 52 cd qtcompat; tmake "CONFIG+=$(RELEASE_DEBUG)" qtcompat.pro -o Makefile$(PLATFORM)
47 53
48microkde/Makefile$(PLATFORM): microkde/microkdeE.pro 54microkde/Makefile$(PLATFORM): microkde/microkdeE.pro
49 cd microkde; tmake "CONFIG+=$(RELEASE_DEBUG)" microkdeE.pro -o Makefile$(PLATFORM) 55 cd microkde; tmake "CONFIG+=$(RELEASE_DEBUG)" microkdeE.pro -o Makefile$(PLATFORM)
50 56
51libkcal/Makefile$(PLATFORM): libkcal/libkcalE.pro 57libkcal/Makefile$(PLATFORM): libkcal/libkcalE.pro
52 cd libkcal; tmake "CONFIG+=$(RELEASE_DEBUG)" libkcalE.pro -o Makefile$(PLATFORM) 58 cd libkcal; tmake "CONFIG+=$(RELEASE_DEBUG)" libkcalE.pro -o Makefile$(PLATFORM)
@@ -61,15 +67,30 @@ kalarmd/Makefile$(PLATFORM): kalarmd/kalarmdE.pro
61korganizer/Makefile$(PLATFORM): korganizer/korganizerE.pro 67korganizer/Makefile$(PLATFORM): korganizer/korganizerE.pro
62 cd korganizer; tmake "CONFIG+=$(RELEASE_DEBUG)" korganizerE.pro -o Makefile$(PLATFORM) 68 cd korganizer; tmake "CONFIG+=$(RELEASE_DEBUG)" korganizerE.pro -o Makefile$(PLATFORM)
63 69
64libical/src/libical/Makefile$(PLATFORM): libical/src/libical/libicalE.pro 70libical/src/libical/Makefile$(PLATFORM): libical/src/libical/libicalE.pro
65 cd libical/src/libical; tmake "CONFIG+=$(RELEASE_DEBUG)" libicalE.pro -o Makefile$(PLATFORM) 71 cd libical/src/libical; tmake "CONFIG+=$(RELEASE_DEBUG)" libicalE.pro -o Makefile$(PLATFORM)
66 72
67libical/src/libicalss/Makefile$(PLATFORM): libical/src/libicalss/libicalssE.pro 73libical/src/libicalss/Makefile$(PLATFORM): libical/src/libicalss/libicalssE.pro
68 cd libical/src/libicalss; tmake "CONFIG+=$(RELEASE_DEBUG)" libicalssE.pro -o Makefile$(PLATFORM) 74 cd libical/src/libicalss; tmake "CONFIG+=$(RELEASE_DEBUG)" libicalssE.pro -o Makefile$(PLATFORM)
69 75
70kabc/Makefile$(PLATFORM): kabc/kabcE.pro 76kabc/Makefile$(PLATFORM): kabc/kabcE.pro
71 cd kabc; tmake "CONFIG+=$(RELEASE_DEBUG)" kabcE.pro -o Makefile$(PLATFORM) 77 cd kabc; tmake "CONFIG+=$(RELEASE_DEBUG)" kabcE.pro -o Makefile$(PLATFORM)
72 78
79kabc/formats/binary/Makefile$(PLATFORM): kabc/formats/binary/kabcformat_binaryE.pro
80 cd kabc/formats/binary; tmake "CONFIG+=$(RELEASE_DEBUG)" kabcformat_binaryE.pro -o Makefile$(PLATFORM)
81
82kabc/plugins/file/Makefile$(PLATFORM): kabc/plugins/file/kabc_fileE.pro
83 cd kabc/plugins/file; tmake "CONFIG+=$(RELEASE_DEBUG)" kabc_fileE.pro -o Makefile$(PLATFORM)
84
85kabc/plugins/dir/Makefile$(PLATFORM): kabc/plugins/dir/kabc_dirE.pro
86 cd kabc/plugins/dir; tmake "CONFIG+=$(RELEASE_DEBUG)" kabc_dirE.pro -o Makefile$(PLATFORM)
87
88kabc/plugins/ldap/Makefile$(PLATFORM): kabc/plugins/ldap/kabc_ldapE.pro
89 cd kabc/plugins/ldap; tmake "CONFIG+=$(RELEASE_DEBUG)" kabc_ldapE.pro -o Makefile$(PLATFORM)
90
91kabc/plugins/opie/Makefile$(PLATFORM): kabc/plugins/opie/kabc_opieE.pro
92 cd kabc/plugins/opie; tmake "CONFIG+=$(RELEASE_DEBUG)" kabc_opieE.pro -o Makefile$(PLATFORM)
93
73kaddressbook/Makefile$(PLATFORM): kaddressbook/kaddressbookE.pro 94kaddressbook/Makefile$(PLATFORM): kaddressbook/kaddressbookE.pro
74 cd kaddressbook; tmake "CONFIG+=$(RELEASE_DEBUG)" kaddressbookE.pro -o Makefile$(PLATFORM) 95 cd kaddressbook; tmake "CONFIG+=$(RELEASE_DEBUG)" kaddressbookE.pro -o Makefile$(PLATFORM)
75 96