author | zautrix <zautrix> | 2004-08-30 21:21:12 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-08-30 21:21:12 (UTC) |
commit | 9bd5f28b42d2fc569cd92ece73282f3dc6491d4d (patch) (unidiff) | |
tree | c7e820667c25952048cdf604e0ca91f61b22c077 /Makefile | |
parent | a415f6b4188fe9fc7a7c8d530def31d0877a8073 (diff) | |
download | kdepimpi-9bd5f28b42d2fc569cd92ece73282f3dc6491d4d.zip kdepimpi-9bd5f28b42d2fc569cd92ece73282f3dc6491d4d.tar.gz kdepimpi-9bd5f28b42d2fc569cd92ece73282f3dc6491d4d.tar.bz2 |
Makefile fixes
-rw-r--r-- | Makefile | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -1,43 +1,41 @@ | |||
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 | ||
7 | endif | 6 | endif |
8 | 7 | ||
9 | ifneq ($(PLATFORM) , zaurus) | 8 | ifneq ($(PLATFORM) , zaurus) |
10 | BUILD_NO_SHARP_PLUGIN=1 | 9 | BUILD_NO_SHARP_PLUGIN=1 |
11 | BUILD_NO_GAMMU=1 | ||
12 | endif | 10 | endif |
13 | 11 | ||
14 | SUBDIRS_MICROKDE = \ | 12 | SUBDIRS_MICROKDE = \ |
15 | libical/src/libical \ | 13 | libical/src/libical \ |
16 | libical/src/libicalss \ | 14 | libical/src/libicalss \ |
17 | qtcompat \ | 15 | qtcompat \ |
18 | microkde \ | 16 | microkde \ |
19 | libkcal \ | 17 | libkcal \ |
20 | libkdepim \ | 18 | libkdepim \ |
21 | kabc \ | 19 | kabc \ |
22 | kabc/formats/binary \ | 20 | kabc/formats/binary \ |
23 | kabc/plugins/file \ | 21 | kabc/plugins/file \ |
24 | kabc/plugins/dir \ | 22 | kabc/plugins/dir \ |
25 | korganizer \ | 23 | korganizer \ |
26 | kalarmd \ | 24 | kalarmd \ |
27 | kaddressbook | 25 | kaddressbook |
28 | 26 | ||
29 | SUBDIRS_QTOPIA_PLUGIN = \ | 27 | SUBDIRS_QTOPIA_PLUGIN = \ |
30 | kabc/plugins/qtopia | 28 | kabc/plugins/qtopia |
31 | 29 | ||
32 | SUBDIRS_OPIE_PLUGIN = \ | 30 | SUBDIRS_OPIE_PLUGIN = \ |
33 | kabc/plugins/opie | 31 | kabc/plugins/opie |
34 | 32 | ||
35 | SUBDIRS_SHARP_PLUGIN = \ | 33 | SUBDIRS_SHARP_PLUGIN = \ |
36 | kabc/plugins/sharpdtm | 34 | kabc/plugins/sharpdtm |
37 | 35 | ||
38 | SUBDIRS_LDAP_PLUGIN = \ | 36 | SUBDIRS_LDAP_PLUGIN = \ |
39 | kabc/plugins/ldap | 37 | kabc/plugins/ldap |
40 | 38 | ||
41 | SUBDIRS_MICROMAIL = \ | 39 | SUBDIRS_MICROMAIL = \ |
42 | kmicromail/libetpan \ | 40 | kmicromail/libetpan \ |
43 | kmicromail/libmailwrapper \ | 41 | kmicromail/libmailwrapper \ |
@@ -172,65 +170,65 @@ variable_test: variable_info | |||
172 | 170 | ||
173 | 171 | ||
174 | objects: | 172 | objects: |
175 | for i in $(SUBDIRS); do mkdir -p $$i/obj/$(PLATFORM); done | 173 | for i in $(SUBDIRS); do mkdir -p $$i/obj/$(PLATFORM); done |
176 | for i in $(SUBDIRS); do mkdir -p $$i/moc/$(PLATFORM); done | 174 | for i in $(SUBDIRS); do mkdir -p $$i/moc/$(PLATFORM); done |
177 | mkdir -p libical/lib/$(PLATFORM) | 175 | mkdir -p libical/lib/$(PLATFORM) |
178 | 176 | ||
179 | clean: | 177 | clean: |
180 | rm -rf libical/lib/$(PLATFORM)/*; | 178 | rm -rf libical/lib/$(PLATFORM)/*; |
181 | for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\ | 179 | for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\ |
182 | rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \ | 180 | rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \ |
183 | done | 181 | done |
184 | install: | 182 | install: |
185 | cd bin/kdepim; make install | 183 | cd bin/kdepim; make install |
186 | cp db2file/db2file $(QPEDIR)/bin/db2file | 184 | cp db2file/db2file $(QPEDIR)/bin/db2file |
187 | cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop | 185 | cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop |
188 | cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop | 186 | cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop |
189 | cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kmicromail.desktop | 187 | cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kmicromail.desktop |
190 | 188 | ||
191 | dist: | 189 | dist: |
192 | @echo Dont forget to do "make install" before "make dist" | 190 | @echo Dont forget to do "make install" before "make dist" |
193 | rm -f *arm.ipk | 191 | rm -f *arm.ipk |
194 | rm -f *~ | 192 | rm -f *~ |
195 | cd ..; tar czf kdepim.src.tar.gz --exclude=obj --exclude=moc kdepim | 193 | cd ..; tar czf kdepim.src.tar.gz --exclude=obj --exclude=moc kdepim |
196 | ./mkipks kmicrokdelibs.control | 194 | ./mkipks kmicrokdelibs.control |
197 | ./mkipks korganizer.control | 195 | ./mkipks korganizer.control |
198 | ./mkipks kaddressbook.control | 196 | ./mkipks kaddressbook.control |
199 | ifndef BUILD_NO_MICROMAIL | 197 | ifndef BUILD_NO_MICROMAIL |
200 | ./mkipks kopiemail.control | 198 | ./mkipks kopiemail.control |
201 | endif | 199 | endif |
202 | ./mkipks korganizer-alarm.control | 200 | ./mkipks korganizer-alarm.control |
203 | ifndef BUILD_NO_GAMMU | 201 | ifndef BUILD_NO_GAMMU |
204 | ./mkipks gammu.control | 202 | ./mkipks kammu.control |
205 | endif | 203 | endif |
206 | 204 | ||
207 | tmake: objects \ | 205 | tmake: objects \ |
208 | qtcompat/Makefile$(PLATFORM) \ | 206 | qtcompat/Makefile$(PLATFORM) \ |
209 | microkde/Makefile$(PLATFORM) \ | 207 | microkde/Makefile$(PLATFORM) \ |
210 | libkcal/Makefile$(PLATFORM) \ | 208 | libkcal/Makefile$(PLATFORM) \ |
211 | libkdepim/Makefile$(PLATFORM) \ | 209 | libkdepim/Makefile$(PLATFORM) \ |
212 | korganizer/Makefile$(PLATFORM) \ | 210 | korganizer/Makefile$(PLATFORM) \ |
213 | kalarmd/Makefile$(PLATFORM) \ | 211 | kalarmd/Makefile$(PLATFORM) \ |
214 | libical/src/libical/Makefile$(PLATFORM) \ | 212 | libical/src/libical/Makefile$(PLATFORM) \ |
215 | libical/src/libicalss/Makefile$(PLATFORM) \ | 213 | libical/src/libicalss/Makefile$(PLATFORM) \ |
216 | kabc/Makefile$(PLATFORM) \ | 214 | kabc/Makefile$(PLATFORM) \ |
217 | kabc/formats/binary/Makefile$(PLATFORM) \ | 215 | kabc/formats/binary/Makefile$(PLATFORM) \ |
218 | kabc/plugins/file/Makefile$(PLATFORM) \ | 216 | kabc/plugins/file/Makefile$(PLATFORM) \ |
219 | kabc/plugins/dir/Makefile$(PLATFORM) \ | 217 | kabc/plugins/dir/Makefile$(PLATFORM) \ |
220 | kabc/plugins/ldap/Makefile$(PLATFORM) \ | 218 | kabc/plugins/ldap/Makefile$(PLATFORM) \ |
221 | kabc/plugins/opie/Makefile$(PLATFORM) \ | 219 | kabc/plugins/opie/Makefile$(PLATFORM) \ |
222 | kabc/plugins/qtopia/Makefile$(PLATFORM) \ | 220 | kabc/plugins/qtopia/Makefile$(PLATFORM) \ |
223 | kabc/plugins/sharpdtm/Makefile$(PLATFORM) \ | 221 | kabc/plugins/sharpdtm/Makefile$(PLATFORM) \ |
224 | kaddressbook/Makefile$(PLATFORM) \ | 222 | kaddressbook/Makefile$(PLATFORM) \ |
225 | kmicromail/Makefile$(PLATFORM) \ | 223 | kmicromail/Makefile$(PLATFORM) \ |
226 | kmicromail/libetpan/Makefile$(PLATFORM) \ | 224 | kmicromail/libetpan/Makefile$(PLATFORM) \ |
227 | kmicromail/libmailwrapper/Makefile$(PLATFORM) \ | 225 | kmicromail/libmailwrapper/Makefile$(PLATFORM) \ |
228 | gammu/emb/common/Makefile$(PLATFORM) \ | 226 | gammu/emb/common/Makefile$(PLATFORM) \ |
229 | gammu/emb/gammu/Makefile$(PLATFORM) \ | 227 | gammu/emb/gammu/Makefile$(PLATFORM) \ |
230 | 228 | ||
231 | 229 | ||
232 | 230 | ||
233 | 231 | ||
234 | qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro | 232 | qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro |
235 | cd qtcompat; tmake "CONFIG+=$(RELEASE_DEBUG)" qtcompat.pro -o Makefile$(PLATFORM) | 233 | cd qtcompat; tmake "CONFIG+=$(RELEASE_DEBUG)" qtcompat.pro -o Makefile$(PLATFORM) |
236 | 234 | ||