summaryrefslogtreecommitdiffabout
path: root/Makefile.Embedded
Unidiff
Diffstat (limited to 'Makefile.Embedded') (more/less context) (ignore whitespace changes)
-rw-r--r--Makefile.Embedded2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.Embedded b/Makefile.Embedded
index 5a51127..9096f01 100644
--- a/Makefile.Embedded
+++ b/Makefile.Embedded
@@ -128,192 +128,194 @@ build_micromail: build_microkde
128 done 128 done
129 endif 129 endif
130 130
131build_gammu: variable_test tmake 131build_gammu: variable_test tmake
132 ifdef BUILD_NO_GAMMU 132 ifdef BUILD_NO_GAMMU
133 @echo == gammu not build. 133 @echo == gammu not build.
134 else 134 else
135 for i in $(SUBDIRS_GAMMU); do pushd $$i; \ 135 for i in $(SUBDIRS_GAMMU); do pushd $$i; \
136 make -f Makefile$(PLATFORM) || exit 1; popd; \ 136 make -f Makefile$(PLATFORM) || exit 1; popd; \
137 done 137 done
138 endif 138 endif
139 139
140build_pwmanager: build_microkde 140build_pwmanager: build_microkde
141 ifdef BUILD_NO_PWMANAGER 141 ifdef BUILD_NO_PWMANAGER
142 @echo == pwmanager not build. 142 @echo == pwmanager not build.
143 else 143 else
144 for i in $(SUBDIRS_PWMANAGER); do pushd $$i; \ 144 for i in $(SUBDIRS_PWMANAGER); do pushd $$i; \
145 make -f Makefile$(PLATFORM) || exit 1; popd; \ 145 make -f Makefile$(PLATFORM) || exit 1; popd; \
146 done 146 done
147 endif 147 endif
148 148
149 149
150variable_info: 150variable_info:
151 @echo -------------------------------------- 151 @echo --------------------------------------
152 @echo KDEPIM buildsystem, variableinfo... 152 @echo KDEPIM buildsystem, variableinfo...
153 @echo KDEPIMDIR=$(KDEPIMDIR) 153 @echo KDEPIMDIR=$(KDEPIMDIR)
154 @echo QTDIR=$(QTDIR) 154 @echo QTDIR=$(QTDIR)
155 @echo QPEDIR=$(QPEDIR) 155 @echo QPEDIR=$(QPEDIR)
156 @echo OPIEDIR=$(OPIEDIR) 156 @echo OPIEDIR=$(OPIEDIR)
157 @echo PLATFORM=$(PLATFORM) 157 @echo PLATFORM=$(PLATFORM)
158 @echo RELEASE_DEBUG=$(RELEASE_DEBUG) 158 @echo RELEASE_DEBUG=$(RELEASE_DEBUG)
159 @echo BUILD_NO_MICROMAIL=$(BUILD_NO_MICROMAIL) 159 @echo BUILD_NO_MICROMAIL=$(BUILD_NO_MICROMAIL)
160 @echo BUILD_NO_LDAP_PLUGIN=$(BUILD_NO_LDAP_PLUGIN) 160 @echo BUILD_NO_LDAP_PLUGIN=$(BUILD_NO_LDAP_PLUGIN)
161 @echo BUILD_NO_OPIE_PLUGIN=$(BUILD_NO_OPIE_PLUGIN) 161 @echo BUILD_NO_OPIE_PLUGIN=$(BUILD_NO_OPIE_PLUGIN)
162 @echo BUILD_NO_QTOPIA_PLUGIN=$(BUILD_NO_QTOPIA_PLUGIN) 162 @echo BUILD_NO_QTOPIA_PLUGIN=$(BUILD_NO_QTOPIA_PLUGIN)
163 @echo BUILD_NO_SHARP_PLUGIN=$(BUILD_NO_SHARP_PLUGIN) 163 @echo BUILD_NO_SHARP_PLUGIN=$(BUILD_NO_SHARP_PLUGIN)
164 ifndef BUILD_NO_SHARP_PLUGIN 164 ifndef BUILD_NO_SHARP_PLUGIN
165 @echo SHARPDTMSDK=$(SHARPDTMSDK) 165 @echo SHARPDTMSDK=$(SHARPDTMSDK)
166 endif 166 endif
167 @echo BUILD_NO_GAMMU=$(BUILD_NO_GAMMU) 167 @echo BUILD_NO_GAMMU=$(BUILD_NO_GAMMU)
168 @echo BUILD_NO_PWMANAGER=$(BUILD_NO_PWMANAGER) 168 @echo BUILD_NO_PWMANAGER=$(BUILD_NO_PWMANAGER)
169 @echo -------------------------------------- 169 @echo --------------------------------------
170 170
171variable_test: variable_info 171variable_test: variable_info
172 @echo KDEPIM buildsystem, variablecheck... 172 @echo KDEPIM buildsystem, variablecheck...
173 ifndef KDEPIMDIR 173 ifndef KDEPIMDIR
174 @echo KDEPIMDIR is not defined. 174 @echo KDEPIMDIR is not defined.
175 $(error KDEPIMDIR is not defined) 175 $(error KDEPIMDIR is not defined)
176 endif 176 endif
177 ifndef PLATFORM 177 ifndef PLATFORM
178 @echo PLATFORM is not defined. 178 @echo PLATFORM is not defined.
179 $(error PLATFORM is not defined) 179 $(error PLATFORM is not defined)
180 endif 180 endif
181 ifdef BUILD_NO_LDAP_PLUGIN 181 ifdef BUILD_NO_LDAP_PLUGIN
182 @echo LDAP PLUGIN will not be build, because BUILD_NO_LDAP_PLUGIN is set to $(BUILD_NO_LDAP_PLUGIN) 182 @echo LDAP PLUGIN will not be build, because BUILD_NO_LDAP_PLUGIN is set to $(BUILD_NO_LDAP_PLUGIN)
183 endif 183 endif
184 ifdef BUILD_NO_OPIE_PLUGIN 184 ifdef BUILD_NO_OPIE_PLUGIN
185 @echo OPIE PLUGIN will not be build, because BUILD_NO_OPIE_PLUGIN is set to $(BUILD_NO_OPIE_PLUGIN) 185 @echo OPIE PLUGIN will not be build, because BUILD_NO_OPIE_PLUGIN is set to $(BUILD_NO_OPIE_PLUGIN)
186 endif 186 endif
187 ifdef BUILD_NO_QTOPIA_PLUGIN 187 ifdef BUILD_NO_QTOPIA_PLUGIN
188 @echo QTOPIA PLUGIN will not be build, because BUILD_NO__QTOPIA_PLUGIN is set to $(BUILD_NO__QTOPIA_PLUGIN) 188 @echo QTOPIA PLUGIN will not be build, because BUILD_NO__QTOPIA_PLUGIN is set to $(BUILD_NO__QTOPIA_PLUGIN)
189 endif 189 endif
190 ifdef BUILD_NO_MICROMAIL 190 ifdef BUILD_NO_MICROMAIL
191 @echo MICROMAIL will not be build, because BUILD_NO_MICROMAIL is set to $(BUILD_NO_MICROMAIL) 191 @echo MICROMAIL will not be build, because BUILD_NO_MICROMAIL is set to $(BUILD_NO_MICROMAIL)
192 endif 192 endif
193 ifdef BUILD_NO_SHARP_PLUGIN 193 ifdef BUILD_NO_SHARP_PLUGIN
194 @echo SHARP PLUGIN will not be build, because BUILD_NO_SHARP_PLUGIN is set to $(BUILD_NO_SHARP_PLUGIN) 194 @echo SHARP PLUGIN will not be build, because BUILD_NO_SHARP_PLUGIN is set to $(BUILD_NO_SHARP_PLUGIN)
195 else 195 else
196 ifndef SHARPDTMSDK 196 ifndef SHARPDTMSDK
197 @echo SHARP PLUGIN can not be build, because SHARPDTMSDK is set to $(SHARPDTMSDK) 197 @echo SHARP PLUGIN can not be build, because SHARPDTMSDK is set to $(SHARPDTMSDK)
198 $(error SHARPDTMSDK is not defined) 198 $(error SHARPDTMSDK is not defined)
199 endif 199 endif
200 endif 200 endif
201 ifdef BUILD_NO_GAMMU 201 ifdef BUILD_NO_GAMMU
202 @echo GAMMU will not be build, because BUILD_NO_GAMMU is set to $(BUILD_NO_GAMMU) 202 @echo GAMMU will not be build, because BUILD_NO_GAMMU is set to $(BUILD_NO_GAMMU)
203 endif 203 endif
204 ifdef BUILD_NO_PWMANAGER 204 ifdef BUILD_NO_PWMANAGER
205 @echo PWMANAGER will not be build, because BUILD_NO_PWMANAGER is set to $(BUILD_NO_PWMANAGER) 205 @echo PWMANAGER will not be build, because BUILD_NO_PWMANAGER is set to $(BUILD_NO_PWMANAGER)
206 endif 206 endif
207 @echo -------------------------------------- 207 @echo --------------------------------------
208 208
209 209
210objects: 210objects:
211 for i in $(SUBDIRS); do mkdir -p $$i/obj/$(PLATFORM); done 211 for i in $(SUBDIRS); do mkdir -p $$i/obj/$(PLATFORM); done
212 for i in $(SUBDIRS); do mkdir -p $$i/moc/$(PLATFORM); done 212 for i in $(SUBDIRS); do mkdir -p $$i/moc/$(PLATFORM); done
213 mkdir -p libical/lib/$(PLATFORM) 213 mkdir -p libical/lib/$(PLATFORM)
214 mkdir -p pwmanager/libcrypt/$(PLATFORM) 214 mkdir -p pwmanager/libcrypt/$(PLATFORM)
215 215
216clean: 216clean:
217 rm -rf libical/lib/$(PLATFORM)/*; 217 rm -rf libical/lib/$(PLATFORM)/*;
218 rm -rf pwmanager/libcrypt/$(PLATFORM)/*; 218 rm -rf pwmanager/libcrypt/$(PLATFORM)/*;
219 for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\ 219 for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\
220 rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \ 220 rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \
221 done 221 done
222 222
223pac: 223pac:
224 rm -f $(QPEDIR)/lib/libmicro*
225 rm -f $(QPEDIR)/plugins/applets/libkopi*
224 make 226 make
225 make install 227 make install
226 make dist 228 make dist
227install: 229install:
228 230
229 cd bin/kdepim; make install 231 cd bin/kdepim; make install
230 cp -r Pim $(QPEDIR)/apps 232 cp -r Pim $(QPEDIR)/apps
231 cp db2file/db2file $(QPEDIR)/bin/db2file 233 cp db2file/db2file $(QPEDIR)/bin/db2file
232 cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop 234 cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop
233 cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop 235 cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop
234 cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kopiemail.desktop 236 cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kopiemail.desktop
235 cp pwmanager/pwmanager/pwmanager.desktop $(QPEDIR)/apps/Pim/pwmanager.desktop 237 cp pwmanager/pwmanager/pwmanager.desktop $(QPEDIR)/apps/Pim/pwmanager.desktop
236 238
237dist: 239dist:
238 @echo Dont forget to do "make install" before "make dist" 240 @echo Dont forget to do "make install" before "make dist"
239 rm -f *arm.ipk 241 rm -f *arm.ipk
240 rm -f *ipk.zip 242 rm -f *ipk.zip
241 rm -f ../new_$(KDEPIM_VERSION)/* 243 rm -f ../new_$(KDEPIM_VERSION)/*
242 rm -f *~ 244 rm -f *~
243 cd ..;mkdir -p new_$(KDEPIM_VERSION) 245 cd ..;mkdir -p new_$(KDEPIM_VERSION)
244 cd ..; tar czf kdepimpi-$(KDEPIM_VERSION).tar.gz --exclude=obj --exclude=moc --exclude=CVS --exclude=Makefilezaurus --exclude=Makefileqtopia kdepim 246 cd ..; tar czf kdepimpi-$(KDEPIM_VERSION).tar.gz --exclude=obj --exclude=moc --exclude=CVS --exclude=Makefilezaurus --exclude=Makefileqtopia kdepim
245 mkipks kmicrokdelibs.control 247 mkipks kmicrokdelibs.control
246 mkipks korganizer.control 248 mkipks korganizer.control
247 mkipks kaddressbook.control 249 mkipks kaddressbook.control
248 ifndef BUILD_NO_MICROMAIL 250 ifndef BUILD_NO_MICROMAIL
249 mkipks kopiemail.control 251 mkipks kopiemail.control
250 endif 252 endif
251 ifndef BUILD_NO_SHARP_PLUGIN 253 ifndef BUILD_NO_SHARP_PLUGIN
252 mkipks ksharpPIM-DTMaccess.control 254 mkipks ksharpPIM-DTMaccess.control
253 endif 255 endif
254 mkipks korganizer-alarm.control 256 mkipks korganizer-alarm.control
255 ifndef BUILD_NO_GAMMU 257 ifndef BUILD_NO_GAMMU
256 mkipks kmobilephoneaccess.control 258 mkipks kmobilephoneaccess.control
257 endif 259 endif
258 ifndef BUILD_NO_PWMANAGER 260 ifndef BUILD_NO_PWMANAGER
259 mkipks pwmanager.control 261 mkipks pwmanager.control
260 endif 262 endif
261 mkipks pimTABicon.control 263 mkipks pimTABicon.control
262 zip kdepim_$(KDEPIM_VERSION)_for_SharpRom.ipk.zip *.ipk ReleaseNotes.txt 264 zip kdepim_$(KDEPIM_VERSION)_for_SharpRom.ipk.zip *.ipk ReleaseNotes.txt
263 mv *.ipk ../new_$(KDEPIM_VERSION)/ 265 mv *.ipk ../new_$(KDEPIM_VERSION)/
264 mv *for_SharpRom.ipk.zip ../new_$(KDEPIM_VERSION)/ 266 mv *for_SharpRom.ipk.zip ../new_$(KDEPIM_VERSION)/
265 mv ../kdepimpi-$(KDEPIM_VERSION).tar.gz ../new_$(KDEPIM_VERSION)/ 267 mv ../kdepimpi-$(KDEPIM_VERSION).tar.gz ../new_$(KDEPIM_VERSION)/
266 268
267tmake: objects \ 269tmake: objects \
268 qtcompat/Makefile$(PLATFORM) \ 270 qtcompat/Makefile$(PLATFORM) \
269 microkde/Makefile$(PLATFORM) \ 271 microkde/Makefile$(PLATFORM) \
270 libkcal/Makefile$(PLATFORM) \ 272 libkcal/Makefile$(PLATFORM) \
271 libkdepim/Makefile$(PLATFORM) \ 273 libkdepim/Makefile$(PLATFORM) \
272 korganizer/Makefile$(PLATFORM) \ 274 korganizer/Makefile$(PLATFORM) \
273 kalarmd/Makefile$(PLATFORM) \ 275 kalarmd/Makefile$(PLATFORM) \
274 libical/src/libical/Makefile$(PLATFORM) \ 276 libical/src/libical/Makefile$(PLATFORM) \
275 libical/src/libicalss/Makefile$(PLATFORM) \ 277 libical/src/libicalss/Makefile$(PLATFORM) \
276 kabc/Makefile$(PLATFORM) \ 278 kabc/Makefile$(PLATFORM) \
277 kabc/formats/binary/Makefile$(PLATFORM) \ 279 kabc/formats/binary/Makefile$(PLATFORM) \
278 kabc/plugins/file/Makefile$(PLATFORM) \ 280 kabc/plugins/file/Makefile$(PLATFORM) \
279 kabc/plugins/dir/Makefile$(PLATFORM) \ 281 kabc/plugins/dir/Makefile$(PLATFORM) \
280 kabc/plugins/ldap/Makefile$(PLATFORM) \ 282 kabc/plugins/ldap/Makefile$(PLATFORM) \
281 kabc/plugins/opie/Makefile$(PLATFORM) \ 283 kabc/plugins/opie/Makefile$(PLATFORM) \
282 kabc/plugins/qtopia/Makefile$(PLATFORM) \ 284 kabc/plugins/qtopia/Makefile$(PLATFORM) \
283 kabc/plugins/sharpdtm/Makefile$(PLATFORM) \ 285 kabc/plugins/sharpdtm/Makefile$(PLATFORM) \
284 kaddressbook/Makefile$(PLATFORM) \ 286 kaddressbook/Makefile$(PLATFORM) \
285 kmicromail/Makefile$(PLATFORM) \ 287 kmicromail/Makefile$(PLATFORM) \
286 kmicromail/libetpan/Makefile$(PLATFORM) \ 288 kmicromail/libetpan/Makefile$(PLATFORM) \
287 kmicromail/libmailwrapper/Makefile$(PLATFORM) \ 289 kmicromail/libmailwrapper/Makefile$(PLATFORM) \
288 gammu/emb/common/Makefile$(PLATFORM) \ 290 gammu/emb/common/Makefile$(PLATFORM) \
289 gammu/emb/gammu/Makefile$(PLATFORM) \ 291 gammu/emb/gammu/Makefile$(PLATFORM) \
290 pwmanager/pwmanager/Makefile$(PLATFORM) \ 292 pwmanager/pwmanager/Makefile$(PLATFORM) \
291 pwmanager/libcrypt/mpi/Makefile$(PLATFORM) \ 293 pwmanager/libcrypt/mpi/Makefile$(PLATFORM) \
292 pwmanager/libcrypt/error/Makefile$(PLATFORM) \ 294 pwmanager/libcrypt/error/Makefile$(PLATFORM) \
293 pwmanager/libcrypt/cipher/Makefile$(PLATFORM) \ 295 pwmanager/libcrypt/cipher/Makefile$(PLATFORM) \
294 pwmanager/libcrypt/zlib/Makefile$(PLATFORM) 296 pwmanager/libcrypt/zlib/Makefile$(PLATFORM)
295 297
296qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro 298qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro
297 cd qtcompat; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" qtcompat.pro -o Makefile$(PLATFORM) 299 cd qtcompat; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" qtcompat.pro -o Makefile$(PLATFORM)
298 300
299microkde/Makefile$(PLATFORM): microkde/microkdeE.pro 301microkde/Makefile$(PLATFORM): microkde/microkdeE.pro
300 cd microkde; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" microkdeE.pro -o Makefile$(PLATFORM) 302 cd microkde; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" microkdeE.pro -o Makefile$(PLATFORM)
301 303
302libkcal/Makefile$(PLATFORM): libkcal/libkcalE.pro 304libkcal/Makefile$(PLATFORM): libkcal/libkcalE.pro
303 cd libkcal; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libkcalE.pro -o Makefile$(PLATFORM) 305 cd libkcal; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libkcalE.pro -o Makefile$(PLATFORM)
304 306
305 307
306libkdepim/Makefile$(PLATFORM): libkdepim/libkdepimE.pro 308libkdepim/Makefile$(PLATFORM): libkdepim/libkdepimE.pro
307 cd libkdepim; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libkdepimE.pro -o Makefile$(PLATFORM) 309 cd libkdepim; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libkdepimE.pro -o Makefile$(PLATFORM)
308 310
309kalarmd/Makefile$(PLATFORM): kalarmd/kalarmdE.pro 311kalarmd/Makefile$(PLATFORM): kalarmd/kalarmdE.pro
310 cd kalarmd; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kalarmdE.pro -o Makefile$(PLATFORM) 312 cd kalarmd; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" kalarmdE.pro -o Makefile$(PLATFORM)
311 313
312korganizer/Makefile$(PLATFORM): korganizer/korganizerE.pro 314korganizer/Makefile$(PLATFORM): korganizer/korganizerE.pro
313 cd korganizer; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" korganizerE.pro -o Makefile$(PLATFORM) 315 cd korganizer; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" korganizerE.pro -o Makefile$(PLATFORM)
314 316
315libical/src/libical/Makefile$(PLATFORM): libical/src/libical/libicalE.pro 317libical/src/libical/Makefile$(PLATFORM): libical/src/libical/libicalE.pro
316 cd libical/src/libical; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libicalE.pro -o Makefile$(PLATFORM) 318 cd libical/src/libical; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libicalE.pro -o Makefile$(PLATFORM)
317 319
318libical/src/libicalss/Makefile$(PLATFORM): libical/src/libicalss/libicalssE.pro 320libical/src/libicalss/Makefile$(PLATFORM): libical/src/libicalss/libicalssE.pro
319 cd libical/src/libicalss; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libicalssE.pro -o Makefile$(PLATFORM) 321 cd libical/src/libicalss; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libicalssE.pro -o Makefile$(PLATFORM)