summaryrefslogtreecommitdiffabout
authorulf69 <ulf69>2004-07-16 23:28:45 (UTC)
committer ulf69 <ulf69>2004-07-16 23:28:45 (UTC)
commitb306ee8c93dd563f42a32a1ee2c63eacc6050604 (patch) (unidiff)
tree695db38d96b8635e754ecbd052c4710a2e019659
parente87df879ceaa743c95d2b48c291c3c35f8ed6b3f (diff)
downloadkdepimpi-b306ee8c93dd563f42a32a1ee2c63eacc6050604.zip
kdepimpi-b306ee8c93dd563f42a32a1ee2c63eacc6050604.tar.gz
kdepimpi-b306ee8c93dd563f42a32a1ee2c63eacc6050604.tar.bz2
build sharp dtm plugin only if we crosscompile for the zaurus (Platform=zaurus)
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--Makefile.Embedded4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.Embedded b/Makefile.Embedded
index 39d852f..71035d6 100644
--- a/Makefile.Embedded
+++ b/Makefile.Embedded
@@ -1,103 +1,107 @@
1DISTPATH = $(shell pwd) 1DISTPATH = $(shell pwd)
2DISTDIR = $(shell basename $(DISTPATH)) 2DISTDIR = $(shell basename $(DISTPATH))
3 3
4ifeq ($(PLATFORM) , zaurus) 4ifeq ($(PLATFORM) , zaurus)
5 BUILD_NO_LDAP_PLUGIN=1 5 BUILD_NO_LDAP_PLUGIN=1
6endif 6endif
7 7
8ifneq ($(PLATFORM) , zaurus)
9 BUILD_NO_SHARP_PLUGIN=1
10endif
11
8 12
9SUBDIRS_MAIN = \ 13SUBDIRS_MAIN = \
10 libical/src/libical \ 14 libical/src/libical \
11 libical/src/libicalss \ 15 libical/src/libicalss \
12 qtcompat \ 16 qtcompat \
13 microkde \ 17 microkde \
14 libkcal \ 18 libkcal \
15 libkdepim \ 19 libkdepim \
16 kabc \ 20 kabc \
17 kabc/formats/binary \ 21 kabc/formats/binary \
18 kabc/plugins/file \ 22 kabc/plugins/file \
19 kabc/plugins/dir \ 23 kabc/plugins/dir \
20 korganizer \ 24 korganizer \
21 kalarmd \ 25 kalarmd \
22 kaddressbook 26 kaddressbook
23 27
24SUBDIRS_QTOPIA_PLUGIN = \ 28SUBDIRS_QTOPIA_PLUGIN = \
25 kabc/converter/qtopia \ 29 kabc/converter/qtopia \
26 kabc/plugins/qtopia \ 30 kabc/plugins/qtopia \
27 kaddressbook/xxport/qtopia 31 kaddressbook/xxport/qtopia
28 32
29SUBDIRS_OPIE_PLUGIN = \ 33SUBDIRS_OPIE_PLUGIN = \
30 kabc/converter/opie \ 34 kabc/converter/opie \
31 kabc/plugins/opie \ 35 kabc/plugins/opie \
32 kaddressbook/xxport/opie 36 kaddressbook/xxport/opie
33 37
34SUBDIRS_SHARP_PLUGIN = \ 38SUBDIRS_SHARP_PLUGIN = \
35 kabc/converter/sharpdtm \ 39 kabc/converter/sharpdtm \
36 kabc/plugins/sharpdtm \ 40 kabc/plugins/sharpdtm \
37 kaddressbook/xxport/sharpdtm 41 kaddressbook/xxport/sharpdtm
38 42
39SUBDIRS_LDAP_PLUGIN = \ 43SUBDIRS_LDAP_PLUGIN = \
40 kabc/plugins/ldap 44 kabc/plugins/ldap
41 45
42SUBDIRS_MICROMAIL = \ 46SUBDIRS_MICROMAIL = \
43 kmicromail/libetpan \ 47 kmicromail/libetpan \
44 kmicromail/libmailwrapper \ 48 kmicromail/libmailwrapper \
45 kmicromail 49 kmicromail
46 50
47all: build_main \ 51all: build_main \
48 build_qtopia_plugin \ 52 build_qtopia_plugin \
49 build_opie_plugin \ 53 build_opie_plugin \
50 build_sharp_plugin \ 54 build_sharp_plugin \
51 build_ldap_plugin \ 55 build_ldap_plugin \
52 build_micromail 56 build_micromail
53 57
54 58
55build_main: variable_info tmake 59build_main: variable_info tmake
56 for i in $(SUBDIRS_MAIN); do pushd $$i; \ 60 for i in $(SUBDIRS_MAIN); do pushd $$i; \
57 make -f Makefile$(PLATFORM) || exit 1; popd; \ 61 make -f Makefile$(PLATFORM) || exit 1; popd; \
58 done 62 done
59 63
60build_qtopia_plugin: build_main 64build_qtopia_plugin: build_main
61 for i in $(SUBDIRS_QTOPIA_PLUGIN); do pushd $$i; \ 65 for i in $(SUBDIRS_QTOPIA_PLUGIN); do pushd $$i; \
62 make -f Makefile$(PLATFORM) || exit 1; popd; \ 66 make -f Makefile$(PLATFORM) || exit 1; popd; \
63 done 67 done
64 68
65build_opie_plugin: build_main 69build_opie_plugin: build_main
66 ifdef BUILD_NO_OPIE_PLUGIN 70 ifdef BUILD_NO_OPIE_PLUGIN
67 @echo ---> opie plugin not build. 71 @echo ---> opie plugin not build.
68 else 72 else
69 for i in $(SUBDIRS_OPIE_PLUGIN); do pushd $$i; \ 73 for i in $(SUBDIRS_OPIE_PLUGIN); do pushd $$i; \
70 make -f Makefile$(PLATFORM) || exit 1; popd; \ 74 make -f Makefile$(PLATFORM) || exit 1; popd; \
71 done 75 done
72 endif 76 endif
73 77
74build_sharp_plugin: build_main 78build_sharp_plugin: build_main
75 ifdef BUILD_NO_SHARP_PLUGIN 79 ifdef BUILD_NO_SHARP_PLUGIN
76 @echo ---> ldap plugin not build. 80 @echo ---> ldap plugin not build.
77 else 81 else
78 for i in $(SUBDIRS_SHARP_PLUGIN); do pushd $$i; \ 82 for i in $(SUBDIRS_SHARP_PLUGIN); do pushd $$i; \
79 make -f Makefile$(PLATFORM) || exit 1; popd; \ 83 make -f Makefile$(PLATFORM) || exit 1; popd; \
80 done 84 done
81 endif 85 endif
82 86
83build_ldap_plugin: build_main 87build_ldap_plugin: build_main
84 ifdef BUILD_NO_LDAP_PLUGIN 88 ifdef BUILD_NO_LDAP_PLUGIN
85 @echo ---> ldap plugin not build. 89 @echo ---> ldap plugin not build.
86 else 90 else
87 for i in $(SUBDIRS_LDAP_PLUGIN); do pushd $$i; \ 91 for i in $(SUBDIRS_LDAP_PLUGIN); do pushd $$i; \
88 make -f Makefile$(PLATFORM) || exit 1; popd; \ 92 make -f Makefile$(PLATFORM) || exit 1; popd; \
89 done 93 done
90 endif 94 endif
91 95
92 96
93build_micromail: build_main 97build_micromail: build_main
94 ifdef BUILD_NO_MICROMAIL 98 ifdef BUILD_NO_MICROMAIL
95 @echo ---> micromail not build. 99 @echo ---> micromail not build.
96 else 100 else
97 for i in $(SUBDIRS_MICROMAIL); do pushd $$i; \ 101 for i in $(SUBDIRS_MICROMAIL); do pushd $$i; \
98 make -f Makefile$(PLATFORM) || exit 1; popd; \ 102 make -f Makefile$(PLATFORM) || exit 1; popd; \
99 done 103 done
100 endif 104 endif
101 105
102 106
103variable_info: variable_test 107variable_info: variable_test