-rw-r--r-- | Makefile.Embedded | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.Embedded b/Makefile.Embedded index da5feba..b677087 100644 --- a/Makefile.Embedded +++ b/Makefile.Embedded | |||
@@ -1,108 +1,111 @@ | |||
1 | export KDEPIMDIR = $(shell pwd) | 1 | export KDEPIMDIR = $(shell pwd) |
2 | 2 | ||
3 | export KDEPIM_VERSION=$(shell sed -e 's/.*\"\([0-9]*\.[0-9]*\.[0-9]*\).*/\1/' < version) | 3 | export KDEPIM_VERSION=$(shell sed -e 's/.*\"\([0-9]*\.[0-9]*\.[0-9]*\).*/\1/' < version) |
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 | #opie plugin is deprecated. The qtopia plugin handles the task from now on. | ||
14 | BUILD_NO_OPIE_PLUGIN=1 | ||
15 | |||
13 | SUBDIRS_MICROKDE = \ | 16 | SUBDIRS_MICROKDE = \ |
14 | libical/src/libical \ | 17 | libical/src/libical \ |
15 | libical/src/libicalss \ | 18 | libical/src/libicalss \ |
16 | qtcompat \ | 19 | qtcompat \ |
17 | microkde \ | 20 | microkde \ |
18 | libkcal \ | 21 | libkcal \ |
19 | libkdepim \ | 22 | libkdepim \ |
20 | kabc \ | 23 | kabc \ |
21 | kabc/formats/binary \ | 24 | kabc/formats/binary \ |
22 | kabc/plugins/file \ | 25 | kabc/plugins/file \ |
23 | kabc/plugins/dir \ | 26 | kabc/plugins/dir \ |
24 | korganizer \ | 27 | korganizer \ |
25 | kalarmd \ | 28 | kalarmd \ |
26 | kaddressbook | 29 | kaddressbook |
27 | 30 | ||
28 | SUBDIRS_QTOPIA_PLUGIN = \ | 31 | SUBDIRS_QTOPIA_PLUGIN = \ |
29 | kabc/plugins/qtopia | 32 | kabc/plugins/qtopia |
30 | 33 | ||
31 | SUBDIRS_OPIE_PLUGIN = \ | 34 | SUBDIRS_OPIE_PLUGIN = \ |
32 | kabc/plugins/opie | 35 | kabc/plugins/opie |
33 | 36 | ||
34 | SUBDIRS_SHARP_PLUGIN = \ | 37 | SUBDIRS_SHARP_PLUGIN = \ |
35 | kabc/plugins/sharpdtm | 38 | kabc/plugins/sharpdtm |
36 | 39 | ||
37 | SUBDIRS_LDAP_PLUGIN = \ | 40 | SUBDIRS_LDAP_PLUGIN = \ |
38 | kabc/plugins/ldap | 41 | kabc/plugins/ldap |
39 | 42 | ||
40 | SUBDIRS_MICROMAIL = \ | 43 | SUBDIRS_MICROMAIL = \ |
41 | kmicromail/libetpan \ | 44 | kmicromail/libetpan \ |
42 | kmicromail/libmailwrapper \ | 45 | kmicromail/libmailwrapper \ |
43 | kmicromail | 46 | kmicromail |
44 | 47 | ||
45 | SUBDIRS_GAMMU = \ | 48 | SUBDIRS_GAMMU = \ |
46 | gammu/emb/common \ | 49 | gammu/emb/common \ |
47 | gammu/emb/gammu | 50 | gammu/emb/gammu |
48 | 51 | ||
49 | SUBDIRS_PWMANAGER = \ | 52 | SUBDIRS_PWMANAGER = \ |
50 | pwmanager/libcrypt/mpi \ | 53 | pwmanager/libcrypt/mpi \ |
51 | pwmanager/libcrypt/error \ | 54 | pwmanager/libcrypt/error \ |
52 | pwmanager/libcrypt/cipher \ | 55 | pwmanager/libcrypt/cipher \ |
53 | pwmanager/libcrypt/zlib \ | 56 | pwmanager/libcrypt/zlib \ |
54 | pwmanager/pwmanager | 57 | pwmanager/pwmanager |
55 | 58 | ||
56 | SUBDIRS = \ | 59 | SUBDIRS = \ |
57 | $(SUBDIRS_MICROKDE) \ | 60 | $(SUBDIRS_MICROKDE) \ |
58 | $(SUBDIRS_QTOPIA_PLUGIN) \ | 61 | $(SUBDIRS_QTOPIA_PLUGIN) \ |
59 | $(SUBDIRS_OPIE_PLUGIN) \ | 62 | $(SUBDIRS_OPIE_PLUGIN) \ |
60 | $(SUBDIRS_SHARP_PLUGIN) \ | 63 | $(SUBDIRS_SHARP_PLUGIN) \ |
61 | $(SUBDIRS_LDAP_PLUGIN) \ | 64 | $(SUBDIRS_LDAP_PLUGIN) \ |
62 | $(SUBDIRS_MICROMAIL) \ | 65 | $(SUBDIRS_MICROMAIL) \ |
63 | $(SUBDIRS_GAMMU) \ | 66 | $(SUBDIRS_GAMMU) \ |
64 | $(SUBDIRS_PWMANAGER) | 67 | $(SUBDIRS_PWMANAGER) |
65 | 68 | ||
66 | 69 | ||
67 | all: build_microkde \ | 70 | all: build_microkde \ |
68 | build_qtopia_plugin \ | 71 | build_qtopia_plugin \ |
69 | build_opie_plugin \ | 72 | build_opie_plugin \ |
70 | build_sharp_plugin \ | 73 | build_sharp_plugin \ |
71 | build_ldap_plugin \ | 74 | build_ldap_plugin \ |
72 | build_micromail \ | 75 | build_micromail \ |
73 | build_gammu \ | 76 | build_gammu \ |
74 | build_pwmanager | 77 | build_pwmanager |
75 | 78 | ||
76 | 79 | ||
77 | build_microkde: variable_test tmake | 80 | build_microkde: variable_test tmake |
78 | for i in $(SUBDIRS_MICROKDE); do pushd $$i; \ | 81 | for i in $(SUBDIRS_MICROKDE); do pushd $$i; \ |
79 | make -f Makefile$(PLATFORM) || exit 1; popd; \ | 82 | make -f Makefile$(PLATFORM) || exit 1; popd; \ |
80 | done | 83 | done |
81 | 84 | ||
82 | build_qtopia_plugin: build_microkde | 85 | build_qtopia_plugin: build_microkde |
83 | ifdef BUILD_NO_QTOPIA_PLUGIN | 86 | ifdef BUILD_NO_QTOPIA_PLUGIN |
84 | @echo == qtopia plugin not build. | 87 | @echo == qtopia plugin not build. |
85 | else | 88 | else |
86 | for i in $(SUBDIRS_QTOPIA_PLUGIN); do pushd $$i; \ | 89 | for i in $(SUBDIRS_QTOPIA_PLUGIN); do pushd $$i; \ |
87 | make -f Makefile$(PLATFORM) || exit 1; popd; \ | 90 | make -f Makefile$(PLATFORM) || exit 1; popd; \ |
88 | done | 91 | done |
89 | endif | 92 | endif |
90 | 93 | ||
91 | build_opie_plugin: build_microkde | 94 | build_opie_plugin: build_microkde |
92 | ifdef BUILD_NO_OPIE_PLUGIN | 95 | ifdef BUILD_NO_OPIE_PLUGIN |
93 | @echo == opie plugin not build. | 96 | @echo == opie plugin not build. |
94 | else | 97 | else |
95 | for i in $(SUBDIRS_OPIE_PLUGIN); do pushd $$i; \ | 98 | for i in $(SUBDIRS_OPIE_PLUGIN); do pushd $$i; \ |
96 | make -f Makefile$(PLATFORM) || exit 1; popd; \ | 99 | make -f Makefile$(PLATFORM) || exit 1; popd; \ |
97 | done | 100 | done |
98 | endif | 101 | endif |
99 | 102 | ||
100 | build_sharp_plugin: build_microkde | 103 | build_sharp_plugin: build_microkde |
101 | ifdef BUILD_NO_SHARP_PLUGIN | 104 | ifdef BUILD_NO_SHARP_PLUGIN |
102 | @echo == ldap plugin not build. | 105 | @echo == ldap plugin not build. |
103 | else | 106 | else |
104 | for i in $(SUBDIRS_SHARP_PLUGIN); do pushd $$i; \ | 107 | for i in $(SUBDIRS_SHARP_PLUGIN); do pushd $$i; \ |
105 | make -f Makefile$(PLATFORM) || exit 1; popd; \ | 108 | make -f Makefile$(PLATFORM) || exit 1; popd; \ |
106 | done | 109 | done |
107 | endif | 110 | endif |
108 | 111 | ||