author | zautrix <zautrix> | 2004-08-30 20:38:49 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-08-30 20:38:49 (UTC) |
commit | a415f6b4188fe9fc7a7c8d530def31d0877a8073 (patch) (unidiff) | |
tree | 015334928bc184833549508bb705384547e55115 /Makefile.Embedded | |
parent | 109a23b70f67552a9ce27f682bb2b1bdbb2bb4f3 (diff) | |
download | kdepimpi-a415f6b4188fe9fc7a7c8d530def31d0877a8073.zip kdepimpi-a415f6b4188fe9fc7a7c8d530def31d0877a8073.tar.gz kdepimpi-a415f6b4188fe9fc7a7c8d530def31d0877a8073.tar.bz2 |
Gammu integrated in build system
-rw-r--r-- | Makefile.Embedded | 36 |
1 files changed, 32 insertions, 4 deletions
diff --git a/Makefile.Embedded b/Makefile.Embedded index 9b55ecf..b7e0e33 100644 --- a/Makefile.Embedded +++ b/Makefile.Embedded | |||
@@ -1,21 +1,23 @@ | |||
1 | export KDEPIMDIR = $(shell pwd) | 1 | export KDEPIMDIR = $(shell pwd) |
2 | 2 | ||
3 | 3 | ||
4 | ifeq ($(PLATFORM) , zaurus) | 4 | ifeq ($(PLATFORM) , zaurus) |
5 | BUILD_NO_LDAP_PLUGIN=1 | 5 | BUILD_NO_LDAP_PLUGIN=1 |
6 | BUILD_NO_GAMMU=1 | ||
6 | endif | 7 | endif |
7 | 8 | ||
8 | ifneq ($(PLATFORM) , zaurus) | 9 | ifneq ($(PLATFORM) , zaurus) |
9 | BUILD_NO_SHARP_PLUGIN=1 | 10 | BUILD_NO_SHARP_PLUGIN=1 |
11 | BUILD_NO_GAMMU=1 | ||
10 | endif | 12 | endif |
11 | 13 | ||
12 | SUBDIRS_MICROKDE = \ | 14 | SUBDIRS_MICROKDE = \ |
13 | libical/src/libical \ | 15 | libical/src/libical \ |
14 | libical/src/libicalss \ | 16 | libical/src/libicalss \ |
15 | qtcompat \ | 17 | qtcompat \ |
16 | microkde \ | 18 | microkde \ |
17 | libkcal \ | 19 | libkcal \ |
18 | libkdepim \ | 20 | libkdepim \ |
19 | kabc \ | 21 | kabc \ |
20 | kabc/formats/binary \ | 22 | kabc/formats/binary \ |
21 | kabc/plugins/file \ | 23 | kabc/plugins/file \ |
@@ -32,39 +34,44 @@ SUBDIRS_OPIE_PLUGIN = \ | |||
32 | 34 | ||
33 | SUBDIRS_SHARP_PLUGIN = \ | 35 | SUBDIRS_SHARP_PLUGIN = \ |
34 | kabc/plugins/sharpdtm | 36 | kabc/plugins/sharpdtm |
35 | 37 | ||
36 | SUBDIRS_LDAP_PLUGIN = \ | 38 | SUBDIRS_LDAP_PLUGIN = \ |
37 | kabc/plugins/ldap | 39 | kabc/plugins/ldap |
38 | 40 | ||
39 | SUBDIRS_MICROMAIL = \ | 41 | SUBDIRS_MICROMAIL = \ |
40 | kmicromail/libetpan \ | 42 | kmicromail/libetpan \ |
41 | kmicromail/libmailwrapper \ | 43 | kmicromail/libmailwrapper \ |
42 | kmicromail | 44 | kmicromail |
43 | 45 | ||
46 | SUBDIRS_GAMMU = \ | ||
47 | gammu/emb/common \ | ||
48 | gammu/emb/gammu | ||
49 | |||
44 | SUBDIRS = \ | 50 | SUBDIRS = \ |
45 | $(SUBDIRS_MICROKDE) \ | 51 | $(SUBDIRS_MICROKDE) \ |
46 | $(SUBDIRS_QTOPIA_PLUGIN) \ | 52 | $(SUBDIRS_QTOPIA_PLUGIN) \ |
47 | $(SUBDIRS_OPIE_PLUGIN) \ | 53 | $(SUBDIRS_OPIE_PLUGIN) \ |
48 | $(SUBDIRS_SHARP_PLUGIN) \ | 54 | $(SUBDIRS_SHARP_PLUGIN) \ |
49 | $(SUBDIRS_LDAP_PLUGIN) \ | 55 | $(SUBDIRS_LDAP_PLUGIN) \ |
50 | $(SUBDIRS_MICROMAIL) | 56 | $(SUBDIRS_MICROMAIL) \ |
51 | 57 | $(SUBDIRS_GAMMU) | |
52 | 58 | ||
53 | all: build_microkde \ | 59 | all: build_microkde \ |
54 | build_qtopia_plugin \ | 60 | build_qtopia_plugin \ |
55 | build_opie_plugin \ | 61 | build_opie_plugin \ |
56 | build_sharp_plugin \ | 62 | build_sharp_plugin \ |
57 | build_ldap_plugin \ | 63 | build_ldap_plugin \ |
58 | build_micromail | 64 | build_micromail \ |
65 | build_gammu | ||
59 | 66 | ||
60 | 67 | ||
61 | build_microkde: variable_test tmake | 68 | build_microkde: variable_test tmake |
62 | for i in $(SUBDIRS_MICROKDE); do pushd $$i; \ | 69 | for i in $(SUBDIRS_MICROKDE); do pushd $$i; \ |
63 | make -f Makefile$(PLATFORM) || exit 1; popd; \ | 70 | make -f Makefile$(PLATFORM) || exit 1; popd; \ |
64 | done | 71 | done |
65 | 72 | ||
66 | build_qtopia_plugin: build_microkde | 73 | build_qtopia_plugin: build_microkde |
67 | for i in $(SUBDIRS_QTOPIA_PLUGIN); do pushd $$i; \ | 74 | for i in $(SUBDIRS_QTOPIA_PLUGIN); do pushd $$i; \ |
68 | make -f Makefile$(PLATFORM) || exit 1; popd; \ | 75 | make -f Makefile$(PLATFORM) || exit 1; popd; \ |
69 | done | 76 | done |
70 | 77 | ||
@@ -96,41 +103,51 @@ build_ldap_plugin: build_microkde | |||
96 | endif | 103 | endif |
97 | 104 | ||
98 | 105 | ||
99 | build_micromail: build_microkde | 106 | build_micromail: build_microkde |
100 | ifdef BUILD_NO_MICROMAIL | 107 | ifdef BUILD_NO_MICROMAIL |
101 | @echo ---> micromail not build. | 108 | @echo ---> micromail not build. |
102 | else | 109 | else |
103 | for i in $(SUBDIRS_MICROMAIL); do pushd $$i; \ | 110 | for i in $(SUBDIRS_MICROMAIL); do pushd $$i; \ |
104 | make -f Makefile$(PLATFORM) || exit 1; popd; \ | 111 | make -f Makefile$(PLATFORM) || exit 1; popd; \ |
105 | done | 112 | done |
106 | endif | 113 | endif |
107 | 114 | ||
115 | build_gammu: variable_test tmake | ||
116 | ifdef BUILD_NO_GAMMU | ||
117 | @echo ---> gammu not build. | ||
118 | else | ||
119 | for i in $(SUBDIRS_GAMMU); do pushd $$i; \ | ||
120 | make -f Makefile$(PLATFORM) || exit 1; popd; \ | ||
121 | done | ||
122 | endif | ||
123 | |||
108 | 124 | ||
109 | variable_info: | 125 | variable_info: |
110 | @echo -------------------------------------- | 126 | @echo -------------------------------------- |
111 | @echo KDEPIM buildsystem, variableinfo... | 127 | @echo KDEPIM buildsystem, variableinfo... |
112 | @echo KDEPIMDIR=$(KDEPIMDIR) | 128 | @echo KDEPIMDIR=$(KDEPIMDIR) |
113 | @echo QTDIR=$(QTDIR) | 129 | @echo QTDIR=$(QTDIR) |
114 | @echo QPEDIR=$(QPEDIR) | 130 | @echo QPEDIR=$(QPEDIR) |
115 | @echo OPIEDIR=$(OPIEDIR) | 131 | @echo OPIEDIR=$(OPIEDIR) |
116 | @echo PLATFORM=$(PLATFORM) | 132 | @echo PLATFORM=$(PLATFORM) |
117 | @echo RELEASE_DEBUG=$(RELEASE_DEBUG) | 133 | @echo RELEASE_DEBUG=$(RELEASE_DEBUG) |
118 | @echo BUILD_NO_MICROMAIL=$(BUILD_NO_MICROMAIL) | 134 | @echo BUILD_NO_MICROMAIL=$(BUILD_NO_MICROMAIL) |
119 | @echo BUILD_NO_LDAP_PLUGIN=$(BUILD_NO_LDAP_PLUGIN) | 135 | @echo BUILD_NO_LDAP_PLUGIN=$(BUILD_NO_LDAP_PLUGIN) |
120 | @echo BUILD_NO_OPIE_PLUGIN=$(BUILD_NO_OPIE_PLUGIN) | 136 | @echo BUILD_NO_OPIE_PLUGIN=$(BUILD_NO_OPIE_PLUGIN) |
121 | @echo BUILD_NO_SHARP_PLUGIN=$(BUILD_NO_SHARP_PLUGIN) | 137 | @echo BUILD_NO_SHARP_PLUGIN=$(BUILD_NO_SHARP_PLUGIN) |
122 | ifndef BUILD_NO_SHARP_PLUGIN | 138 | ifndef BUILD_NO_SHARP_PLUGIN |
123 | @echo SHARPDTMSDK=$(SHARPDTMSDK) | 139 | @echo SHARPDTMSDK=$(SHARPDTMSDK) |
124 | endif | 140 | endif |
141 | @echo BUILD_NO_GAMMU=$(BUILD_NO_GAMMU) | ||
125 | @echo -------------------------------------- | 142 | @echo -------------------------------------- |
126 | 143 | ||
127 | variable_test: variable_info | 144 | variable_test: variable_info |
128 | @echo KDEPIM buildsystem, variablecheck... | 145 | @echo KDEPIM buildsystem, variablecheck... |
129 | ifndef KDEPIMDIR | 146 | ifndef KDEPIMDIR |
130 | @echo KDEPIMDIR is not defined. | 147 | @echo KDEPIMDIR is not defined. |
131 | $(error KDEPIMDIR is not defined) | 148 | $(error KDEPIMDIR is not defined) |
132 | endif | 149 | endif |
133 | ifndef PLATFORM | 150 | ifndef PLATFORM |
134 | @echo PLATFORM is not defined. | 151 | @echo PLATFORM is not defined. |
135 | $(error PLATFORM is not defined) | 152 | $(error PLATFORM is not defined) |
136 | endif | 153 | endif |
@@ -174,46 +191,51 @@ install: | |||
174 | dist: | 191 | dist: |
175 | @echo Dont forget to do "make install" before "make dist" | 192 | @echo Dont forget to do "make install" before "make dist" |
176 | rm -f *arm.ipk | 193 | rm -f *arm.ipk |
177 | rm -f *~ | 194 | rm -f *~ |
178 | cd ..; tar czf kdepim.src.tar.gz --exclude=obj --exclude=moc kdepim | 195 | cd ..; tar czf kdepim.src.tar.gz --exclude=obj --exclude=moc kdepim |
179 | ./mkipks kmicrokdelibs.control | 196 | ./mkipks kmicrokdelibs.control |
180 | ./mkipks korganizer.control | 197 | ./mkipks korganizer.control |
181 | ./mkipks kaddressbook.control | 198 | ./mkipks kaddressbook.control |
182 | ifndef BUILD_NO_MICROMAIL | 199 | ifndef BUILD_NO_MICROMAIL |
183 | ./mkipks kopiemail.control | 200 | ./mkipks kopiemail.control |
184 | endif | 201 | endif |
185 | ./mkipks korganizer-alarm.control | 202 | ./mkipks korganizer-alarm.control |
203 | ifndef BUILD_NO_GAMMU | ||
204 | ./mkipks gammu.control | ||
205 | endif | ||
186 | 206 | ||
187 | tmake: objects \ | 207 | tmake: objects \ |
188 | qtcompat/Makefile$(PLATFORM) \ | 208 | qtcompat/Makefile$(PLATFORM) \ |
189 | microkde/Makefile$(PLATFORM) \ | 209 | microkde/Makefile$(PLATFORM) \ |
190 | libkcal/Makefile$(PLATFORM) \ | 210 | libkcal/Makefile$(PLATFORM) \ |
191 | libkdepim/Makefile$(PLATFORM) \ | 211 | libkdepim/Makefile$(PLATFORM) \ |
192 | korganizer/Makefile$(PLATFORM) \ | 212 | korganizer/Makefile$(PLATFORM) \ |
193 | kalarmd/Makefile$(PLATFORM) \ | 213 | kalarmd/Makefile$(PLATFORM) \ |
194 | libical/src/libical/Makefile$(PLATFORM) \ | 214 | libical/src/libical/Makefile$(PLATFORM) \ |
195 | libical/src/libicalss/Makefile$(PLATFORM) \ | 215 | libical/src/libicalss/Makefile$(PLATFORM) \ |
196 | kabc/Makefile$(PLATFORM) \ | 216 | kabc/Makefile$(PLATFORM) \ |
197 | kabc/formats/binary/Makefile$(PLATFORM) \ | 217 | kabc/formats/binary/Makefile$(PLATFORM) \ |
198 | kabc/plugins/file/Makefile$(PLATFORM) \ | 218 | kabc/plugins/file/Makefile$(PLATFORM) \ |
199 | kabc/plugins/dir/Makefile$(PLATFORM) \ | 219 | kabc/plugins/dir/Makefile$(PLATFORM) \ |
200 | kabc/plugins/ldap/Makefile$(PLATFORM) \ | 220 | kabc/plugins/ldap/Makefile$(PLATFORM) \ |
201 | kabc/plugins/opie/Makefile$(PLATFORM) \ | 221 | kabc/plugins/opie/Makefile$(PLATFORM) \ |
202 | kabc/plugins/qtopia/Makefile$(PLATFORM) \ | 222 | kabc/plugins/qtopia/Makefile$(PLATFORM) \ |
203 | kabc/plugins/sharpdtm/Makefile$(PLATFORM) \ | 223 | kabc/plugins/sharpdtm/Makefile$(PLATFORM) \ |
204 | kaddressbook/Makefile$(PLATFORM) \ | 224 | kaddressbook/Makefile$(PLATFORM) \ |
205 | kmicromail/Makefile$(PLATFORM) \ | 225 | kmicromail/Makefile$(PLATFORM) \ |
206 | kmicromail/libetpan/Makefile$(PLATFORM) \ | 226 | kmicromail/libetpan/Makefile$(PLATFORM) \ |
207 | kmicromail/libmailwrapper/Makefile$(PLATFORM) | 227 | kmicromail/libmailwrapper/Makefile$(PLATFORM) \ |
228 | gammu/emb/common/Makefile$(PLATFORM) \ | ||
229 | gammu/emb/gammu/Makefile$(PLATFORM) \ | ||
208 | 230 | ||
209 | 231 | ||
210 | 232 | ||
211 | 233 | ||
212 | qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro | 234 | qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro |
213 | cd qtcompat; tmake "CONFIG+=$(RELEASE_DEBUG)" qtcompat.pro -o Makefile$(PLATFORM) | 235 | cd qtcompat; tmake "CONFIG+=$(RELEASE_DEBUG)" qtcompat.pro -o Makefile$(PLATFORM) |
214 | 236 | ||
215 | microkde/Makefile$(PLATFORM): microkde/microkdeE.pro | 237 | microkde/Makefile$(PLATFORM): microkde/microkdeE.pro |
216 | cd microkde; tmake "CONFIG+=$(RELEASE_DEBUG)" microkdeE.pro -o Makefile$(PLATFORM) | 238 | cd microkde; tmake "CONFIG+=$(RELEASE_DEBUG)" microkdeE.pro -o Makefile$(PLATFORM) |
217 | 239 | ||
218 | libkcal/Makefile$(PLATFORM): libkcal/libkcalE.pro | 240 | libkcal/Makefile$(PLATFORM): libkcal/libkcalE.pro |
219 | cd libkcal; tmake "CONFIG+=$(RELEASE_DEBUG)" libkcalE.pro -o Makefile$(PLATFORM) | 241 | cd libkcal; tmake "CONFIG+=$(RELEASE_DEBUG)" libkcalE.pro -o Makefile$(PLATFORM) |
@@ -260,12 +282,18 @@ kabc/plugins/sharpdtm/Makefile$(PLATFORM): kabc/plugins/sharpdtm/sharpdtmE.pro | |||
260 | 282 | ||
261 | kaddressbook/Makefile$(PLATFORM): kaddressbook/kaddressbookE.pro | 283 | kaddressbook/Makefile$(PLATFORM): kaddressbook/kaddressbookE.pro |
262 | cd kaddressbook; tmake "CONFIG+=$(RELEASE_DEBUG)" kaddressbookE.pro -o Makefile$(PLATFORM) | 284 | cd kaddressbook; tmake "CONFIG+=$(RELEASE_DEBUG)" kaddressbookE.pro -o Makefile$(PLATFORM) |
263 | 285 | ||
264 | kmicromail/Makefile$(PLATFORM): kmicromail/kmicromailE.pro | 286 | kmicromail/Makefile$(PLATFORM): kmicromail/kmicromailE.pro |
265 | cd kmicromail; tmake "CONFIG+=$(RELEASE_DEBUG)" kmicromailE.pro -o Makefile$(PLATFORM) | 287 | cd kmicromail; tmake "CONFIG+=$(RELEASE_DEBUG)" kmicromailE.pro -o Makefile$(PLATFORM) |
266 | 288 | ||
267 | kmicromail/libetpan/Makefile$(PLATFORM): kmicromail/libetpan/libetpanE.pro | 289 | kmicromail/libetpan/Makefile$(PLATFORM): kmicromail/libetpan/libetpanE.pro |
268 | cd kmicromail/libetpan; tmake "CONFIG+=$(RELEASE_DEBUG)" libetpanE.pro -o Makefile$(PLATFORM) | 290 | cd kmicromail/libetpan; tmake "CONFIG+=$(RELEASE_DEBUG)" libetpanE.pro -o Makefile$(PLATFORM) |
269 | 291 | ||
270 | kmicromail/libmailwrapper/Makefile$(PLATFORM): kmicromail/libmailwrapper/libmailwrapperE.pro | 292 | kmicromail/libmailwrapper/Makefile$(PLATFORM): kmicromail/libmailwrapper/libmailwrapperE.pro |
271 | cd kmicromail/libmailwrapper; tmake "CONFIG+=$(RELEASE_DEBUG)" libmailwrapperE.pro -o Makefile$(PLATFORM) | 293 | cd kmicromail/libmailwrapper; tmake "CONFIG+=$(RELEASE_DEBUG)" libmailwrapperE.pro -o Makefile$(PLATFORM) |
294 | |||
295 | gammu/emb/common/Makefile$(PLATFORM): gammu/emb/common/commonE.pro | ||
296 | cd gammu/emb/common; tmake "CONFIG+=$(RELEASE_DEBUG)" commonE.pro -o Makefile$(PLATFORM) | ||
297 | |||
298 | gammu/emb/gammu/Makefile$(PLATFORM): gammu/emb/gammu/gammuE.pro | ||
299 | cd gammu/emb/gammu; tmake "CONFIG+=$(RELEASE_DEBUG)" gammuE.pro -o Makefile$(PLATFORM) | ||