-rw-r--r-- | Makefile.Embedded | 22 |
1 files changed, 3 insertions, 19 deletions
diff --git a/Makefile.Embedded b/Makefile.Embedded index e29bc74..38fd000 100644 --- a/Makefile.Embedded +++ b/Makefile.Embedded | |||
@@ -1,70 +1,67 @@ | |||
1 | DISTPATH = $(shell pwd) | 1 | DISTPATH = $(shell pwd) |
2 | DISTDIR = $(shell basename $(DISTPATH)) | 2 | DISTDIR = $(shell basename $(DISTPATH)) |
3 | 3 | ||
4 | 4 | ||
5 | ifeq ($(PLATFORM) , zaurus) | 5 | ifeq ($(PLATFORM) , zaurus) |
6 | BUILD_NO_LDAP_PLUGIN=1 | 6 | BUILD_NO_LDAP_PLUGIN=1 |
7 | endif | 7 | endif |
8 | 8 | ||
9 | ifneq ($(PLATFORM) , zaurus) | 9 | ifneq ($(PLATFORM) , zaurus) |
10 | BUILD_NO_SHARP_PLUGIN=1 | 10 | BUILD_NO_SHARP_PLUGIN=1 |
11 | endif | 11 | endif |
12 | 12 | ||
13 | SUBDIRS_MICROKDE = \ | 13 | SUBDIRS_MICROKDE = \ |
14 | libical/src/libical \ | 14 | libical/src/libical \ |
15 | libical/src/libicalss \ | 15 | libical/src/libicalss \ |
16 | qtcompat \ | 16 | qtcompat \ |
17 | microkde \ | 17 | microkde \ |
18 | libkcal \ | 18 | libkcal \ |
19 | libkdepim \ | 19 | libkdepim \ |
20 | kabc \ | 20 | kabc \ |
21 | kabc/formats/binary \ | 21 | kabc/formats/binary \ |
22 | kabc/plugins/file \ | 22 | kabc/plugins/file \ |
23 | kabc/plugins/dir \ | 23 | kabc/plugins/dir \ |
24 | korganizer \ | 24 | korganizer \ |
25 | kalarmd \ | 25 | kalarmd \ |
26 | kaddressbook | 26 | kaddressbook |
27 | 27 | ||
28 | SUBDIRS_QTOPIA_PLUGIN = \ | 28 | SUBDIRS_QTOPIA_PLUGIN = \ |
29 | kabc/plugins/qtopia \ | 29 | kabc/plugins/qtopia |
30 | kaddressbook/xxport/qtopia | ||
31 | 30 | ||
32 | SUBDIRS_OPIE_PLUGIN = \ | 31 | SUBDIRS_OPIE_PLUGIN = \ |
33 | kabc/plugins/opie \ | 32 | kabc/plugins/opie |
34 | kaddressbook/xxport/opie | ||
35 | 33 | ||
36 | SUBDIRS_SHARP_PLUGIN = \ | 34 | SUBDIRS_SHARP_PLUGIN = \ |
37 | kabc/plugins/sharpdtm \ | 35 | kabc/plugins/sharpdtm |
38 | kaddressbook/xxport/sharpdtm | ||
39 | 36 | ||
40 | SUBDIRS_LDAP_PLUGIN = \ | 37 | SUBDIRS_LDAP_PLUGIN = \ |
41 | kabc/plugins/ldap | 38 | kabc/plugins/ldap |
42 | 39 | ||
43 | SUBDIRS_MICROMAIL = \ | 40 | SUBDIRS_MICROMAIL = \ |
44 | kmicromail/libetpan \ | 41 | kmicromail/libetpan \ |
45 | kmicromail/libmailwrapper \ | 42 | kmicromail/libmailwrapper \ |
46 | kmicromail | 43 | kmicromail |
47 | 44 | ||
48 | SUBDIRS = \ | 45 | SUBDIRS = \ |
49 | $(SUBDIRS_MICROKDE) \ | 46 | $(SUBDIRS_MICROKDE) \ |
50 | $(SUBDIRS_QTOPIA_PLUGIN) \ | 47 | $(SUBDIRS_QTOPIA_PLUGIN) \ |
51 | $(SUBDIRS_OPIE_PLUGIN) \ | 48 | $(SUBDIRS_OPIE_PLUGIN) \ |
52 | $(SUBDIRS_SHARP_PLUGIN) \ | 49 | $(SUBDIRS_SHARP_PLUGIN) \ |
53 | $(SUBDIRS_LDAP_PLUGIN) \ | 50 | $(SUBDIRS_LDAP_PLUGIN) \ |
54 | $(SUBDIRS_MICROMAIL) | 51 | $(SUBDIRS_MICROMAIL) |
55 | 52 | ||
56 | 53 | ||
57 | all: build_microkde \ | 54 | all: build_microkde \ |
58 | build_qtopia_plugin \ | 55 | build_qtopia_plugin \ |
59 | build_opie_plugin \ | 56 | build_opie_plugin \ |
60 | build_sharp_plugin \ | 57 | build_sharp_plugin \ |
61 | build_ldap_plugin \ | 58 | build_ldap_plugin \ |
62 | build_micromail | 59 | build_micromail |
63 | 60 | ||
64 | 61 | ||
65 | build_microkde: variable_test tmake | 62 | build_microkde: variable_test tmake |
66 | for i in $(SUBDIRS_MICROKDE); do pushd $$i; \ | 63 | for i in $(SUBDIRS_MICROKDE); do pushd $$i; \ |
67 | make -f Makefile$(PLATFORM) || exit 1; popd; \ | 64 | make -f Makefile$(PLATFORM) || exit 1; popd; \ |
68 | done | 65 | done |
69 | 66 | ||
70 | build_qtopia_plugin: build_microkde | 67 | build_qtopia_plugin: build_microkde |
@@ -171,113 +168,100 @@ install: | |||
171 | cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kmicromail.desktop | 168 | cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kmicromail.desktop |
172 | 169 | ||
173 | dist: | 170 | dist: |
174 | @echo Dont forget to do "make install" before "make dist" | 171 | @echo Dont forget to do "make install" before "make dist" |
175 | rm -f *arm.ipk | 172 | rm -f *arm.ipk |
176 | rm -f *~ | 173 | rm -f *~ |
177 | cd ..; tar czf kdepim.src.tar.gz --exclude=obj --exclude=moc kdepim | 174 | cd ..; tar czf kdepim.src.tar.gz --exclude=obj --exclude=moc kdepim |
178 | ./mkipks kmicrokdelibs.control | 175 | ./mkipks kmicrokdelibs.control |
179 | ./mkipks korganizer.control | 176 | ./mkipks korganizer.control |
180 | ./mkipks kaddressbook.control | 177 | ./mkipks kaddressbook.control |
181 | ifndef BUILD_NO_MICROMAIL | 178 | ifndef BUILD_NO_MICROMAIL |
182 | ./mkipks kopiemail.control | 179 | ./mkipks kopiemail.control |
183 | endif | 180 | endif |
184 | ./mkipks korganizer-alarm.control | 181 | ./mkipks korganizer-alarm.control |
185 | 182 | ||
186 | tmake: objects \ | 183 | tmake: objects \ |
187 | qtcompat/Makefile$(PLATFORM) \ | 184 | qtcompat/Makefile$(PLATFORM) \ |
188 | microkde/Makefile$(PLATFORM) \ | 185 | microkde/Makefile$(PLATFORM) \ |
189 | libkcal/Makefile$(PLATFORM) \ | 186 | libkcal/Makefile$(PLATFORM) \ |
190 | libkdepim/Makefile$(PLATFORM) \ | 187 | libkdepim/Makefile$(PLATFORM) \ |
191 | korganizer/Makefile$(PLATFORM) \ | 188 | korganizer/Makefile$(PLATFORM) \ |
192 | kalarmd/Makefile$(PLATFORM) \ | 189 | kalarmd/Makefile$(PLATFORM) \ |
193 | libical/src/libical/Makefile$(PLATFORM) \ | 190 | libical/src/libical/Makefile$(PLATFORM) \ |
194 | libical/src/libicalss/Makefile$(PLATFORM) \ | 191 | libical/src/libicalss/Makefile$(PLATFORM) \ |
195 | kabc/Makefile$(PLATFORM) \ | 192 | kabc/Makefile$(PLATFORM) \ |
196 | kabc/formats/binary/Makefile$(PLATFORM) \ | 193 | kabc/formats/binary/Makefile$(PLATFORM) \ |
197 | kabc/plugins/file/Makefile$(PLATFORM) \ | 194 | kabc/plugins/file/Makefile$(PLATFORM) \ |
198 | kabc/plugins/dir/Makefile$(PLATFORM) \ | 195 | kabc/plugins/dir/Makefile$(PLATFORM) \ |
199 | kabc/plugins/ldap/Makefile$(PLATFORM) \ | 196 | kabc/plugins/ldap/Makefile$(PLATFORM) \ |
200 | kabc/plugins/opie/Makefile$(PLATFORM) \ | 197 | kabc/plugins/opie/Makefile$(PLATFORM) \ |
201 | kabc/plugins/qtopia/Makefile$(PLATFORM) \ | 198 | kabc/plugins/qtopia/Makefile$(PLATFORM) \ |
202 | kabc/plugins/sharpdtm/Makefile$(PLATFORM) \ | 199 | kabc/plugins/sharpdtm/Makefile$(PLATFORM) \ |
203 | kaddressbook/xxport/opie/Makefile$(PLATFORM) \ | ||
204 | kaddressbook/xxport/qtopia/Makefile$(PLATFORM) \ | ||
205 | kaddressbook/xxport/sharpdtm/Makefile$(PLATFORM) \ | ||
206 | kaddressbook/Makefile$(PLATFORM) \ | 200 | kaddressbook/Makefile$(PLATFORM) \ |
207 | kmicromail/Makefile$(PLATFORM) \ | 201 | kmicromail/Makefile$(PLATFORM) \ |
208 | kmicromail/libetpan/Makefile$(PLATFORM) \ | 202 | kmicromail/libetpan/Makefile$(PLATFORM) \ |
209 | kmicromail/libmailwrapper/Makefile$(PLATFORM) | 203 | kmicromail/libmailwrapper/Makefile$(PLATFORM) |
210 | 204 | ||
211 | 205 | ||
212 | 206 | ||
213 | 207 | ||
214 | qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro | 208 | qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro |
215 | cd qtcompat; tmake "CONFIG+=$(RELEASE_DEBUG)" qtcompat.pro -o Makefile$(PLATFORM) | 209 | cd qtcompat; tmake "CONFIG+=$(RELEASE_DEBUG)" qtcompat.pro -o Makefile$(PLATFORM) |
216 | 210 | ||
217 | microkde/Makefile$(PLATFORM): microkde/microkdeE.pro | 211 | microkde/Makefile$(PLATFORM): microkde/microkdeE.pro |
218 | cd microkde; tmake "CONFIG+=$(RELEASE_DEBUG)" microkdeE.pro -o Makefile$(PLATFORM) | 212 | cd microkde; tmake "CONFIG+=$(RELEASE_DEBUG)" microkdeE.pro -o Makefile$(PLATFORM) |
219 | 213 | ||
220 | libkcal/Makefile$(PLATFORM): libkcal/libkcalE.pro | 214 | libkcal/Makefile$(PLATFORM): libkcal/libkcalE.pro |
221 | cd libkcal; tmake "CONFIG+=$(RELEASE_DEBUG)" libkcalE.pro -o Makefile$(PLATFORM) | 215 | cd libkcal; tmake "CONFIG+=$(RELEASE_DEBUG)" libkcalE.pro -o Makefile$(PLATFORM) |
222 | 216 | ||
223 | 217 | ||
224 | libkdepim/Makefile$(PLATFORM): libkdepim/libkdepimE.pro | 218 | libkdepim/Makefile$(PLATFORM): libkdepim/libkdepimE.pro |
225 | cd libkdepim; tmake "CONFIG+=$(RELEASE_DEBUG)" libkdepimE.pro -o Makefile$(PLATFORM) | 219 | cd libkdepim; tmake "CONFIG+=$(RELEASE_DEBUG)" libkdepimE.pro -o Makefile$(PLATFORM) |
226 | 220 | ||
227 | kalarmd/Makefile$(PLATFORM): kalarmd/kalarmdE.pro | 221 | kalarmd/Makefile$(PLATFORM): kalarmd/kalarmdE.pro |
228 | cd kalarmd; tmake "CONFIG+=$(RELEASE_DEBUG)" kalarmdE.pro -o Makefile$(PLATFORM) | 222 | cd kalarmd; tmake "CONFIG+=$(RELEASE_DEBUG)" kalarmdE.pro -o Makefile$(PLATFORM) |
229 | 223 | ||
230 | korganizer/Makefile$(PLATFORM): korganizer/korganizerE.pro | 224 | korganizer/Makefile$(PLATFORM): korganizer/korganizerE.pro |
231 | cd korganizer; tmake "CONFIG+=$(RELEASE_DEBUG)" korganizerE.pro -o Makefile$(PLATFORM) | 225 | cd korganizer; tmake "CONFIG+=$(RELEASE_DEBUG)" korganizerE.pro -o Makefile$(PLATFORM) |
232 | 226 | ||
233 | libical/src/libical/Makefile$(PLATFORM): libical/src/libical/libicalE.pro | 227 | libical/src/libical/Makefile$(PLATFORM): libical/src/libical/libicalE.pro |
234 | cd libical/src/libical; tmake "CONFIG+=$(RELEASE_DEBUG)" libicalE.pro -o Makefile$(PLATFORM) | 228 | cd libical/src/libical; tmake "CONFIG+=$(RELEASE_DEBUG)" libicalE.pro -o Makefile$(PLATFORM) |
235 | 229 | ||
236 | libical/src/libicalss/Makefile$(PLATFORM): libical/src/libicalss/libicalssE.pro | 230 | libical/src/libicalss/Makefile$(PLATFORM): libical/src/libicalss/libicalssE.pro |
237 | cd libical/src/libicalss; tmake "CONFIG+=$(RELEASE_DEBUG)" libicalssE.pro -o Makefile$(PLATFORM) | 231 | cd libical/src/libicalss; tmake "CONFIG+=$(RELEASE_DEBUG)" libicalssE.pro -o Makefile$(PLATFORM) |
238 | 232 | ||
239 | kabc/Makefile$(PLATFORM): kabc/kabcE.pro | 233 | kabc/Makefile$(PLATFORM): kabc/kabcE.pro |
240 | cd kabc; tmake "CONFIG+=$(RELEASE_DEBUG)" kabcE.pro -o Makefile$(PLATFORM) | 234 | cd kabc; tmake "CONFIG+=$(RELEASE_DEBUG)" kabcE.pro -o Makefile$(PLATFORM) |
241 | 235 | ||
242 | kabc/formats/binary/Makefile$(PLATFORM): kabc/formats/binary/kabcformat_binaryE.pro | 236 | kabc/formats/binary/Makefile$(PLATFORM): kabc/formats/binary/kabcformat_binaryE.pro |
243 | cd kabc/formats/binary; tmake "CONFIG+=$(RELEASE_DEBUG)" kabcformat_binaryE.pro -o Makefile$(PLATFORM) | 237 | cd kabc/formats/binary; tmake "CONFIG+=$(RELEASE_DEBUG)" kabcformat_binaryE.pro -o Makefile$(PLATFORM) |
244 | 238 | ||
245 | kabc/plugins/file/Makefile$(PLATFORM): kabc/plugins/file/fileE.pro | 239 | kabc/plugins/file/Makefile$(PLATFORM): kabc/plugins/file/fileE.pro |
246 | cd kabc/plugins/file; tmake "CONFIG+=$(RELEASE_DEBUG)" fileE.pro -o Makefile$(PLATFORM) | 240 | cd kabc/plugins/file; tmake "CONFIG+=$(RELEASE_DEBUG)" fileE.pro -o Makefile$(PLATFORM) |
247 | 241 | ||
248 | kabc/plugins/dir/Makefile$(PLATFORM): kabc/plugins/dir/dirE.pro | 242 | kabc/plugins/dir/Makefile$(PLATFORM): kabc/plugins/dir/dirE.pro |
249 | cd kabc/plugins/dir; tmake "CONFIG+=$(RELEASE_DEBUG)" dirE.pro -o Makefile$(PLATFORM) | 243 | cd kabc/plugins/dir; tmake "CONFIG+=$(RELEASE_DEBUG)" dirE.pro -o Makefile$(PLATFORM) |
250 | 244 | ||
251 | kabc/plugins/ldap/Makefile$(PLATFORM): kabc/plugins/ldap/ldapE.pro | 245 | kabc/plugins/ldap/Makefile$(PLATFORM): kabc/plugins/ldap/ldapE.pro |
252 | cd kabc/plugins/ldap; tmake "CONFIG+=$(RELEASE_DEBUG)" ldapE.pro -o Makefile$(PLATFORM) | 246 | cd kabc/plugins/ldap; tmake "CONFIG+=$(RELEASE_DEBUG)" ldapE.pro -o Makefile$(PLATFORM) |
253 | 247 | ||
254 | kabc/plugins/opie/Makefile$(PLATFORM): kabc/plugins/opie/opieE.pro | 248 | kabc/plugins/opie/Makefile$(PLATFORM): kabc/plugins/opie/opieE.pro |
255 | cd kabc/plugins/opie; tmake "CONFIG+=$(RELEASE_DEBUG)" opieE.pro -o Makefile$(PLATFORM) | 249 | cd kabc/plugins/opie; tmake "CONFIG+=$(RELEASE_DEBUG)" opieE.pro -o Makefile$(PLATFORM) |
256 | 250 | ||
257 | kabc/plugins/qtopia/Makefile$(PLATFORM): kabc/plugins/qtopia/qtopiaE.pro | 251 | kabc/plugins/qtopia/Makefile$(PLATFORM): kabc/plugins/qtopia/qtopiaE.pro |
258 | cd kabc/plugins/qtopia; tmake "CONFIG+=$(RELEASE_DEBUG)" qtopiaE.pro -o Makefile$(PLATFORM) | 252 | cd kabc/plugins/qtopia; tmake "CONFIG+=$(RELEASE_DEBUG)" qtopiaE.pro -o Makefile$(PLATFORM) |
259 | 253 | ||
260 | kabc/plugins/sharpdtm/Makefile$(PLATFORM): kabc/plugins/sharpdtm/sharpdtmE.pro | 254 | kabc/plugins/sharpdtm/Makefile$(PLATFORM): kabc/plugins/sharpdtm/sharpdtmE.pro |
261 | cd kabc/plugins/sharpdtm; tmake "CONFIG+=$(RELEASE_DEBUG)" sharpdtmE.pro -o Makefile$(PLATFORM) | 255 | cd kabc/plugins/sharpdtm; tmake "CONFIG+=$(RELEASE_DEBUG)" sharpdtmE.pro -o Makefile$(PLATFORM) |
262 | 256 | ||
263 | kaddressbook/xxport/opie/Makefile$(PLATFORM): kaddressbook/xxport/opie/opieE.pro | ||
264 | cd kaddressbook/xxport/opie; tmake "CONFIG+=$(RELEASE_DEBUG)" opieE.pro -o Makefile$(PLATFORM) | ||
265 | |||
266 | kaddressbook/xxport/qtopia/Makefile$(PLATFORM): kaddressbook/xxport/qtopia/qtopiaE.pro | ||
267 | cd kaddressbook/xxport/qtopia; tmake "CONFIG+=$(RELEASE_DEBUG)" qtopiaE.pro -o Makefile$(PLATFORM) | ||
268 | |||
269 | kaddressbook/xxport/sharpdtm/Makefile$(PLATFORM): kaddressbook/xxport/sharpdtm/sharpdtmE.pro | ||
270 | cd kaddressbook/xxport/sharpdtm; tmake "CONFIG+=$(RELEASE_DEBUG)" sharpdtmE.pro -o Makefile$(PLATFORM) | ||
271 | |||
272 | |||
273 | kaddressbook/Makefile$(PLATFORM): kaddressbook/kaddressbookE.pro | 257 | kaddressbook/Makefile$(PLATFORM): kaddressbook/kaddressbookE.pro |
274 | cd kaddressbook; tmake "CONFIG+=$(RELEASE_DEBUG)" kaddressbookE.pro -o Makefile$(PLATFORM) | 258 | cd kaddressbook; tmake "CONFIG+=$(RELEASE_DEBUG)" kaddressbookE.pro -o Makefile$(PLATFORM) |
275 | 259 | ||
276 | kmicromail/Makefile$(PLATFORM): kmicromail/kmicromailE.pro | 260 | kmicromail/Makefile$(PLATFORM): kmicromail/kmicromailE.pro |
277 | cd kmicromail; tmake "CONFIG+=$(RELEASE_DEBUG)" kmicromailE.pro -o Makefile$(PLATFORM) | 261 | cd kmicromail; tmake "CONFIG+=$(RELEASE_DEBUG)" kmicromailE.pro -o Makefile$(PLATFORM) |
278 | 262 | ||
279 | kmicromail/libetpan/Makefile$(PLATFORM): kmicromail/libetpan/libetpanE.pro | 263 | kmicromail/libetpan/Makefile$(PLATFORM): kmicromail/libetpan/libetpanE.pro |
280 | cd kmicromail/libetpan; tmake "CONFIG+=$(RELEASE_DEBUG)" libetpanE.pro -o Makefile$(PLATFORM) | 264 | cd kmicromail/libetpan; tmake "CONFIG+=$(RELEASE_DEBUG)" libetpanE.pro -o Makefile$(PLATFORM) |
281 | 265 | ||
282 | kmicromail/libmailwrapper/Makefile$(PLATFORM): kmicromail/libmailwrapper/libmailwrapperE.pro | 266 | kmicromail/libmailwrapper/Makefile$(PLATFORM): kmicromail/libmailwrapper/libmailwrapperE.pro |
283 | cd kmicromail/libmailwrapper; tmake "CONFIG+=$(RELEASE_DEBUG)" libmailwrapperE.pro -o Makefile$(PLATFORM) | 267 | cd kmicromail/libmailwrapper; tmake "CONFIG+=$(RELEASE_DEBUG)" libmailwrapperE.pro -o Makefile$(PLATFORM) |