summaryrefslogtreecommitdiffabout
path: root/Makefile.EmbeddedMail
Unidiff
Diffstat (limited to 'Makefile.EmbeddedMail') (more/less context) (ignore whitespace changes)
-rw-r--r--Makefile.EmbeddedMail114
1 files changed, 114 insertions, 0 deletions
diff --git a/Makefile.EmbeddedMail b/Makefile.EmbeddedMail
new file mode 100644
index 0000000..eb5fba7
--- a/dev/null
+++ b/Makefile.EmbeddedMail
@@ -0,0 +1,114 @@
1DISTPATH = $(shell pwd)
2DISTDIR = $(shell basename $(DISTPATH))
3
4SUBDIRS = libical/src/libical libical/src/libicalss qtcompat microkde \
5 libkcal libkdepim kabc kabc/formats/binary kabc/plugins/file kabc/plugins/dir \
6 kabc/plugins/opie \
7 korganizer kalarmd kaddressbook kmicromail/libetpan kmicromail/libmailwrapper kmicromail
8all: tmake
9 for i in $(SUBDIRS); do pushd $$i; \
10 make -f Makefile$(PLATFORM) || exit 1; popd; \
11 done
12
13objects:
14 for i in $(SUBDIRS); do mkdir -p $$i/obj/$(PLATFORM); done
15 for i in $(SUBDIRS); do mkdir -p $$i/moc/$(PLATFORM); done
16 mkdir -p libical/lib/$(PLATFORM)
17
18clean:
19 rm -f libical/lib/$(PLATFORM)/*;
20 for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\
21 rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \
22 done
23install:
24 cd bin/kdepim; make install
25 cp db2file/db2file $(QPEDIR)/bin/db2file
26 cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop
27 cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kmicromail.desktop
28 cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop
29
30dist:
31 @echo Dont forget to do "make install" before "make dist"
32 rm -f *arm.ipk
33 rm -f *~
34 cd ..; tar czf kdepim.src.tar.gz --exclude=obj --exclude=moc kdepim
35 mkipks kmicrokdelibs.control
36 mkipks korganizer.control
37 mkipks kaddressbook.control
38 mkipks kmicromail.control
39 mkipks korganizer-alarm.control
40
41tmake: objects qtcompat/Makefile$(PLATFORM) microkde/Makefile$(PLATFORM) \
42 libkcal/Makefile$(PLATFORM) \
43 libkdepim/Makefile$(PLATFORM) korganizer/Makefile$(PLATFORM) \
44 kalarmd/Makefile$(PLATFORM) \
45 libical/src/libical/Makefile$(PLATFORM) \
46 libical/src/libicalss/Makefile$(PLATFORM) \
47 kabc/Makefile$(PLATFORM) \
48 kabc/formats/binary/Makefile$(PLATFORM) \
49 kabc/plugins/file/Makefile$(PLATFORM) \
50 kabc/plugins/dir/Makefile$(PLATFORM) \
51 kabc/plugins/ldap/Makefile$(PLATFORM) \
52 kabc/plugins/opie/Makefile$(PLATFORM) \
53 kaddressbook/Makefile$(PLATFORM) \
54 kmicromail/Makefile$(PLATFORM) \
55 kmicromail/libetpan/Makefile$(PLATFORM) \
56 kmicromail/libmailwrapper/Makefile$(PLATFORM)
57
58
59
60qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro
61 cd qtcompat; tmake "CONFIG+=$(RELEASE_DEBUG)" qtcompat.pro -o Makefile$(PLATFORM)
62
63microkde/Makefile$(PLATFORM): microkde/microkdeE.pro
64 cd microkde; tmake "CONFIG+=$(RELEASE_DEBUG)" microkdeE.pro -o Makefile$(PLATFORM)
65
66libkcal/Makefile$(PLATFORM): libkcal/libkcalE.pro
67 cd libkcal; tmake "CONFIG+=$(RELEASE_DEBUG)" libkcalE.pro -o Makefile$(PLATFORM)
68
69
70libkdepim/Makefile$(PLATFORM): libkdepim/libkdepimE.pro
71 cd libkdepim; tmake "CONFIG+=$(RELEASE_DEBUG)" libkdepimE.pro -o Makefile$(PLATFORM)
72
73kalarmd/Makefile$(PLATFORM): kalarmd/kalarmdE.pro
74 cd kalarmd; tmake "CONFIG+=$(RELEASE_DEBUG)" kalarmdE.pro -o Makefile$(PLATFORM)
75
76korganizer/Makefile$(PLATFORM): korganizer/korganizerE.pro
77 cd korganizer; tmake "CONFIG+=$(RELEASE_DEBUG)" korganizerE.pro -o Makefile$(PLATFORM)
78
79libical/src/libical/Makefile$(PLATFORM): libical/src/libical/libicalE.pro
80 cd libical/src/libical; tmake "CONFIG+=$(RELEASE_DEBUG)" libicalE.pro -o Makefile$(PLATFORM)
81
82libical/src/libicalss/Makefile$(PLATFORM): libical/src/libicalss/libicalssE.pro
83 cd libical/src/libicalss; tmake "CONFIG+=$(RELEASE_DEBUG)" libicalssE.pro -o Makefile$(PLATFORM)
84
85kabc/Makefile$(PLATFORM): kabc/kabcE.pro
86 cd kabc; tmake "CONFIG+=$(RELEASE_DEBUG)" kabcE.pro -o Makefile$(PLATFORM)
87
88kabc/formats/binary/Makefile$(PLATFORM): kabc/formats/binary/kabcformat_binaryE.pro
89 cd kabc/formats/binary; tmake "CONFIG+=$(RELEASE_DEBUG)" kabcformat_binaryE.pro -o Makefile$(PLATFORM)
90
91kabc/plugins/file/Makefile$(PLATFORM): kabc/plugins/file/kabc_fileE.pro
92 cd kabc/plugins/file; tmake "CONFIG+=$(RELEASE_DEBUG)" kabc_fileE.pro -o Makefile$(PLATFORM)
93
94kabc/plugins/dir/Makefile$(PLATFORM): kabc/plugins/dir/kabc_dirE.pro
95 cd kabc/plugins/dir; tmake "CONFIG+=$(RELEASE_DEBUG)" kabc_dirE.pro -o Makefile$(PLATFORM)
96
97kabc/plugins/ldap/Makefile$(PLATFORM): kabc/plugins/ldap/kabc_ldapE.pro
98 cd kabc/plugins/ldap; tmake "CONFIG+=$(RELEASE_DEBUG)" kabc_ldapE.pro -o Makefile$(PLATFORM)
99
100kabc/plugins/opie/Makefile$(PLATFORM): kabc/plugins/opie/kabc_opieE.pro
101 cd kabc/plugins/opie; tmake "CONFIG+=$(RELEASE_DEBUG)" kabc_opieE.pro -o Makefile$(PLATFORM)
102
103
104kaddressbook/Makefile$(PLATFORM): kaddressbook/kaddressbookE.pro
105 cd kaddressbook; tmake "CONFIG+=$(RELEASE_DEBUG)" kaddressbookE.pro -o Makefile$(PLATFORM)
106
107
108kmicromail/Makefile$(PLATFORM): kmicromail/kmicromailE.pro
109 cd kmicromail; tmake "CONFIG+=$(RELEASE_DEBUG)" kmicromailE.pro -o Makefile$(PLATFORM)
110kmicromail/libetpan/Makefile$(PLATFORM): kmicromail/libetpan/libetpanE.pro
111 cd kmicromail/libetpan; tmake "CONFIG+=$(RELEASE_DEBUG)" libetpanE.pro -o Makefile$(PLATFORM)
112kmicromail/libmailwrapper/Makefile$(PLATFORM): kmicromail/libmailwrapper/libmailwrapperE.pro
113 cd kmicromail/libmailwrapper; tmake "CONFIG+=$(RELEASE_DEBUG)" libmailwrapperE.pro -o Makefile$(PLATFORM)
114