-rw-r--r-- | Makefile.EmbeddedMail | 114 |
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 @@ | |||
1 | DISTPATH = $(shell pwd) | ||
2 | DISTDIR = $(shell basename $(DISTPATH)) | ||
3 | |||
4 | SUBDIRS = 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 | ||
8 | all: tmake | ||
9 | for i in $(SUBDIRS); do pushd $$i; \ | ||
10 | make -f Makefile$(PLATFORM) || exit 1; popd; \ | ||
11 | done | ||
12 | |||
13 | objects: | ||
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 | |||
18 | clean: | ||
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 | ||
23 | install: | ||
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 | |||
30 | dist: | ||
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 | |||
41 | tmake: 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 | |||
60 | qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro | ||
61 | cd qtcompat; tmake "CONFIG+=$(RELEASE_DEBUG)" qtcompat.pro -o Makefile$(PLATFORM) | ||
62 | |||
63 | microkde/Makefile$(PLATFORM): microkde/microkdeE.pro | ||
64 | cd microkde; tmake "CONFIG+=$(RELEASE_DEBUG)" microkdeE.pro -o Makefile$(PLATFORM) | ||
65 | |||
66 | libkcal/Makefile$(PLATFORM): libkcal/libkcalE.pro | ||
67 | cd libkcal; tmake "CONFIG+=$(RELEASE_DEBUG)" libkcalE.pro -o Makefile$(PLATFORM) | ||
68 | |||
69 | |||
70 | libkdepim/Makefile$(PLATFORM): libkdepim/libkdepimE.pro | ||
71 | cd libkdepim; tmake "CONFIG+=$(RELEASE_DEBUG)" libkdepimE.pro -o Makefile$(PLATFORM) | ||
72 | |||
73 | kalarmd/Makefile$(PLATFORM): kalarmd/kalarmdE.pro | ||
74 | cd kalarmd; tmake "CONFIG+=$(RELEASE_DEBUG)" kalarmdE.pro -o Makefile$(PLATFORM) | ||
75 | |||
76 | korganizer/Makefile$(PLATFORM): korganizer/korganizerE.pro | ||
77 | cd korganizer; tmake "CONFIG+=$(RELEASE_DEBUG)" korganizerE.pro -o Makefile$(PLATFORM) | ||
78 | |||
79 | libical/src/libical/Makefile$(PLATFORM): libical/src/libical/libicalE.pro | ||
80 | cd libical/src/libical; tmake "CONFIG+=$(RELEASE_DEBUG)" libicalE.pro -o Makefile$(PLATFORM) | ||
81 | |||
82 | libical/src/libicalss/Makefile$(PLATFORM): libical/src/libicalss/libicalssE.pro | ||
83 | cd libical/src/libicalss; tmake "CONFIG+=$(RELEASE_DEBUG)" libicalssE.pro -o Makefile$(PLATFORM) | ||
84 | |||
85 | kabc/Makefile$(PLATFORM): kabc/kabcE.pro | ||
86 | cd kabc; tmake "CONFIG+=$(RELEASE_DEBUG)" kabcE.pro -o Makefile$(PLATFORM) | ||
87 | |||
88 | kabc/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 | |||
91 | kabc/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 | |||
94 | kabc/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 | |||
97 | kabc/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 | |||
100 | kabc/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 | |||
104 | kaddressbook/Makefile$(PLATFORM): kaddressbook/kaddressbookE.pro | ||
105 | cd kaddressbook; tmake "CONFIG+=$(RELEASE_DEBUG)" kaddressbookE.pro -o Makefile$(PLATFORM) | ||
106 | |||
107 | |||
108 | kmicromail/Makefile$(PLATFORM): kmicromail/kmicromailE.pro | ||
109 | cd kmicromail; tmake "CONFIG+=$(RELEASE_DEBUG)" kmicromailE.pro -o Makefile$(PLATFORM) | ||
110 | kmicromail/libetpan/Makefile$(PLATFORM): kmicromail/libetpan/libetpanE.pro | ||
111 | cd kmicromail/libetpan; tmake "CONFIG+=$(RELEASE_DEBUG)" libetpanE.pro -o Makefile$(PLATFORM) | ||
112 | kmicromail/libmailwrapper/Makefile$(PLATFORM): kmicromail/libmailwrapper/libmailwrapperE.pro | ||
113 | cd kmicromail/libmailwrapper; tmake "CONFIG+=$(RELEASE_DEBUG)" libmailwrapperE.pro -o Makefile$(PLATFORM) | ||
114 | |||