author | zautrix <zautrix> | 2004-08-30 22:23:06 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-08-30 22:23:06 (UTC) |
commit | cec54f6e21264341191e4f94f9dd7bd19b2eea8d (patch) (unidiff) | |
tree | cabca2a5ac21ca14b659eca9a234d4c6e4c7b03c | |
parent | 19efdda974eaa0def3c681656b63850f2df2ec77 (diff) | |
download | kdepimpi-cec54f6e21264341191e4f94f9dd7bd19b2eea8d.zip kdepimpi-cec54f6e21264341191e4f94f9dd7bd19b2eea8d.tar.gz kdepimpi-cec54f6e21264341191e4f94f9dd7bd19b2eea8d.tar.bz2 |
better tar in Makefile
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | Makefile.Embedded | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -2,298 +2,298 @@ 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 | endif | 6 | endif |
7 | 7 | ||
8 | ifneq ($(PLATFORM) , zaurus) | 8 | ifneq ($(PLATFORM) , zaurus) |
9 | BUILD_NO_SHARP_PLUGIN=1 | 9 | BUILD_NO_SHARP_PLUGIN=1 |
10 | endif | 10 | endif |
11 | 11 | ||
12 | SUBDIRS_MICROKDE = \ | 12 | SUBDIRS_MICROKDE = \ |
13 | libical/src/libical \ | 13 | libical/src/libical \ |
14 | libical/src/libicalss \ | 14 | libical/src/libicalss \ |
15 | qtcompat \ | 15 | qtcompat \ |
16 | microkde \ | 16 | microkde \ |
17 | libkcal \ | 17 | libkcal \ |
18 | libkdepim \ | 18 | libkdepim \ |
19 | kabc \ | 19 | kabc \ |
20 | kabc/formats/binary \ | 20 | kabc/formats/binary \ |
21 | kabc/plugins/file \ | 21 | kabc/plugins/file \ |
22 | kabc/plugins/dir \ | 22 | kabc/plugins/dir \ |
23 | korganizer \ | 23 | korganizer \ |
24 | kalarmd \ | 24 | kalarmd \ |
25 | kaddressbook | 25 | kaddressbook |
26 | 26 | ||
27 | SUBDIRS_QTOPIA_PLUGIN = \ | 27 | SUBDIRS_QTOPIA_PLUGIN = \ |
28 | kabc/plugins/qtopia | 28 | kabc/plugins/qtopia |
29 | 29 | ||
30 | SUBDIRS_OPIE_PLUGIN = \ | 30 | SUBDIRS_OPIE_PLUGIN = \ |
31 | kabc/plugins/opie | 31 | kabc/plugins/opie |
32 | 32 | ||
33 | SUBDIRS_SHARP_PLUGIN = \ | 33 | SUBDIRS_SHARP_PLUGIN = \ |
34 | kabc/plugins/sharpdtm | 34 | kabc/plugins/sharpdtm |
35 | 35 | ||
36 | SUBDIRS_LDAP_PLUGIN = \ | 36 | SUBDIRS_LDAP_PLUGIN = \ |
37 | kabc/plugins/ldap | 37 | kabc/plugins/ldap |
38 | 38 | ||
39 | SUBDIRS_MICROMAIL = \ | 39 | SUBDIRS_MICROMAIL = \ |
40 | kmicromail/libetpan \ | 40 | kmicromail/libetpan \ |
41 | kmicromail/libmailwrapper \ | 41 | kmicromail/libmailwrapper \ |
42 | kmicromail | 42 | kmicromail |
43 | 43 | ||
44 | SUBDIRS_GAMMU = \ | 44 | SUBDIRS_GAMMU = \ |
45 | gammu/emb/common \ | 45 | gammu/emb/common \ |
46 | gammu/emb/gammu | 46 | gammu/emb/gammu |
47 | 47 | ||
48 | SUBDIRS = \ | 48 | SUBDIRS = \ |
49 | $(SUBDIRS_MICROKDE) \ | 49 | $(SUBDIRS_MICROKDE) \ |
50 | $(SUBDIRS_QTOPIA_PLUGIN) \ | 50 | $(SUBDIRS_QTOPIA_PLUGIN) \ |
51 | $(SUBDIRS_OPIE_PLUGIN) \ | 51 | $(SUBDIRS_OPIE_PLUGIN) \ |
52 | $(SUBDIRS_SHARP_PLUGIN) \ | 52 | $(SUBDIRS_SHARP_PLUGIN) \ |
53 | $(SUBDIRS_LDAP_PLUGIN) \ | 53 | $(SUBDIRS_LDAP_PLUGIN) \ |
54 | $(SUBDIRS_MICROMAIL) \ | 54 | $(SUBDIRS_MICROMAIL) \ |
55 | $(SUBDIRS_GAMMU) | 55 | $(SUBDIRS_GAMMU) |
56 | 56 | ||
57 | all: build_microkde \ | 57 | all: build_microkde \ |
58 | build_qtopia_plugin \ | 58 | build_qtopia_plugin \ |
59 | build_opie_plugin \ | 59 | build_opie_plugin \ |
60 | build_sharp_plugin \ | 60 | build_sharp_plugin \ |
61 | build_ldap_plugin \ | 61 | build_ldap_plugin \ |
62 | build_micromail \ | 62 | build_micromail \ |
63 | build_gammu | 63 | build_gammu |
64 | 64 | ||
65 | 65 | ||
66 | build_microkde: variable_test tmake | 66 | build_microkde: variable_test tmake |
67 | for i in $(SUBDIRS_MICROKDE); do pushd $$i; \ | 67 | for i in $(SUBDIRS_MICROKDE); do pushd $$i; \ |
68 | make -f Makefile$(PLATFORM) || exit 1; popd; \ | 68 | make -f Makefile$(PLATFORM) || exit 1; popd; \ |
69 | done | 69 | done |
70 | 70 | ||
71 | build_qtopia_plugin: build_microkde | 71 | build_qtopia_plugin: build_microkde |
72 | for i in $(SUBDIRS_QTOPIA_PLUGIN); do pushd $$i; \ | 72 | for i in $(SUBDIRS_QTOPIA_PLUGIN); do pushd $$i; \ |
73 | make -f Makefile$(PLATFORM) || exit 1; popd; \ | 73 | make -f Makefile$(PLATFORM) || exit 1; popd; \ |
74 | done | 74 | done |
75 | 75 | ||
76 | build_opie_plugin: build_microkde | 76 | build_opie_plugin: build_microkde |
77 | ifdef BUILD_NO_OPIE_PLUGIN | 77 | ifdef BUILD_NO_OPIE_PLUGIN |
78 | @echo ---> opie plugin not build. | 78 | @echo ---> opie plugin not build. |
79 | else | 79 | else |
80 | for i in $(SUBDIRS_OPIE_PLUGIN); do pushd $$i; \ | 80 | for i in $(SUBDIRS_OPIE_PLUGIN); do pushd $$i; \ |
81 | make -f Makefile$(PLATFORM) || exit 1; popd; \ | 81 | make -f Makefile$(PLATFORM) || exit 1; popd; \ |
82 | done | 82 | done |
83 | endif | 83 | endif |
84 | 84 | ||
85 | build_sharp_plugin: build_microkde | 85 | build_sharp_plugin: build_microkde |
86 | ifdef BUILD_NO_SHARP_PLUGIN | 86 | ifdef BUILD_NO_SHARP_PLUGIN |
87 | @echo ---> ldap plugin not build. | 87 | @echo ---> ldap plugin not build. |
88 | else | 88 | else |
89 | for i in $(SUBDIRS_SHARP_PLUGIN); do pushd $$i; \ | 89 | for i in $(SUBDIRS_SHARP_PLUGIN); do pushd $$i; \ |
90 | make -f Makefile$(PLATFORM) || exit 1; popd; \ | 90 | make -f Makefile$(PLATFORM) || exit 1; popd; \ |
91 | done | 91 | done |
92 | endif | 92 | endif |
93 | 93 | ||
94 | build_ldap_plugin: build_microkde | 94 | build_ldap_plugin: build_microkde |
95 | ifdef BUILD_NO_LDAP_PLUGIN | 95 | ifdef BUILD_NO_LDAP_PLUGIN |
96 | @echo ---> ldap plugin not build. | 96 | @echo ---> ldap plugin not build. |
97 | else | 97 | else |
98 | for i in $(SUBDIRS_LDAP_PLUGIN); do pushd $$i; \ | 98 | for i in $(SUBDIRS_LDAP_PLUGIN); do pushd $$i; \ |
99 | make -f Makefile$(PLATFORM) || exit 1; popd; \ | 99 | make -f Makefile$(PLATFORM) || exit 1; popd; \ |
100 | done | 100 | done |
101 | endif | 101 | endif |
102 | 102 | ||
103 | 103 | ||
104 | build_micromail: build_microkde | 104 | build_micromail: build_microkde |
105 | ifdef BUILD_NO_MICROMAIL | 105 | ifdef BUILD_NO_MICROMAIL |
106 | @echo ---> micromail not build. | 106 | @echo ---> micromail not build. |
107 | else | 107 | else |
108 | for i in $(SUBDIRS_MICROMAIL); do pushd $$i; \ | 108 | for i in $(SUBDIRS_MICROMAIL); do pushd $$i; \ |
109 | make -f Makefile$(PLATFORM) || exit 1; popd; \ | 109 | make -f Makefile$(PLATFORM) || exit 1; popd; \ |
110 | done | 110 | done |
111 | endif | 111 | endif |
112 | 112 | ||
113 | build_gammu: variable_test tmake | 113 | build_gammu: variable_test tmake |
114 | ifdef BUILD_NO_GAMMU | 114 | ifdef BUILD_NO_GAMMU |
115 | @echo ---> gammu not build. | 115 | @echo ---> gammu not build. |
116 | else | 116 | else |
117 | for i in $(SUBDIRS_GAMMU); do pushd $$i; \ | 117 | for i in $(SUBDIRS_GAMMU); do pushd $$i; \ |
118 | make -f Makefile$(PLATFORM) || exit 1; popd; \ | 118 | make -f Makefile$(PLATFORM) || exit 1; popd; \ |
119 | done | 119 | done |
120 | endif | 120 | endif |
121 | 121 | ||
122 | 122 | ||
123 | variable_info: | 123 | variable_info: |
124 | @echo -------------------------------------- | 124 | @echo -------------------------------------- |
125 | @echo KDEPIM buildsystem, variableinfo... | 125 | @echo KDEPIM buildsystem, variableinfo... |
126 | @echo KDEPIMDIR=$(KDEPIMDIR) | 126 | @echo KDEPIMDIR=$(KDEPIMDIR) |
127 | @echo QTDIR=$(QTDIR) | 127 | @echo QTDIR=$(QTDIR) |
128 | @echo QPEDIR=$(QPEDIR) | 128 | @echo QPEDIR=$(QPEDIR) |
129 | @echo OPIEDIR=$(OPIEDIR) | 129 | @echo OPIEDIR=$(OPIEDIR) |
130 | @echo PLATFORM=$(PLATFORM) | 130 | @echo PLATFORM=$(PLATFORM) |
131 | @echo RELEASE_DEBUG=$(RELEASE_DEBUG) | 131 | @echo RELEASE_DEBUG=$(RELEASE_DEBUG) |
132 | @echo BUILD_NO_MICROMAIL=$(BUILD_NO_MICROMAIL) | 132 | @echo BUILD_NO_MICROMAIL=$(BUILD_NO_MICROMAIL) |
133 | @echo BUILD_NO_LDAP_PLUGIN=$(BUILD_NO_LDAP_PLUGIN) | 133 | @echo BUILD_NO_LDAP_PLUGIN=$(BUILD_NO_LDAP_PLUGIN) |
134 | @echo BUILD_NO_OPIE_PLUGIN=$(BUILD_NO_OPIE_PLUGIN) | 134 | @echo BUILD_NO_OPIE_PLUGIN=$(BUILD_NO_OPIE_PLUGIN) |
135 | @echo BUILD_NO_SHARP_PLUGIN=$(BUILD_NO_SHARP_PLUGIN) | 135 | @echo BUILD_NO_SHARP_PLUGIN=$(BUILD_NO_SHARP_PLUGIN) |
136 | ifndef BUILD_NO_SHARP_PLUGIN | 136 | ifndef BUILD_NO_SHARP_PLUGIN |
137 | @echo SHARPDTMSDK=$(SHARPDTMSDK) | 137 | @echo SHARPDTMSDK=$(SHARPDTMSDK) |
138 | endif | 138 | endif |
139 | @echo BUILD_NO_GAMMU=$(BUILD_NO_GAMMU) | 139 | @echo BUILD_NO_GAMMU=$(BUILD_NO_GAMMU) |
140 | @echo -------------------------------------- | 140 | @echo -------------------------------------- |
141 | 141 | ||
142 | variable_test: variable_info | 142 | variable_test: variable_info |
143 | @echo KDEPIM buildsystem, variablecheck... | 143 | @echo KDEPIM buildsystem, variablecheck... |
144 | ifndef KDEPIMDIR | 144 | ifndef KDEPIMDIR |
145 | @echo KDEPIMDIR is not defined. | 145 | @echo KDEPIMDIR is not defined. |
146 | $(error KDEPIMDIR is not defined) | 146 | $(error KDEPIMDIR is not defined) |
147 | endif | 147 | endif |
148 | ifndef PLATFORM | 148 | ifndef PLATFORM |
149 | @echo PLATFORM is not defined. | 149 | @echo PLATFORM is not defined. |
150 | $(error PLATFORM is not defined) | 150 | $(error PLATFORM is not defined) |
151 | endif | 151 | endif |
152 | ifdef BUILD_NO_LDAP_PLUGIN | 152 | ifdef BUILD_NO_LDAP_PLUGIN |
153 | @echo LDAP PLUGIN will not be build, because BUILD_NO_LDAP_PLUGIN is set to $(BUILD_NO_LDAP_PLUGIN) | 153 | @echo LDAP PLUGIN will not be build, because BUILD_NO_LDAP_PLUGIN is set to $(BUILD_NO_LDAP_PLUGIN) |
154 | endif | 154 | endif |
155 | ifdef BUILD_NO_OPIE_PLUGIN | 155 | ifdef BUILD_NO_OPIE_PLUGIN |
156 | @echo OPIE PLUGIN will not be build, because BUILD_NO_OPIE_PLUGIN is set to $(BUILD_NO_OPIE_PLUGIN) | 156 | @echo OPIE PLUGIN will not be build, because BUILD_NO_OPIE_PLUGIN is set to $(BUILD_NO_OPIE_PLUGIN) |
157 | endif | 157 | endif |
158 | ifdef BUILD_NO_MICROMAIL | 158 | ifdef BUILD_NO_MICROMAIL |
159 | @echo MICROMAIL will not be build, because BUILD_NO_MICROMAIL is set to $(BUILD_NO_MICROMAIL) | 159 | @echo MICROMAIL will not be build, because BUILD_NO_MICROMAIL is set to $(BUILD_NO_MICROMAIL) |
160 | endif | 160 | endif |
161 | ifdef BUILD_NO_SHARP_PLUGIN | 161 | ifdef BUILD_NO_SHARP_PLUGIN |
162 | @echo SHARP PLUGIN will not be build, because BUILD_NO_SHARP_PLUGIN is set to $(BUILD_NO_SHARP_PLUGIN) | 162 | @echo SHARP PLUGIN will not be build, because BUILD_NO_SHARP_PLUGIN is set to $(BUILD_NO_SHARP_PLUGIN) |
163 | else | 163 | else |
164 | ifndef SHARPDTMSDK | 164 | ifndef SHARPDTMSDK |
165 | @echo SHARP PLUGIN can not be build, because SHARPDTMSDK is set to $(SHARPDTMSDK) | 165 | @echo SHARP PLUGIN can not be build, because SHARPDTMSDK is set to $(SHARPDTMSDK) |
166 | $(error SHARPDTMSDK is not defined) | 166 | $(error SHARPDTMSDK is not defined) |
167 | endif | 167 | endif |
168 | endif | 168 | endif |
169 | @echo -------------------------------------- | 169 | @echo -------------------------------------- |
170 | 170 | ||
171 | 171 | ||
172 | objects: | 172 | objects: |
173 | for i in $(SUBDIRS); do mkdir -p $$i/obj/$(PLATFORM); done | 173 | for i in $(SUBDIRS); do mkdir -p $$i/obj/$(PLATFORM); done |
174 | for i in $(SUBDIRS); do mkdir -p $$i/moc/$(PLATFORM); done | 174 | for i in $(SUBDIRS); do mkdir -p $$i/moc/$(PLATFORM); done |
175 | mkdir -p libical/lib/$(PLATFORM) | 175 | mkdir -p libical/lib/$(PLATFORM) |
176 | 176 | ||
177 | clean: | 177 | clean: |
178 | rm -rf libical/lib/$(PLATFORM)/*; | 178 | rm -rf libical/lib/$(PLATFORM)/*; |
179 | for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\ | 179 | for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\ |
180 | 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; \ |
181 | done | 181 | done |
182 | install: | 182 | install: |
183 | cd bin/kdepim; make install | 183 | cd bin/kdepim; make install |
184 | cp -r Pim $(QPEDIR)/apps | 184 | cp -r Pim $(QPEDIR)/apps |
185 | cp db2file/db2file $(QPEDIR)/bin/db2file | 185 | cp db2file/db2file $(QPEDIR)/bin/db2file |
186 | cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop | 186 | cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop |
187 | cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop | 187 | cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop |
188 | cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kmicromail.desktop | 188 | cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kmicromail.desktop |
189 | 189 | ||
190 | dist: | 190 | dist: |
191 | @echo Dont forget to do "make install" before "make dist" | 191 | @echo Dont forget to do "make install" before "make dist" |
192 | rm -f *arm.ipk | 192 | rm -f *arm.ipk |
193 | rm -f *~ | 193 | rm -f *~ |
194 | cd ..; tar czf kdepim.src.tar.gz --exclude=obj --exclude=moc kdepim | 194 | cd ..; tar czf kdepim.src.tar.gz --exclude=obj --exclude=moc --exclude=CVS --exclude=Makefilezaurus --exclude=Makefileqtopia kdepim |
195 | ./mkipks kmicrokdelibs.control | 195 | ./mkipks kmicrokdelibs.control |
196 | ./mkipks korganizer.control | 196 | ./mkipks korganizer.control |
197 | ./mkipks kaddressbook.control | 197 | ./mkipks kaddressbook.control |
198 | ifndef BUILD_NO_MICROMAIL | 198 | ifndef BUILD_NO_MICROMAIL |
199 | ./mkipks kopiemail.control | 199 | ./mkipks kopiemail.control |
200 | endif | 200 | endif |
201 | ./mkipks korganizer-alarm.control | 201 | ./mkipks korganizer-alarm.control |
202 | ifndef BUILD_NO_GAMMU | 202 | ifndef BUILD_NO_GAMMU |
203 | ./mkipks kammu.control | 203 | ./mkipks kammu.control |
204 | endif | 204 | endif |
205 | ./mkipks pim_TAB_icon.control | 205 | ./mkipks pim_TAB_icon.control |
206 | 206 | ||
207 | tmake: objects \ | 207 | tmake: objects \ |
208 | qtcompat/Makefile$(PLATFORM) \ | 208 | qtcompat/Makefile$(PLATFORM) \ |
209 | microkde/Makefile$(PLATFORM) \ | 209 | microkde/Makefile$(PLATFORM) \ |
210 | libkcal/Makefile$(PLATFORM) \ | 210 | libkcal/Makefile$(PLATFORM) \ |
211 | libkdepim/Makefile$(PLATFORM) \ | 211 | libkdepim/Makefile$(PLATFORM) \ |
212 | korganizer/Makefile$(PLATFORM) \ | 212 | korganizer/Makefile$(PLATFORM) \ |
213 | kalarmd/Makefile$(PLATFORM) \ | 213 | kalarmd/Makefile$(PLATFORM) \ |
214 | libical/src/libical/Makefile$(PLATFORM) \ | 214 | libical/src/libical/Makefile$(PLATFORM) \ |
215 | libical/src/libicalss/Makefile$(PLATFORM) \ | 215 | libical/src/libicalss/Makefile$(PLATFORM) \ |
216 | kabc/Makefile$(PLATFORM) \ | 216 | kabc/Makefile$(PLATFORM) \ |
217 | kabc/formats/binary/Makefile$(PLATFORM) \ | 217 | kabc/formats/binary/Makefile$(PLATFORM) \ |
218 | kabc/plugins/file/Makefile$(PLATFORM) \ | 218 | kabc/plugins/file/Makefile$(PLATFORM) \ |
219 | kabc/plugins/dir/Makefile$(PLATFORM) \ | 219 | kabc/plugins/dir/Makefile$(PLATFORM) \ |
220 | kabc/plugins/ldap/Makefile$(PLATFORM) \ | 220 | kabc/plugins/ldap/Makefile$(PLATFORM) \ |
221 | kabc/plugins/opie/Makefile$(PLATFORM) \ | 221 | kabc/plugins/opie/Makefile$(PLATFORM) \ |
222 | kabc/plugins/qtopia/Makefile$(PLATFORM) \ | 222 | kabc/plugins/qtopia/Makefile$(PLATFORM) \ |
223 | kabc/plugins/sharpdtm/Makefile$(PLATFORM) \ | 223 | kabc/plugins/sharpdtm/Makefile$(PLATFORM) \ |
224 | kaddressbook/Makefile$(PLATFORM) \ | 224 | kaddressbook/Makefile$(PLATFORM) \ |
225 | kmicromail/Makefile$(PLATFORM) \ | 225 | kmicromail/Makefile$(PLATFORM) \ |
226 | kmicromail/libetpan/Makefile$(PLATFORM) \ | 226 | kmicromail/libetpan/Makefile$(PLATFORM) \ |
227 | kmicromail/libmailwrapper/Makefile$(PLATFORM) \ | 227 | kmicromail/libmailwrapper/Makefile$(PLATFORM) \ |
228 | gammu/emb/common/Makefile$(PLATFORM) \ | 228 | gammu/emb/common/Makefile$(PLATFORM) \ |
229 | gammu/emb/gammu/Makefile$(PLATFORM) \ | 229 | gammu/emb/gammu/Makefile$(PLATFORM) \ |
230 | 230 | ||
231 | 231 | ||
232 | 232 | ||
233 | 233 | ||
234 | qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro | 234 | qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro |
235 | cd qtcompat; tmake "CONFIG+=$(RELEASE_DEBUG)" qtcompat.pro -o Makefile$(PLATFORM) | 235 | cd qtcompat; tmake "CONFIG+=$(RELEASE_DEBUG)" qtcompat.pro -o Makefile$(PLATFORM) |
236 | 236 | ||
237 | microkde/Makefile$(PLATFORM): microkde/microkdeE.pro | 237 | microkde/Makefile$(PLATFORM): microkde/microkdeE.pro |
238 | cd microkde; tmake "CONFIG+=$(RELEASE_DEBUG)" microkdeE.pro -o Makefile$(PLATFORM) | 238 | cd microkde; tmake "CONFIG+=$(RELEASE_DEBUG)" microkdeE.pro -o Makefile$(PLATFORM) |
239 | 239 | ||
240 | libkcal/Makefile$(PLATFORM): libkcal/libkcalE.pro | 240 | libkcal/Makefile$(PLATFORM): libkcal/libkcalE.pro |
241 | cd libkcal; tmake "CONFIG+=$(RELEASE_DEBUG)" libkcalE.pro -o Makefile$(PLATFORM) | 241 | cd libkcal; tmake "CONFIG+=$(RELEASE_DEBUG)" libkcalE.pro -o Makefile$(PLATFORM) |
242 | 242 | ||
243 | 243 | ||
244 | libkdepim/Makefile$(PLATFORM): libkdepim/libkdepimE.pro | 244 | libkdepim/Makefile$(PLATFORM): libkdepim/libkdepimE.pro |
245 | cd libkdepim; tmake "CONFIG+=$(RELEASE_DEBUG)" libkdepimE.pro -o Makefile$(PLATFORM) | 245 | cd libkdepim; tmake "CONFIG+=$(RELEASE_DEBUG)" libkdepimE.pro -o Makefile$(PLATFORM) |
246 | 246 | ||
247 | kalarmd/Makefile$(PLATFORM): kalarmd/kalarmdE.pro | 247 | kalarmd/Makefile$(PLATFORM): kalarmd/kalarmdE.pro |
248 | cd kalarmd; tmake "CONFIG+=$(RELEASE_DEBUG)" kalarmdE.pro -o Makefile$(PLATFORM) | 248 | cd kalarmd; tmake "CONFIG+=$(RELEASE_DEBUG)" kalarmdE.pro -o Makefile$(PLATFORM) |
249 | 249 | ||
250 | korganizer/Makefile$(PLATFORM): korganizer/korganizerE.pro | 250 | korganizer/Makefile$(PLATFORM): korganizer/korganizerE.pro |
251 | cd korganizer; tmake "CONFIG+=$(RELEASE_DEBUG)" korganizerE.pro -o Makefile$(PLATFORM) | 251 | cd korganizer; tmake "CONFIG+=$(RELEASE_DEBUG)" korganizerE.pro -o Makefile$(PLATFORM) |
252 | 252 | ||
253 | libical/src/libical/Makefile$(PLATFORM): libical/src/libical/libicalE.pro | 253 | libical/src/libical/Makefile$(PLATFORM): libical/src/libical/libicalE.pro |
254 | cd libical/src/libical; tmake "CONFIG+=$(RELEASE_DEBUG)" libicalE.pro -o Makefile$(PLATFORM) | 254 | cd libical/src/libical; tmake "CONFIG+=$(RELEASE_DEBUG)" libicalE.pro -o Makefile$(PLATFORM) |
255 | 255 | ||
256 | libical/src/libicalss/Makefile$(PLATFORM): libical/src/libicalss/libicalssE.pro | 256 | libical/src/libicalss/Makefile$(PLATFORM): libical/src/libicalss/libicalssE.pro |
257 | cd libical/src/libicalss; tmake "CONFIG+=$(RELEASE_DEBUG)" libicalssE.pro -o Makefile$(PLATFORM) | 257 | cd libical/src/libicalss; tmake "CONFIG+=$(RELEASE_DEBUG)" libicalssE.pro -o Makefile$(PLATFORM) |
258 | 258 | ||
259 | kabc/Makefile$(PLATFORM): kabc/kabcE.pro | 259 | kabc/Makefile$(PLATFORM): kabc/kabcE.pro |
260 | cd kabc; tmake "CONFIG+=$(RELEASE_DEBUG)" kabcE.pro -o Makefile$(PLATFORM) | 260 | cd kabc; tmake "CONFIG+=$(RELEASE_DEBUG)" kabcE.pro -o Makefile$(PLATFORM) |
261 | 261 | ||
262 | kabc/formats/binary/Makefile$(PLATFORM): kabc/formats/binary/kabcformat_binaryE.pro | 262 | kabc/formats/binary/Makefile$(PLATFORM): kabc/formats/binary/kabcformat_binaryE.pro |
263 | cd kabc/formats/binary; tmake "CONFIG+=$(RELEASE_DEBUG)" kabcformat_binaryE.pro -o Makefile$(PLATFORM) | 263 | cd kabc/formats/binary; tmake "CONFIG+=$(RELEASE_DEBUG)" kabcformat_binaryE.pro -o Makefile$(PLATFORM) |
264 | 264 | ||
265 | kabc/plugins/file/Makefile$(PLATFORM): kabc/plugins/file/fileE.pro | 265 | kabc/plugins/file/Makefile$(PLATFORM): kabc/plugins/file/fileE.pro |
266 | cd kabc/plugins/file; tmake "CONFIG+=$(RELEASE_DEBUG)" fileE.pro -o Makefile$(PLATFORM) | 266 | cd kabc/plugins/file; tmake "CONFIG+=$(RELEASE_DEBUG)" fileE.pro -o Makefile$(PLATFORM) |
267 | 267 | ||
268 | kabc/plugins/dir/Makefile$(PLATFORM): kabc/plugins/dir/dirE.pro | 268 | kabc/plugins/dir/Makefile$(PLATFORM): kabc/plugins/dir/dirE.pro |
269 | cd kabc/plugins/dir; tmake "CONFIG+=$(RELEASE_DEBUG)" dirE.pro -o Makefile$(PLATFORM) | 269 | cd kabc/plugins/dir; tmake "CONFIG+=$(RELEASE_DEBUG)" dirE.pro -o Makefile$(PLATFORM) |
270 | 270 | ||
271 | kabc/plugins/ldap/Makefile$(PLATFORM): kabc/plugins/ldap/ldapE.pro | 271 | kabc/plugins/ldap/Makefile$(PLATFORM): kabc/plugins/ldap/ldapE.pro |
272 | cd kabc/plugins/ldap; tmake "CONFIG+=$(RELEASE_DEBUG)" ldapE.pro -o Makefile$(PLATFORM) | 272 | cd kabc/plugins/ldap; tmake "CONFIG+=$(RELEASE_DEBUG)" ldapE.pro -o Makefile$(PLATFORM) |
273 | 273 | ||
274 | kabc/plugins/opie/Makefile$(PLATFORM): kabc/plugins/opie/opieE.pro | 274 | kabc/plugins/opie/Makefile$(PLATFORM): kabc/plugins/opie/opieE.pro |
275 | cd kabc/plugins/opie; tmake "CONFIG+=$(RELEASE_DEBUG)" opieE.pro -o Makefile$(PLATFORM) | 275 | cd kabc/plugins/opie; tmake "CONFIG+=$(RELEASE_DEBUG)" opieE.pro -o Makefile$(PLATFORM) |
276 | 276 | ||
277 | kabc/plugins/qtopia/Makefile$(PLATFORM): kabc/plugins/qtopia/qtopiaE.pro | 277 | kabc/plugins/qtopia/Makefile$(PLATFORM): kabc/plugins/qtopia/qtopiaE.pro |
278 | cd kabc/plugins/qtopia; tmake "CONFIG+=$(RELEASE_DEBUG)" qtopiaE.pro -o Makefile$(PLATFORM) | 278 | cd kabc/plugins/qtopia; tmake "CONFIG+=$(RELEASE_DEBUG)" qtopiaE.pro -o Makefile$(PLATFORM) |
279 | 279 | ||
280 | kabc/plugins/sharpdtm/Makefile$(PLATFORM): kabc/plugins/sharpdtm/sharpdtmE.pro | 280 | kabc/plugins/sharpdtm/Makefile$(PLATFORM): kabc/plugins/sharpdtm/sharpdtmE.pro |
281 | cd kabc/plugins/sharpdtm; tmake "CONFIG+=$(RELEASE_DEBUG)" sharpdtmE.pro -o Makefile$(PLATFORM) | 281 | cd kabc/plugins/sharpdtm; tmake "CONFIG+=$(RELEASE_DEBUG)" sharpdtmE.pro -o Makefile$(PLATFORM) |
282 | 282 | ||
283 | kaddressbook/Makefile$(PLATFORM): kaddressbook/kaddressbookE.pro | 283 | kaddressbook/Makefile$(PLATFORM): kaddressbook/kaddressbookE.pro |
284 | cd kaddressbook; tmake "CONFIG+=$(RELEASE_DEBUG)" kaddressbookE.pro -o Makefile$(PLATFORM) | 284 | cd kaddressbook; tmake "CONFIG+=$(RELEASE_DEBUG)" kaddressbookE.pro -o Makefile$(PLATFORM) |
285 | 285 | ||
286 | kmicromail/Makefile$(PLATFORM): kmicromail/kmicromailE.pro | 286 | kmicromail/Makefile$(PLATFORM): kmicromail/kmicromailE.pro |
287 | cd kmicromail; tmake "CONFIG+=$(RELEASE_DEBUG)" kmicromailE.pro -o Makefile$(PLATFORM) | 287 | cd kmicromail; tmake "CONFIG+=$(RELEASE_DEBUG)" kmicromailE.pro -o Makefile$(PLATFORM) |
288 | 288 | ||
289 | kmicromail/libetpan/Makefile$(PLATFORM): kmicromail/libetpan/libetpanE.pro | 289 | kmicromail/libetpan/Makefile$(PLATFORM): kmicromail/libetpan/libetpanE.pro |
290 | 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) |
291 | 291 | ||
292 | kmicromail/libmailwrapper/Makefile$(PLATFORM): kmicromail/libmailwrapper/libmailwrapperE.pro | 292 | kmicromail/libmailwrapper/Makefile$(PLATFORM): kmicromail/libmailwrapper/libmailwrapperE.pro |
293 | 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 | 294 | ||
295 | gammu/emb/common/Makefile$(PLATFORM): gammu/emb/common/commonE.pro | 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) | 296 | cd gammu/emb/common; tmake "CONFIG+=$(RELEASE_DEBUG)" commonE.pro -o Makefile$(PLATFORM) |
297 | 297 | ||
298 | gammu/emb/gammu/Makefile$(PLATFORM): gammu/emb/gammu/gammuE.pro | 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) | 299 | cd gammu/emb/gammu; tmake "CONFIG+=$(RELEASE_DEBUG)" gammuE.pro -o Makefile$(PLATFORM) |
diff --git a/Makefile.Embedded b/Makefile.Embedded index ab9e17c..41976f3 100644 --- a/Makefile.Embedded +++ b/Makefile.Embedded | |||
@@ -2,298 +2,298 @@ 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 | endif | 6 | endif |
7 | 7 | ||
8 | ifneq ($(PLATFORM) , zaurus) | 8 | ifneq ($(PLATFORM) , zaurus) |
9 | BUILD_NO_SHARP_PLUGIN=1 | 9 | BUILD_NO_SHARP_PLUGIN=1 |
10 | endif | 10 | endif |
11 | 11 | ||
12 | SUBDIRS_MICROKDE = \ | 12 | SUBDIRS_MICROKDE = \ |
13 | libical/src/libical \ | 13 | libical/src/libical \ |
14 | libical/src/libicalss \ | 14 | libical/src/libicalss \ |
15 | qtcompat \ | 15 | qtcompat \ |
16 | microkde \ | 16 | microkde \ |
17 | libkcal \ | 17 | libkcal \ |
18 | libkdepim \ | 18 | libkdepim \ |
19 | kabc \ | 19 | kabc \ |
20 | kabc/formats/binary \ | 20 | kabc/formats/binary \ |
21 | kabc/plugins/file \ | 21 | kabc/plugins/file \ |
22 | kabc/plugins/dir \ | 22 | kabc/plugins/dir \ |
23 | korganizer \ | 23 | korganizer \ |
24 | kalarmd \ | 24 | kalarmd \ |
25 | kaddressbook | 25 | kaddressbook |
26 | 26 | ||
27 | SUBDIRS_QTOPIA_PLUGIN = \ | 27 | SUBDIRS_QTOPIA_PLUGIN = \ |
28 | kabc/plugins/qtopia | 28 | kabc/plugins/qtopia |
29 | 29 | ||
30 | SUBDIRS_OPIE_PLUGIN = \ | 30 | SUBDIRS_OPIE_PLUGIN = \ |
31 | kabc/plugins/opie | 31 | kabc/plugins/opie |
32 | 32 | ||
33 | SUBDIRS_SHARP_PLUGIN = \ | 33 | SUBDIRS_SHARP_PLUGIN = \ |
34 | kabc/plugins/sharpdtm | 34 | kabc/plugins/sharpdtm |
35 | 35 | ||
36 | SUBDIRS_LDAP_PLUGIN = \ | 36 | SUBDIRS_LDAP_PLUGIN = \ |
37 | kabc/plugins/ldap | 37 | kabc/plugins/ldap |
38 | 38 | ||
39 | SUBDIRS_MICROMAIL = \ | 39 | SUBDIRS_MICROMAIL = \ |
40 | kmicromail/libetpan \ | 40 | kmicromail/libetpan \ |
41 | kmicromail/libmailwrapper \ | 41 | kmicromail/libmailwrapper \ |
42 | kmicromail | 42 | kmicromail |
43 | 43 | ||
44 | SUBDIRS_GAMMU = \ | 44 | SUBDIRS_GAMMU = \ |
45 | gammu/emb/common \ | 45 | gammu/emb/common \ |
46 | gammu/emb/gammu | 46 | gammu/emb/gammu |
47 | 47 | ||
48 | SUBDIRS = \ | 48 | SUBDIRS = \ |
49 | $(SUBDIRS_MICROKDE) \ | 49 | $(SUBDIRS_MICROKDE) \ |
50 | $(SUBDIRS_QTOPIA_PLUGIN) \ | 50 | $(SUBDIRS_QTOPIA_PLUGIN) \ |
51 | $(SUBDIRS_OPIE_PLUGIN) \ | 51 | $(SUBDIRS_OPIE_PLUGIN) \ |
52 | $(SUBDIRS_SHARP_PLUGIN) \ | 52 | $(SUBDIRS_SHARP_PLUGIN) \ |
53 | $(SUBDIRS_LDAP_PLUGIN) \ | 53 | $(SUBDIRS_LDAP_PLUGIN) \ |
54 | $(SUBDIRS_MICROMAIL) \ | 54 | $(SUBDIRS_MICROMAIL) \ |
55 | $(SUBDIRS_GAMMU) | 55 | $(SUBDIRS_GAMMU) |
56 | 56 | ||
57 | all: build_microkde \ | 57 | all: build_microkde \ |
58 | build_qtopia_plugin \ | 58 | build_qtopia_plugin \ |
59 | build_opie_plugin \ | 59 | build_opie_plugin \ |
60 | build_sharp_plugin \ | 60 | build_sharp_plugin \ |
61 | build_ldap_plugin \ | 61 | build_ldap_plugin \ |
62 | build_micromail \ | 62 | build_micromail \ |
63 | build_gammu | 63 | build_gammu |
64 | 64 | ||
65 | 65 | ||
66 | build_microkde: variable_test tmake | 66 | build_microkde: variable_test tmake |
67 | for i in $(SUBDIRS_MICROKDE); do pushd $$i; \ | 67 | for i in $(SUBDIRS_MICROKDE); do pushd $$i; \ |
68 | make -f Makefile$(PLATFORM) || exit 1; popd; \ | 68 | make -f Makefile$(PLATFORM) || exit 1; popd; \ |
69 | done | 69 | done |
70 | 70 | ||
71 | build_qtopia_plugin: build_microkde | 71 | build_qtopia_plugin: build_microkde |
72 | for i in $(SUBDIRS_QTOPIA_PLUGIN); do pushd $$i; \ | 72 | for i in $(SUBDIRS_QTOPIA_PLUGIN); do pushd $$i; \ |
73 | make -f Makefile$(PLATFORM) || exit 1; popd; \ | 73 | make -f Makefile$(PLATFORM) || exit 1; popd; \ |
74 | done | 74 | done |
75 | 75 | ||
76 | build_opie_plugin: build_microkde | 76 | build_opie_plugin: build_microkde |
77 | ifdef BUILD_NO_OPIE_PLUGIN | 77 | ifdef BUILD_NO_OPIE_PLUGIN |
78 | @echo ---> opie plugin not build. | 78 | @echo ---> opie plugin not build. |
79 | else | 79 | else |
80 | for i in $(SUBDIRS_OPIE_PLUGIN); do pushd $$i; \ | 80 | for i in $(SUBDIRS_OPIE_PLUGIN); do pushd $$i; \ |
81 | make -f Makefile$(PLATFORM) || exit 1; popd; \ | 81 | make -f Makefile$(PLATFORM) || exit 1; popd; \ |
82 | done | 82 | done |
83 | endif | 83 | endif |
84 | 84 | ||
85 | build_sharp_plugin: build_microkde | 85 | build_sharp_plugin: build_microkde |
86 | ifdef BUILD_NO_SHARP_PLUGIN | 86 | ifdef BUILD_NO_SHARP_PLUGIN |
87 | @echo ---> ldap plugin not build. | 87 | @echo ---> ldap plugin not build. |
88 | else | 88 | else |
89 | for i in $(SUBDIRS_SHARP_PLUGIN); do pushd $$i; \ | 89 | for i in $(SUBDIRS_SHARP_PLUGIN); do pushd $$i; \ |
90 | make -f Makefile$(PLATFORM) || exit 1; popd; \ | 90 | make -f Makefile$(PLATFORM) || exit 1; popd; \ |
91 | done | 91 | done |
92 | endif | 92 | endif |
93 | 93 | ||
94 | build_ldap_plugin: build_microkde | 94 | build_ldap_plugin: build_microkde |
95 | ifdef BUILD_NO_LDAP_PLUGIN | 95 | ifdef BUILD_NO_LDAP_PLUGIN |
96 | @echo ---> ldap plugin not build. | 96 | @echo ---> ldap plugin not build. |
97 | else | 97 | else |
98 | for i in $(SUBDIRS_LDAP_PLUGIN); do pushd $$i; \ | 98 | for i in $(SUBDIRS_LDAP_PLUGIN); do pushd $$i; \ |
99 | make -f Makefile$(PLATFORM) || exit 1; popd; \ | 99 | make -f Makefile$(PLATFORM) || exit 1; popd; \ |
100 | done | 100 | done |
101 | endif | 101 | endif |
102 | 102 | ||
103 | 103 | ||
104 | build_micromail: build_microkde | 104 | build_micromail: build_microkde |
105 | ifdef BUILD_NO_MICROMAIL | 105 | ifdef BUILD_NO_MICROMAIL |
106 | @echo ---> micromail not build. | 106 | @echo ---> micromail not build. |
107 | else | 107 | else |
108 | for i in $(SUBDIRS_MICROMAIL); do pushd $$i; \ | 108 | for i in $(SUBDIRS_MICROMAIL); do pushd $$i; \ |
109 | make -f Makefile$(PLATFORM) || exit 1; popd; \ | 109 | make -f Makefile$(PLATFORM) || exit 1; popd; \ |
110 | done | 110 | done |
111 | endif | 111 | endif |
112 | 112 | ||
113 | build_gammu: variable_test tmake | 113 | build_gammu: variable_test tmake |
114 | ifdef BUILD_NO_GAMMU | 114 | ifdef BUILD_NO_GAMMU |
115 | @echo ---> gammu not build. | 115 | @echo ---> gammu not build. |
116 | else | 116 | else |
117 | for i in $(SUBDIRS_GAMMU); do pushd $$i; \ | 117 | for i in $(SUBDIRS_GAMMU); do pushd $$i; \ |
118 | make -f Makefile$(PLATFORM) || exit 1; popd; \ | 118 | make -f Makefile$(PLATFORM) || exit 1; popd; \ |
119 | done | 119 | done |
120 | endif | 120 | endif |
121 | 121 | ||
122 | 122 | ||
123 | variable_info: | 123 | variable_info: |
124 | @echo -------------------------------------- | 124 | @echo -------------------------------------- |
125 | @echo KDEPIM buildsystem, variableinfo... | 125 | @echo KDEPIM buildsystem, variableinfo... |
126 | @echo KDEPIMDIR=$(KDEPIMDIR) | 126 | @echo KDEPIMDIR=$(KDEPIMDIR) |
127 | @echo QTDIR=$(QTDIR) | 127 | @echo QTDIR=$(QTDIR) |
128 | @echo QPEDIR=$(QPEDIR) | 128 | @echo QPEDIR=$(QPEDIR) |
129 | @echo OPIEDIR=$(OPIEDIR) | 129 | @echo OPIEDIR=$(OPIEDIR) |
130 | @echo PLATFORM=$(PLATFORM) | 130 | @echo PLATFORM=$(PLATFORM) |
131 | @echo RELEASE_DEBUG=$(RELEASE_DEBUG) | 131 | @echo RELEASE_DEBUG=$(RELEASE_DEBUG) |
132 | @echo BUILD_NO_MICROMAIL=$(BUILD_NO_MICROMAIL) | 132 | @echo BUILD_NO_MICROMAIL=$(BUILD_NO_MICROMAIL) |
133 | @echo BUILD_NO_LDAP_PLUGIN=$(BUILD_NO_LDAP_PLUGIN) | 133 | @echo BUILD_NO_LDAP_PLUGIN=$(BUILD_NO_LDAP_PLUGIN) |
134 | @echo BUILD_NO_OPIE_PLUGIN=$(BUILD_NO_OPIE_PLUGIN) | 134 | @echo BUILD_NO_OPIE_PLUGIN=$(BUILD_NO_OPIE_PLUGIN) |
135 | @echo BUILD_NO_SHARP_PLUGIN=$(BUILD_NO_SHARP_PLUGIN) | 135 | @echo BUILD_NO_SHARP_PLUGIN=$(BUILD_NO_SHARP_PLUGIN) |
136 | ifndef BUILD_NO_SHARP_PLUGIN | 136 | ifndef BUILD_NO_SHARP_PLUGIN |
137 | @echo SHARPDTMSDK=$(SHARPDTMSDK) | 137 | @echo SHARPDTMSDK=$(SHARPDTMSDK) |
138 | endif | 138 | endif |
139 | @echo BUILD_NO_GAMMU=$(BUILD_NO_GAMMU) | 139 | @echo BUILD_NO_GAMMU=$(BUILD_NO_GAMMU) |
140 | @echo -------------------------------------- | 140 | @echo -------------------------------------- |
141 | 141 | ||
142 | variable_test: variable_info | 142 | variable_test: variable_info |
143 | @echo KDEPIM buildsystem, variablecheck... | 143 | @echo KDEPIM buildsystem, variablecheck... |
144 | ifndef KDEPIMDIR | 144 | ifndef KDEPIMDIR |
145 | @echo KDEPIMDIR is not defined. | 145 | @echo KDEPIMDIR is not defined. |
146 | $(error KDEPIMDIR is not defined) | 146 | $(error KDEPIMDIR is not defined) |
147 | endif | 147 | endif |
148 | ifndef PLATFORM | 148 | ifndef PLATFORM |
149 | @echo PLATFORM is not defined. | 149 | @echo PLATFORM is not defined. |
150 | $(error PLATFORM is not defined) | 150 | $(error PLATFORM is not defined) |
151 | endif | 151 | endif |
152 | ifdef BUILD_NO_LDAP_PLUGIN | 152 | ifdef BUILD_NO_LDAP_PLUGIN |
153 | @echo LDAP PLUGIN will not be build, because BUILD_NO_LDAP_PLUGIN is set to $(BUILD_NO_LDAP_PLUGIN) | 153 | @echo LDAP PLUGIN will not be build, because BUILD_NO_LDAP_PLUGIN is set to $(BUILD_NO_LDAP_PLUGIN) |
154 | endif | 154 | endif |
155 | ifdef BUILD_NO_OPIE_PLUGIN | 155 | ifdef BUILD_NO_OPIE_PLUGIN |
156 | @echo OPIE PLUGIN will not be build, because BUILD_NO_OPIE_PLUGIN is set to $(BUILD_NO_OPIE_PLUGIN) | 156 | @echo OPIE PLUGIN will not be build, because BUILD_NO_OPIE_PLUGIN is set to $(BUILD_NO_OPIE_PLUGIN) |
157 | endif | 157 | endif |
158 | ifdef BUILD_NO_MICROMAIL | 158 | ifdef BUILD_NO_MICROMAIL |
159 | @echo MICROMAIL will not be build, because BUILD_NO_MICROMAIL is set to $(BUILD_NO_MICROMAIL) | 159 | @echo MICROMAIL will not be build, because BUILD_NO_MICROMAIL is set to $(BUILD_NO_MICROMAIL) |
160 | endif | 160 | endif |
161 | ifdef BUILD_NO_SHARP_PLUGIN | 161 | ifdef BUILD_NO_SHARP_PLUGIN |
162 | @echo SHARP PLUGIN will not be build, because BUILD_NO_SHARP_PLUGIN is set to $(BUILD_NO_SHARP_PLUGIN) | 162 | @echo SHARP PLUGIN will not be build, because BUILD_NO_SHARP_PLUGIN is set to $(BUILD_NO_SHARP_PLUGIN) |
163 | else | 163 | else |
164 | ifndef SHARPDTMSDK | 164 | ifndef SHARPDTMSDK |
165 | @echo SHARP PLUGIN can not be build, because SHARPDTMSDK is set to $(SHARPDTMSDK) | 165 | @echo SHARP PLUGIN can not be build, because SHARPDTMSDK is set to $(SHARPDTMSDK) |
166 | $(error SHARPDTMSDK is not defined) | 166 | $(error SHARPDTMSDK is not defined) |
167 | endif | 167 | endif |
168 | endif | 168 | endif |
169 | @echo -------------------------------------- | 169 | @echo -------------------------------------- |
170 | 170 | ||
171 | 171 | ||
172 | objects: | 172 | objects: |
173 | for i in $(SUBDIRS); do mkdir -p $$i/obj/$(PLATFORM); done | 173 | for i in $(SUBDIRS); do mkdir -p $$i/obj/$(PLATFORM); done |
174 | for i in $(SUBDIRS); do mkdir -p $$i/moc/$(PLATFORM); done | 174 | for i in $(SUBDIRS); do mkdir -p $$i/moc/$(PLATFORM); done |
175 | mkdir -p libical/lib/$(PLATFORM) | 175 | mkdir -p libical/lib/$(PLATFORM) |
176 | 176 | ||
177 | clean: | 177 | clean: |
178 | rm -rf libical/lib/$(PLATFORM)/*; | 178 | rm -rf libical/lib/$(PLATFORM)/*; |
179 | for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\ | 179 | for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\ |
180 | 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; \ |
181 | done | 181 | done |
182 | install: | 182 | install: |
183 | cd bin/kdepim; make install | 183 | cd bin/kdepim; make install |
184 | cp -r Pim $(QPEDIR)/apps | 184 | cp -r Pim $(QPEDIR)/apps |
185 | cp db2file/db2file $(QPEDIR)/bin/db2file | 185 | cp db2file/db2file $(QPEDIR)/bin/db2file |
186 | cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop | 186 | cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop |
187 | cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop | 187 | cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop |
188 | cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kmicromail.desktop | 188 | cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kmicromail.desktop |
189 | 189 | ||
190 | dist: | 190 | dist: |
191 | @echo Dont forget to do "make install" before "make dist" | 191 | @echo Dont forget to do "make install" before "make dist" |
192 | rm -f *arm.ipk | 192 | rm -f *arm.ipk |
193 | rm -f *~ | 193 | rm -f *~ |
194 | cd ..; tar czf kdepim.src.tar.gz --exclude=obj --exclude=moc kdepim | 194 | cd ..; tar czf kdepim.src.tar.gz --exclude=obj --exclude=moc --exclude=CVS --exclude=Makefilezaurus --exclude=Makefileqtopia kdepim |
195 | ./mkipks kmicrokdelibs.control | 195 | ./mkipks kmicrokdelibs.control |
196 | ./mkipks korganizer.control | 196 | ./mkipks korganizer.control |
197 | ./mkipks kaddressbook.control | 197 | ./mkipks kaddressbook.control |
198 | ifndef BUILD_NO_MICROMAIL | 198 | ifndef BUILD_NO_MICROMAIL |
199 | ./mkipks kopiemail.control | 199 | ./mkipks kopiemail.control |
200 | endif | 200 | endif |
201 | ./mkipks korganizer-alarm.control | 201 | ./mkipks korganizer-alarm.control |
202 | ifndef BUILD_NO_GAMMU | 202 | ifndef BUILD_NO_GAMMU |
203 | ./mkipks kammu.control | 203 | ./mkipks kammu.control |
204 | endif | 204 | endif |
205 | ./mkipks pim_TAB_icon.control | 205 | ./mkipks pim_TAB_icon.control |
206 | 206 | ||
207 | tmake: objects \ | 207 | tmake: objects \ |
208 | qtcompat/Makefile$(PLATFORM) \ | 208 | qtcompat/Makefile$(PLATFORM) \ |
209 | microkde/Makefile$(PLATFORM) \ | 209 | microkde/Makefile$(PLATFORM) \ |
210 | libkcal/Makefile$(PLATFORM) \ | 210 | libkcal/Makefile$(PLATFORM) \ |
211 | libkdepim/Makefile$(PLATFORM) \ | 211 | libkdepim/Makefile$(PLATFORM) \ |
212 | korganizer/Makefile$(PLATFORM) \ | 212 | korganizer/Makefile$(PLATFORM) \ |
213 | kalarmd/Makefile$(PLATFORM) \ | 213 | kalarmd/Makefile$(PLATFORM) \ |
214 | libical/src/libical/Makefile$(PLATFORM) \ | 214 | libical/src/libical/Makefile$(PLATFORM) \ |
215 | libical/src/libicalss/Makefile$(PLATFORM) \ | 215 | libical/src/libicalss/Makefile$(PLATFORM) \ |
216 | kabc/Makefile$(PLATFORM) \ | 216 | kabc/Makefile$(PLATFORM) \ |
217 | kabc/formats/binary/Makefile$(PLATFORM) \ | 217 | kabc/formats/binary/Makefile$(PLATFORM) \ |
218 | kabc/plugins/file/Makefile$(PLATFORM) \ | 218 | kabc/plugins/file/Makefile$(PLATFORM) \ |
219 | kabc/plugins/dir/Makefile$(PLATFORM) \ | 219 | kabc/plugins/dir/Makefile$(PLATFORM) \ |
220 | kabc/plugins/ldap/Makefile$(PLATFORM) \ | 220 | kabc/plugins/ldap/Makefile$(PLATFORM) \ |
221 | kabc/plugins/opie/Makefile$(PLATFORM) \ | 221 | kabc/plugins/opie/Makefile$(PLATFORM) \ |
222 | kabc/plugins/qtopia/Makefile$(PLATFORM) \ | 222 | kabc/plugins/qtopia/Makefile$(PLATFORM) \ |
223 | kabc/plugins/sharpdtm/Makefile$(PLATFORM) \ | 223 | kabc/plugins/sharpdtm/Makefile$(PLATFORM) \ |
224 | kaddressbook/Makefile$(PLATFORM) \ | 224 | kaddressbook/Makefile$(PLATFORM) \ |
225 | kmicromail/Makefile$(PLATFORM) \ | 225 | kmicromail/Makefile$(PLATFORM) \ |
226 | kmicromail/libetpan/Makefile$(PLATFORM) \ | 226 | kmicromail/libetpan/Makefile$(PLATFORM) \ |
227 | kmicromail/libmailwrapper/Makefile$(PLATFORM) \ | 227 | kmicromail/libmailwrapper/Makefile$(PLATFORM) \ |
228 | gammu/emb/common/Makefile$(PLATFORM) \ | 228 | gammu/emb/common/Makefile$(PLATFORM) \ |
229 | gammu/emb/gammu/Makefile$(PLATFORM) \ | 229 | gammu/emb/gammu/Makefile$(PLATFORM) \ |
230 | 230 | ||
231 | 231 | ||
232 | 232 | ||
233 | 233 | ||
234 | qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro | 234 | qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro |
235 | cd qtcompat; tmake "CONFIG+=$(RELEASE_DEBUG)" qtcompat.pro -o Makefile$(PLATFORM) | 235 | cd qtcompat; tmake "CONFIG+=$(RELEASE_DEBUG)" qtcompat.pro -o Makefile$(PLATFORM) |
236 | 236 | ||
237 | microkde/Makefile$(PLATFORM): microkde/microkdeE.pro | 237 | microkde/Makefile$(PLATFORM): microkde/microkdeE.pro |
238 | cd microkde; tmake "CONFIG+=$(RELEASE_DEBUG)" microkdeE.pro -o Makefile$(PLATFORM) | 238 | cd microkde; tmake "CONFIG+=$(RELEASE_DEBUG)" microkdeE.pro -o Makefile$(PLATFORM) |
239 | 239 | ||
240 | libkcal/Makefile$(PLATFORM): libkcal/libkcalE.pro | 240 | libkcal/Makefile$(PLATFORM): libkcal/libkcalE.pro |
241 | cd libkcal; tmake "CONFIG+=$(RELEASE_DEBUG)" libkcalE.pro -o Makefile$(PLATFORM) | 241 | cd libkcal; tmake "CONFIG+=$(RELEASE_DEBUG)" libkcalE.pro -o Makefile$(PLATFORM) |
242 | 242 | ||
243 | 243 | ||
244 | libkdepim/Makefile$(PLATFORM): libkdepim/libkdepimE.pro | 244 | libkdepim/Makefile$(PLATFORM): libkdepim/libkdepimE.pro |
245 | cd libkdepim; tmake "CONFIG+=$(RELEASE_DEBUG)" libkdepimE.pro -o Makefile$(PLATFORM) | 245 | cd libkdepim; tmake "CONFIG+=$(RELEASE_DEBUG)" libkdepimE.pro -o Makefile$(PLATFORM) |
246 | 246 | ||
247 | kalarmd/Makefile$(PLATFORM): kalarmd/kalarmdE.pro | 247 | kalarmd/Makefile$(PLATFORM): kalarmd/kalarmdE.pro |
248 | cd kalarmd; tmake "CONFIG+=$(RELEASE_DEBUG)" kalarmdE.pro -o Makefile$(PLATFORM) | 248 | cd kalarmd; tmake "CONFIG+=$(RELEASE_DEBUG)" kalarmdE.pro -o Makefile$(PLATFORM) |
249 | 249 | ||
250 | korganizer/Makefile$(PLATFORM): korganizer/korganizerE.pro | 250 | korganizer/Makefile$(PLATFORM): korganizer/korganizerE.pro |
251 | cd korganizer; tmake "CONFIG+=$(RELEASE_DEBUG)" korganizerE.pro -o Makefile$(PLATFORM) | 251 | cd korganizer; tmake "CONFIG+=$(RELEASE_DEBUG)" korganizerE.pro -o Makefile$(PLATFORM) |
252 | 252 | ||
253 | libical/src/libical/Makefile$(PLATFORM): libical/src/libical/libicalE.pro | 253 | libical/src/libical/Makefile$(PLATFORM): libical/src/libical/libicalE.pro |
254 | cd libical/src/libical; tmake "CONFIG+=$(RELEASE_DEBUG)" libicalE.pro -o Makefile$(PLATFORM) | 254 | cd libical/src/libical; tmake "CONFIG+=$(RELEASE_DEBUG)" libicalE.pro -o Makefile$(PLATFORM) |
255 | 255 | ||
256 | libical/src/libicalss/Makefile$(PLATFORM): libical/src/libicalss/libicalssE.pro | 256 | libical/src/libicalss/Makefile$(PLATFORM): libical/src/libicalss/libicalssE.pro |
257 | cd libical/src/libicalss; tmake "CONFIG+=$(RELEASE_DEBUG)" libicalssE.pro -o Makefile$(PLATFORM) | 257 | cd libical/src/libicalss; tmake "CONFIG+=$(RELEASE_DEBUG)" libicalssE.pro -o Makefile$(PLATFORM) |
258 | 258 | ||
259 | kabc/Makefile$(PLATFORM): kabc/kabcE.pro | 259 | kabc/Makefile$(PLATFORM): kabc/kabcE.pro |
260 | cd kabc; tmake "CONFIG+=$(RELEASE_DEBUG)" kabcE.pro -o Makefile$(PLATFORM) | 260 | cd kabc; tmake "CONFIG+=$(RELEASE_DEBUG)" kabcE.pro -o Makefile$(PLATFORM) |
261 | 261 | ||
262 | kabc/formats/binary/Makefile$(PLATFORM): kabc/formats/binary/kabcformat_binaryE.pro | 262 | kabc/formats/binary/Makefile$(PLATFORM): kabc/formats/binary/kabcformat_binaryE.pro |
263 | cd kabc/formats/binary; tmake "CONFIG+=$(RELEASE_DEBUG)" kabcformat_binaryE.pro -o Makefile$(PLATFORM) | 263 | cd kabc/formats/binary; tmake "CONFIG+=$(RELEASE_DEBUG)" kabcformat_binaryE.pro -o Makefile$(PLATFORM) |
264 | 264 | ||
265 | kabc/plugins/file/Makefile$(PLATFORM): kabc/plugins/file/fileE.pro | 265 | kabc/plugins/file/Makefile$(PLATFORM): kabc/plugins/file/fileE.pro |
266 | cd kabc/plugins/file; tmake "CONFIG+=$(RELEASE_DEBUG)" fileE.pro -o Makefile$(PLATFORM) | 266 | cd kabc/plugins/file; tmake "CONFIG+=$(RELEASE_DEBUG)" fileE.pro -o Makefile$(PLATFORM) |
267 | 267 | ||
268 | kabc/plugins/dir/Makefile$(PLATFORM): kabc/plugins/dir/dirE.pro | 268 | kabc/plugins/dir/Makefile$(PLATFORM): kabc/plugins/dir/dirE.pro |
269 | cd kabc/plugins/dir; tmake "CONFIG+=$(RELEASE_DEBUG)" dirE.pro -o Makefile$(PLATFORM) | 269 | cd kabc/plugins/dir; tmake "CONFIG+=$(RELEASE_DEBUG)" dirE.pro -o Makefile$(PLATFORM) |
270 | 270 | ||
271 | kabc/plugins/ldap/Makefile$(PLATFORM): kabc/plugins/ldap/ldapE.pro | 271 | kabc/plugins/ldap/Makefile$(PLATFORM): kabc/plugins/ldap/ldapE.pro |
272 | cd kabc/plugins/ldap; tmake "CONFIG+=$(RELEASE_DEBUG)" ldapE.pro -o Makefile$(PLATFORM) | 272 | cd kabc/plugins/ldap; tmake "CONFIG+=$(RELEASE_DEBUG)" ldapE.pro -o Makefile$(PLATFORM) |
273 | 273 | ||
274 | kabc/plugins/opie/Makefile$(PLATFORM): kabc/plugins/opie/opieE.pro | 274 | kabc/plugins/opie/Makefile$(PLATFORM): kabc/plugins/opie/opieE.pro |
275 | cd kabc/plugins/opie; tmake "CONFIG+=$(RELEASE_DEBUG)" opieE.pro -o Makefile$(PLATFORM) | 275 | cd kabc/plugins/opie; tmake "CONFIG+=$(RELEASE_DEBUG)" opieE.pro -o Makefile$(PLATFORM) |
276 | 276 | ||
277 | kabc/plugins/qtopia/Makefile$(PLATFORM): kabc/plugins/qtopia/qtopiaE.pro | 277 | kabc/plugins/qtopia/Makefile$(PLATFORM): kabc/plugins/qtopia/qtopiaE.pro |
278 | cd kabc/plugins/qtopia; tmake "CONFIG+=$(RELEASE_DEBUG)" qtopiaE.pro -o Makefile$(PLATFORM) | 278 | cd kabc/plugins/qtopia; tmake "CONFIG+=$(RELEASE_DEBUG)" qtopiaE.pro -o Makefile$(PLATFORM) |
279 | 279 | ||
280 | kabc/plugins/sharpdtm/Makefile$(PLATFORM): kabc/plugins/sharpdtm/sharpdtmE.pro | 280 | kabc/plugins/sharpdtm/Makefile$(PLATFORM): kabc/plugins/sharpdtm/sharpdtmE.pro |
281 | cd kabc/plugins/sharpdtm; tmake "CONFIG+=$(RELEASE_DEBUG)" sharpdtmE.pro -o Makefile$(PLATFORM) | 281 | cd kabc/plugins/sharpdtm; tmake "CONFIG+=$(RELEASE_DEBUG)" sharpdtmE.pro -o Makefile$(PLATFORM) |
282 | 282 | ||
283 | kaddressbook/Makefile$(PLATFORM): kaddressbook/kaddressbookE.pro | 283 | kaddressbook/Makefile$(PLATFORM): kaddressbook/kaddressbookE.pro |
284 | cd kaddressbook; tmake "CONFIG+=$(RELEASE_DEBUG)" kaddressbookE.pro -o Makefile$(PLATFORM) | 284 | cd kaddressbook; tmake "CONFIG+=$(RELEASE_DEBUG)" kaddressbookE.pro -o Makefile$(PLATFORM) |
285 | 285 | ||
286 | kmicromail/Makefile$(PLATFORM): kmicromail/kmicromailE.pro | 286 | kmicromail/Makefile$(PLATFORM): kmicromail/kmicromailE.pro |
287 | cd kmicromail; tmake "CONFIG+=$(RELEASE_DEBUG)" kmicromailE.pro -o Makefile$(PLATFORM) | 287 | cd kmicromail; tmake "CONFIG+=$(RELEASE_DEBUG)" kmicromailE.pro -o Makefile$(PLATFORM) |
288 | 288 | ||
289 | kmicromail/libetpan/Makefile$(PLATFORM): kmicromail/libetpan/libetpanE.pro | 289 | kmicromail/libetpan/Makefile$(PLATFORM): kmicromail/libetpan/libetpanE.pro |
290 | 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) |
291 | 291 | ||
292 | kmicromail/libmailwrapper/Makefile$(PLATFORM): kmicromail/libmailwrapper/libmailwrapperE.pro | 292 | kmicromail/libmailwrapper/Makefile$(PLATFORM): kmicromail/libmailwrapper/libmailwrapperE.pro |
293 | 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 | 294 | ||
295 | gammu/emb/common/Makefile$(PLATFORM): gammu/emb/common/commonE.pro | 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) | 296 | cd gammu/emb/common; tmake "CONFIG+=$(RELEASE_DEBUG)" commonE.pro -o Makefile$(PLATFORM) |
297 | 297 | ||
298 | gammu/emb/gammu/Makefile$(PLATFORM): gammu/emb/gammu/gammuE.pro | 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) | 299 | cd gammu/emb/gammu; tmake "CONFIG+=$(RELEASE_DEBUG)" gammuE.pro -o Makefile$(PLATFORM) |