summaryrefslogtreecommitdiffabout
path: root/Makefile
Unidiff
Diffstat (limited to 'Makefile') (more/less context) (ignore whitespace changes)
-rw-r--r--Makefile24
1 files changed, 23 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d6d78bc..95bd2ae 100644
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,10 @@
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 \
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; \
@@ -11,8 +12,9 @@ all: tmake
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
16 mkdir -p libical/lib/$(PLATFORM)
15 17
16clean: 18clean:
17 rm -f libical/lib/$(PLATFORM)/*; 19 rm -f libical/lib/$(PLATFORM)/*;
18 for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\ 20 for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\
@@ -37,8 +39,13 @@ tmake: objects qtcompat/Makefile$(PLATFORM) microkde/Makefile$(PLATFORM) \
37 kalarmd/Makefile$(PLATFORM) \ 39 kalarmd/Makefile$(PLATFORM) \
38 libical/src/libical/Makefile$(PLATFORM) \ 40 libical/src/libical/Makefile$(PLATFORM) \
39 libical/src/libicalss/Makefile$(PLATFORM) \ 41 libical/src/libicalss/Makefile$(PLATFORM) \
40 kabc/Makefile$(PLATFORM) \ 42 kabc/Makefile$(PLATFORM) \
43 kabc/formats/binary/Makefile$(PLATFORM) \
44 kabc/plugins/file/Makefile$(PLATFORM) \
45 kabc/plugins/dir/Makefile$(PLATFORM) \
46 kabc/plugins/ldap/Makefile$(PLATFORM) \
47 kabc/plugins/opie/Makefile$(PLATFORM) \
41 kaddressbook/Makefile$(PLATFORM) 48 kaddressbook/Makefile$(PLATFORM)
42 49
43 50
44 51
@@ -69,7 +76,22 @@ libical/src/libicalss/Makefile$(PLATFORM): libical/src/libicalss/libicalssE.pro
69 76
70kabc/Makefile$(PLATFORM): kabc/kabcE.pro 77kabc/Makefile$(PLATFORM): kabc/kabcE.pro
71 cd kabc; tmake "CONFIG+=$(RELEASE_DEBUG)" kabcE.pro -o Makefile$(PLATFORM) 78 cd kabc; tmake "CONFIG+=$(RELEASE_DEBUG)" kabcE.pro -o Makefile$(PLATFORM)
72 79
80kabc/formats/binary/Makefile$(PLATFORM): kabc/formats/binary/kabcformat_binaryE.pro
81 cd kabc/formats/binary; tmake "CONFIG+=$(RELEASE_DEBUG)" kabcformat_binaryE.pro -o Makefile$(PLATFORM)
82
83kabc/plugins/file/Makefile$(PLATFORM): kabc/plugins/file/kabc_fileE.pro
84 cd kabc/plugins/file; tmake "CONFIG+=$(RELEASE_DEBUG)" kabc_fileE.pro -o Makefile$(PLATFORM)
85
86kabc/plugins/dir/Makefile$(PLATFORM): kabc/plugins/dir/kabc_dirE.pro
87 cd kabc/plugins/dir; tmake "CONFIG+=$(RELEASE_DEBUG)" kabc_dirE.pro -o Makefile$(PLATFORM)
88
89kabc/plugins/ldap/Makefile$(PLATFORM): kabc/plugins/ldap/kabc_ldapE.pro
90 cd kabc/plugins/ldap; tmake "CONFIG+=$(RELEASE_DEBUG)" kabc_ldapE.pro -o Makefile$(PLATFORM)
91
92kabc/plugins/opie/Makefile$(PLATFORM): kabc/plugins/opie/kabc_opieE.pro
93 cd kabc/plugins/opie; tmake "CONFIG+=$(RELEASE_DEBUG)" kabc_opieE.pro -o Makefile$(PLATFORM)
94
73kaddressbook/Makefile$(PLATFORM): kaddressbook/kaddressbookE.pro 95kaddressbook/Makefile$(PLATFORM): kaddressbook/kaddressbookE.pro
74 cd kaddressbook; tmake "CONFIG+=$(RELEASE_DEBUG)" kaddressbookE.pro -o Makefile$(PLATFORM) 96 cd kaddressbook; tmake "CONFIG+=$(RELEASE_DEBUG)" kaddressbookE.pro -o Makefile$(PLATFORM)
75 97