author | zautrix <zautrix> | 2005-02-01 12:38:27 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-02-01 12:38:27 (UTC) |
commit | b699d9cf03b5b5bb92609bcd04eef2651fe0028b (patch) (unidiff) | |
tree | 64f5a933633816ef6df6433b3b4af2f070f84216 /Makefile | |
parent | 3295269ea601147ea60ba4d20ad225048d9d47c0 (diff) | |
download | kdepimpi-b699d9cf03b5b5bb92609bcd04eef2651fe0028b.zip kdepimpi-b699d9cf03b5b5bb92609bcd04eef2651fe0028b.tar.gz kdepimpi-b699d9cf03b5b5bb92609bcd04eef2651fe0028b.tar.bz2 |
makefile changes
-rw-r--r-- | Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -118,192 +118,194 @@ build_ldap_plugin: build_microkde | |||
118 | done | 118 | done |
119 | endif | 119 | endif |
120 | 120 | ||
121 | 121 | ||
122 | build_micromail: build_microkde | 122 | build_micromail: build_microkde |
123 | ifdef BUILD_NO_MICROMAIL | 123 | ifdef BUILD_NO_MICROMAIL |
124 | @echo == kmicromail not build. | 124 | @echo == kmicromail not build. |
125 | else | 125 | else |
126 | for i in $(SUBDIRS_MICROMAIL); do pushd $$i; \ | 126 | for i in $(SUBDIRS_MICROMAIL); do pushd $$i; \ |
127 | make -f Makefile$(PLATFORM) || exit 1; popd; \ | 127 | make -f Makefile$(PLATFORM) || exit 1; popd; \ |
128 | done | 128 | done |
129 | endif | 129 | endif |
130 | 130 | ||
131 | build_gammu: variable_test tmake | 131 | build_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 | ||
140 | build_pwmanager: build_microkde | 140 | build_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 | ||
150 | variable_info: | 150 | variable_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 | ||
171 | variable_test: variable_info | 171 | variable_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 | ||
210 | objects: | 210 | objects: |
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 dest | ||
215 | mkdir -p dest$(LIBICAL_PATH) | ||
214 | mkdir -p pwmanager/libcrypt/$(PLATFORM) | 216 | mkdir -p pwmanager/libcrypt/$(PLATFORM) |
215 | 217 | ||
216 | clean: | 218 | clean: |
217 | rm -rf libical/lib/$(PLATFORM)/*; | 219 | rm -rf libical/lib/$(PLATFORM)/*; |
218 | rm -rf pwmanager/libcrypt/$(PLATFORM)/*; | 220 | rm -rf pwmanager/libcrypt/$(PLATFORM)/*; |
219 | for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\ | 221 | for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\ |
220 | rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \ | 222 | rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \ |
221 | done | 223 | done |
222 | 224 | ||
223 | pac: | 225 | pac: |
224 | rm -f $(QPEDIR)/lib/libmicro* | 226 | rm -f $(QPEDIR)/lib/libmicro* |
225 | rm -f $(QPEDIR)/plugins/applets/libkopi* | 227 | rm -f $(QPEDIR)/plugins/applets/libkopi* |
226 | make | 228 | make |
227 | make install | 229 | make install |
228 | make dist | 230 | make dist |
229 | install: | 231 | install: |
230 | 232 | ||
231 | cd bin/kdepim; make install | 233 | cd bin/kdepim; make install |
232 | cp -r Pim $(QPEDIR)/apps | 234 | cp -r Pim $(QPEDIR)/apps |
233 | cp db2file/db2file $(QPEDIR)/bin/db2file | 235 | cp db2file/db2file $(QPEDIR)/bin/db2file |
234 | chmod ugo+x $(QPEDIR)/bin/db2file | 236 | chmod ugo+x $(QPEDIR)/bin/db2file |
235 | cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop | 237 | cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop |
236 | cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop | 238 | cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop |
237 | cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kopiemail.desktop | 239 | cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kopiemail.desktop |
238 | cp pwmanager/pwmanager/pwmanager.desktop $(QPEDIR)/apps/Pim/pwmanager.desktop | 240 | cp pwmanager/pwmanager/pwmanager.desktop $(QPEDIR)/apps/Pim/pwmanager.desktop |
239 | 241 | ||
240 | dist: | 242 | dist: |
241 | @echo Dont forget to do "make install" before "make dist" | 243 | @echo Dont forget to do "make install" before "make dist" |
242 | rm -f *arm.ipk | 244 | rm -f *arm.ipk |
243 | rm -f *ipk.zip | 245 | rm -f *ipk.zip |
244 | rm -rf ../kdepimpi_$(KDEPIM_VERSION)/* | 246 | rm -rf ../kdepimpi_$(KDEPIM_VERSION)/* |
245 | rm -f *~ | 247 | rm -f *~ |
246 | cd ..;mkdir -p kdepimpi_$(KDEPIM_VERSION) | 248 | cd ..;mkdir -p kdepimpi_$(KDEPIM_VERSION) |
247 | cd ../kdepimpi_$(KDEPIM_VERSION);mkdir -p ipk | 249 | cd ../kdepimpi_$(KDEPIM_VERSION);mkdir -p ipk |
248 | cd ..; tar czf kdepimpi-$(KDEPIM_VERSION).tar.gz --exclude=obj --exclude=moc --exclude=CVS --exclude=Makefilezaurus --exclude=Makefileqtopia kdepim | 250 | cd ..; tar czf kdepimpi-$(KDEPIM_VERSION).tar.gz --exclude=obj --exclude=moc --exclude=CVS --exclude=Makefilezaurus --exclude=Makefileqtopia kdepim |
249 | mkipks kmicrokdelibs.control | 251 | mkipks kmicrokdelibs.control |
250 | mkipks korganizer.control | 252 | mkipks korganizer.control |
251 | mkipks kaddressbook.control | 253 | mkipks kaddressbook.control |
252 | ifndef BUILD_NO_MICROMAIL | 254 | ifndef BUILD_NO_MICROMAIL |
253 | mkipks kopiemail.control | 255 | mkipks kopiemail.control |
254 | endif | 256 | endif |
255 | ifndef BUILD_NO_SHARP_PLUGIN | 257 | ifndef BUILD_NO_SHARP_PLUGIN |
256 | mkipks ksharpPIM-DTMaccess.control | 258 | mkipks ksharpPIM-DTMaccess.control |
257 | endif | 259 | endif |
258 | mkipks korganizer-alarm.control | 260 | mkipks korganizer-alarm.control |
259 | ifndef BUILD_NO_GAMMU | 261 | ifndef BUILD_NO_GAMMU |
260 | mkipks kmobilephoneaccess.control | 262 | mkipks kmobilephoneaccess.control |
261 | endif | 263 | endif |
262 | ifndef BUILD_NO_PWMANAGER | 264 | ifndef BUILD_NO_PWMANAGER |
263 | mkipks pwmanager.control | 265 | mkipks pwmanager.control |
264 | endif | 266 | endif |
265 | mkipks pimTABicon.control | 267 | mkipks pimTABicon.control |
266 | zip kdepim_$(KDEPIM_VERSION)_for_SharpRom.ipk.zip *.ipk ReleaseNotes.txt | 268 | zip kdepim_$(KDEPIM_VERSION)_for_SharpRom.ipk.zip *.ipk ReleaseNotes.txt |
267 | mv *.ipk ../kdepimpi_$(KDEPIM_VERSION)/ipk/ | 269 | mv *.ipk ../kdepimpi_$(KDEPIM_VERSION)/ipk/ |
268 | mv *for_SharpRom.ipk.zip ../kdepimpi_$(KDEPIM_VERSION)/ | 270 | mv *for_SharpRom.ipk.zip ../kdepimpi_$(KDEPIM_VERSION)/ |
269 | mv ../kdepimpi-$(KDEPIM_VERSION).tar.gz ../kdepimpi_$(KDEPIM_VERSION)/ | 271 | mv ../kdepimpi-$(KDEPIM_VERSION).tar.gz ../kdepimpi_$(KDEPIM_VERSION)/ |
270 | 272 | ||
271 | tmake: objects \ | 273 | tmake: objects \ |
272 | qtcompat/Makefile$(PLATFORM) \ | 274 | qtcompat/Makefile$(PLATFORM) \ |
273 | microkde/Makefile$(PLATFORM) \ | 275 | microkde/Makefile$(PLATFORM) \ |
274 | libkcal/Makefile$(PLATFORM) \ | 276 | libkcal/Makefile$(PLATFORM) \ |
275 | libkdepim/Makefile$(PLATFORM) \ | 277 | libkdepim/Makefile$(PLATFORM) \ |
276 | korganizer/Makefile$(PLATFORM) \ | 278 | korganizer/Makefile$(PLATFORM) \ |
277 | kalarmd/Makefile$(PLATFORM) \ | 279 | kalarmd/Makefile$(PLATFORM) \ |
278 | libical/src/libical/Makefile$(PLATFORM) \ | 280 | libical/src/libical/Makefile$(PLATFORM) \ |
279 | libical/src/libicalss/Makefile$(PLATFORM) \ | 281 | libical/src/libicalss/Makefile$(PLATFORM) \ |
280 | kabc/Makefile$(PLATFORM) \ | 282 | kabc/Makefile$(PLATFORM) \ |
281 | kabc/formats/binary/Makefile$(PLATFORM) \ | 283 | kabc/formats/binary/Makefile$(PLATFORM) \ |
282 | kabc/plugins/file/Makefile$(PLATFORM) \ | 284 | kabc/plugins/file/Makefile$(PLATFORM) \ |
283 | kabc/plugins/dir/Makefile$(PLATFORM) \ | 285 | kabc/plugins/dir/Makefile$(PLATFORM) \ |
284 | kabc/plugins/ldap/Makefile$(PLATFORM) \ | 286 | kabc/plugins/ldap/Makefile$(PLATFORM) \ |
285 | kabc/plugins/opie/Makefile$(PLATFORM) \ | 287 | kabc/plugins/opie/Makefile$(PLATFORM) \ |
286 | kabc/plugins/qtopia/Makefile$(PLATFORM) \ | 288 | kabc/plugins/qtopia/Makefile$(PLATFORM) \ |
287 | kabc/plugins/sharpdtm/Makefile$(PLATFORM) \ | 289 | kabc/plugins/sharpdtm/Makefile$(PLATFORM) \ |
288 | kaddressbook/Makefile$(PLATFORM) \ | 290 | kaddressbook/Makefile$(PLATFORM) \ |
289 | kmicromail/Makefile$(PLATFORM) \ | 291 | kmicromail/Makefile$(PLATFORM) \ |
290 | kmicromail/libetpan/Makefile$(PLATFORM) \ | 292 | kmicromail/libetpan/Makefile$(PLATFORM) \ |
291 | kmicromail/libmailwrapper/Makefile$(PLATFORM) \ | 293 | kmicromail/libmailwrapper/Makefile$(PLATFORM) \ |
292 | gammu/emb/common/Makefile$(PLATFORM) \ | 294 | gammu/emb/common/Makefile$(PLATFORM) \ |
293 | gammu/emb/gammu/Makefile$(PLATFORM) \ | 295 | gammu/emb/gammu/Makefile$(PLATFORM) \ |
294 | pwmanager/pwmanager/Makefile$(PLATFORM) \ | 296 | pwmanager/pwmanager/Makefile$(PLATFORM) \ |
295 | pwmanager/libcrypt/mpi/Makefile$(PLATFORM) \ | 297 | pwmanager/libcrypt/mpi/Makefile$(PLATFORM) \ |
296 | pwmanager/libcrypt/error/Makefile$(PLATFORM) \ | 298 | pwmanager/libcrypt/error/Makefile$(PLATFORM) \ |
297 | pwmanager/libcrypt/cipher/Makefile$(PLATFORM) \ | 299 | pwmanager/libcrypt/cipher/Makefile$(PLATFORM) \ |
298 | pwmanager/libcrypt/zlib/Makefile$(PLATFORM) | 300 | pwmanager/libcrypt/zlib/Makefile$(PLATFORM) |
299 | 301 | ||
300 | qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro | 302 | qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro |
301 | cd qtcompat; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" qtcompat.pro -o Makefile$(PLATFORM) | 303 | cd qtcompat; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" qtcompat.pro -o Makefile$(PLATFORM) |
302 | 304 | ||
303 | microkde/Makefile$(PLATFORM): microkde/microkdeE.pro | 305 | microkde/Makefile$(PLATFORM): microkde/microkdeE.pro |
304 | cd microkde; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" microkdeE.pro -o Makefile$(PLATFORM) | 306 | cd microkde; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" microkdeE.pro -o Makefile$(PLATFORM) |
305 | 307 | ||
306 | libkcal/Makefile$(PLATFORM): libkcal/libkcalE.pro | 308 | libkcal/Makefile$(PLATFORM): libkcal/libkcalE.pro |
307 | cd libkcal; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libkcalE.pro -o Makefile$(PLATFORM) | 309 | cd libkcal; tmake "CONFIG+=$(RELEASE_DEBUG)" "VERSION=$(KDEPIM_VERSION)" libkcalE.pro -o Makefile$(PLATFORM) |
308 | 310 | ||
309 | 311 | ||