summaryrefslogtreecommitdiffabout
path: root/Makefile.Embedded
Unidiff
Diffstat (limited to 'Makefile.Embedded') (more/less context) (ignore whitespace changes)
-rw-r--r--Makefile.Embedded22
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 @@
1DISTPATH = $(shell pwd) 1DISTPATH = $(shell pwd)
2DISTDIR = $(shell basename $(DISTPATH)) 2DISTDIR = $(shell basename $(DISTPATH))
3 3
4 4
5ifeq ($(PLATFORM) , zaurus) 5ifeq ($(PLATFORM) , zaurus)
6 BUILD_NO_LDAP_PLUGIN=1 6 BUILD_NO_LDAP_PLUGIN=1
7endif 7endif
8 8
9ifneq ($(PLATFORM) , zaurus) 9ifneq ($(PLATFORM) , zaurus)
10 BUILD_NO_SHARP_PLUGIN=1 10 BUILD_NO_SHARP_PLUGIN=1
11endif 11endif
12 12
13SUBDIRS_MICROKDE = \ 13SUBDIRS_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
28SUBDIRS_QTOPIA_PLUGIN = \ 28SUBDIRS_QTOPIA_PLUGIN = \
29 kabc/plugins/qtopia \ 29 kabc/plugins/qtopia
30 kaddressbook/xxport/qtopia
31 30
32SUBDIRS_OPIE_PLUGIN = \ 31SUBDIRS_OPIE_PLUGIN = \
33 kabc/plugins/opie \ 32 kabc/plugins/opie
34 kaddressbook/xxport/opie
35 33
36SUBDIRS_SHARP_PLUGIN = \ 34SUBDIRS_SHARP_PLUGIN = \
37 kabc/plugins/sharpdtm \ 35 kabc/plugins/sharpdtm
38 kaddressbook/xxport/sharpdtm
39 36
40SUBDIRS_LDAP_PLUGIN = \ 37SUBDIRS_LDAP_PLUGIN = \
41 kabc/plugins/ldap 38 kabc/plugins/ldap
42 39
43SUBDIRS_MICROMAIL = \ 40SUBDIRS_MICROMAIL = \
44 kmicromail/libetpan \ 41 kmicromail/libetpan \
45 kmicromail/libmailwrapper \ 42 kmicromail/libmailwrapper \
46 kmicromail 43 kmicromail
47 44
48SUBDIRS = \ 45SUBDIRS = \
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
57all: build_microkde \ 54all: 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
65build_microkde: variable_test tmake 62build_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
70build_qtopia_plugin: build_microkde 67build_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
173dist: 170dist:
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
186tmake: objects \ 183tmake: 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
214qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro 208qtcompat/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
217microkde/Makefile$(PLATFORM): microkde/microkdeE.pro 211microkde/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
220libkcal/Makefile$(PLATFORM): libkcal/libkcalE.pro 214libkcal/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
224libkdepim/Makefile$(PLATFORM): libkdepim/libkdepimE.pro 218libkdepim/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
227kalarmd/Makefile$(PLATFORM): kalarmd/kalarmdE.pro 221kalarmd/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
230korganizer/Makefile$(PLATFORM): korganizer/korganizerE.pro 224korganizer/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
233libical/src/libical/Makefile$(PLATFORM): libical/src/libical/libicalE.pro 227libical/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
236libical/src/libicalss/Makefile$(PLATFORM): libical/src/libicalss/libicalssE.pro 230libical/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
239kabc/Makefile$(PLATFORM): kabc/kabcE.pro 233kabc/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
242kabc/formats/binary/Makefile$(PLATFORM): kabc/formats/binary/kabcformat_binaryE.pro 236kabc/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
245kabc/plugins/file/Makefile$(PLATFORM): kabc/plugins/file/fileE.pro 239kabc/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
248kabc/plugins/dir/Makefile$(PLATFORM): kabc/plugins/dir/dirE.pro 242kabc/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
251kabc/plugins/ldap/Makefile$(PLATFORM): kabc/plugins/ldap/ldapE.pro 245kabc/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
254kabc/plugins/opie/Makefile$(PLATFORM): kabc/plugins/opie/opieE.pro 248kabc/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
257kabc/plugins/qtopia/Makefile$(PLATFORM): kabc/plugins/qtopia/qtopiaE.pro 251kabc/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
260kabc/plugins/sharpdtm/Makefile$(PLATFORM): kabc/plugins/sharpdtm/sharpdtmE.pro 254kabc/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
263kaddressbook/xxport/opie/Makefile$(PLATFORM): kaddressbook/xxport/opie/opieE.pro
264 cd kaddressbook/xxport/opie; tmake "CONFIG+=$(RELEASE_DEBUG)" opieE.pro -o Makefile$(PLATFORM)
265
266kaddressbook/xxport/qtopia/Makefile$(PLATFORM): kaddressbook/xxport/qtopia/qtopiaE.pro
267 cd kaddressbook/xxport/qtopia; tmake "CONFIG+=$(RELEASE_DEBUG)" qtopiaE.pro -o Makefile$(PLATFORM)
268
269kaddressbook/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
273kaddressbook/Makefile$(PLATFORM): kaddressbook/kaddressbookE.pro 257kaddressbook/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
276kmicromail/Makefile$(PLATFORM): kmicromail/kmicromailE.pro 260kmicromail/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
279kmicromail/libetpan/Makefile$(PLATFORM): kmicromail/libetpan/libetpanE.pro 263kmicromail/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
282kmicromail/libmailwrapper/Makefile$(PLATFORM): kmicromail/libmailwrapper/libmailwrapperE.pro 266kmicromail/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)