summaryrefslogtreecommitdiffabout
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--Makefile2
-rw-r--r--Makefile.Embedded2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index ab9e17c..41976f3 100644
--- a/Makefile
+++ b/Makefile
@@ -98,193 +98,193 @@ build_ldap_plugin: build_microkde
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
104build_micromail: build_microkde 104build_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
113build_gammu: variable_test tmake 113build_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
123variable_info: 123variable_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
142variable_test: variable_info 142variable_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
172objects: 172objects:
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
177clean: 177clean:
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
182install: 182install:
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
190dist: 190dist:
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
207tmake: objects \ 207tmake: 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
234qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro 234qtcompat/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
237microkde/Makefile$(PLATFORM): microkde/microkdeE.pro 237microkde/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
240libkcal/Makefile$(PLATFORM): libkcal/libkcalE.pro 240libkcal/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
244libkdepim/Makefile$(PLATFORM): libkdepim/libkdepimE.pro 244libkdepim/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
247kalarmd/Makefile$(PLATFORM): kalarmd/kalarmdE.pro 247kalarmd/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
250korganizer/Makefile$(PLATFORM): korganizer/korganizerE.pro 250korganizer/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
253libical/src/libical/Makefile$(PLATFORM): libical/src/libical/libicalE.pro 253libical/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
256libical/src/libicalss/Makefile$(PLATFORM): libical/src/libicalss/libicalssE.pro 256libical/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
259kabc/Makefile$(PLATFORM): kabc/kabcE.pro 259kabc/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
262kabc/formats/binary/Makefile$(PLATFORM): kabc/formats/binary/kabcformat_binaryE.pro 262kabc/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
265kabc/plugins/file/Makefile$(PLATFORM): kabc/plugins/file/fileE.pro 265kabc/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
268kabc/plugins/dir/Makefile$(PLATFORM): kabc/plugins/dir/dirE.pro 268kabc/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
271kabc/plugins/ldap/Makefile$(PLATFORM): kabc/plugins/ldap/ldapE.pro 271kabc/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
274kabc/plugins/opie/Makefile$(PLATFORM): kabc/plugins/opie/opieE.pro 274kabc/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
277kabc/plugins/qtopia/Makefile$(PLATFORM): kabc/plugins/qtopia/qtopiaE.pro 277kabc/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
280kabc/plugins/sharpdtm/Makefile$(PLATFORM): kabc/plugins/sharpdtm/sharpdtmE.pro 280kabc/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
283kaddressbook/Makefile$(PLATFORM): kaddressbook/kaddressbookE.pro 283kaddressbook/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
286kmicromail/Makefile$(PLATFORM): kmicromail/kmicromailE.pro 286kmicromail/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
289kmicromail/libetpan/Makefile$(PLATFORM): kmicromail/libetpan/libetpanE.pro 289kmicromail/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)
diff --git a/Makefile.Embedded b/Makefile.Embedded
index ab9e17c..41976f3 100644
--- a/Makefile.Embedded
+++ b/Makefile.Embedded
@@ -98,193 +98,193 @@ build_ldap_plugin: build_microkde
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
104build_micromail: build_microkde 104build_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
113build_gammu: variable_test tmake 113build_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
123variable_info: 123variable_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
142variable_test: variable_info 142variable_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
172objects: 172objects:
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
177clean: 177clean:
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
182install: 182install:
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
190dist: 190dist:
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
207tmake: objects \ 207tmake: 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
234qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro 234qtcompat/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
237microkde/Makefile$(PLATFORM): microkde/microkdeE.pro 237microkde/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
240libkcal/Makefile$(PLATFORM): libkcal/libkcalE.pro 240libkcal/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
244libkdepim/Makefile$(PLATFORM): libkdepim/libkdepimE.pro 244libkdepim/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
247kalarmd/Makefile$(PLATFORM): kalarmd/kalarmdE.pro 247kalarmd/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
250korganizer/Makefile$(PLATFORM): korganizer/korganizerE.pro 250korganizer/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
253libical/src/libical/Makefile$(PLATFORM): libical/src/libical/libicalE.pro 253libical/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
256libical/src/libicalss/Makefile$(PLATFORM): libical/src/libicalss/libicalssE.pro 256libical/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
259kabc/Makefile$(PLATFORM): kabc/kabcE.pro 259kabc/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
262kabc/formats/binary/Makefile$(PLATFORM): kabc/formats/binary/kabcformat_binaryE.pro 262kabc/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
265kabc/plugins/file/Makefile$(PLATFORM): kabc/plugins/file/fileE.pro 265kabc/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
268kabc/plugins/dir/Makefile$(PLATFORM): kabc/plugins/dir/dirE.pro 268kabc/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
271kabc/plugins/ldap/Makefile$(PLATFORM): kabc/plugins/ldap/ldapE.pro 271kabc/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
274kabc/plugins/opie/Makefile$(PLATFORM): kabc/plugins/opie/opieE.pro 274kabc/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
277kabc/plugins/qtopia/Makefile$(PLATFORM): kabc/plugins/qtopia/qtopiaE.pro 277kabc/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
280kabc/plugins/sharpdtm/Makefile$(PLATFORM): kabc/plugins/sharpdtm/sharpdtmE.pro 280kabc/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
283kaddressbook/Makefile$(PLATFORM): kaddressbook/kaddressbookE.pro 283kaddressbook/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
286kmicromail/Makefile$(PLATFORM): kmicromail/kmicromailE.pro 286kmicromail/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
289kmicromail/libetpan/Makefile$(PLATFORM): kmicromail/libetpan/libetpanE.pro 289kmicromail/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)