summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2004-08-30 20:38:49 (UTC)
committer zautrix <zautrix>2004-08-30 20:38:49 (UTC)
commita415f6b4188fe9fc7a7c8d530def31d0877a8073 (patch) (unidiff)
tree015334928bc184833549508bb705384547e55115
parent109a23b70f67552a9ce27f682bb2b1bdbb2bb4f3 (diff)
downloadkdepimpi-a415f6b4188fe9fc7a7c8d530def31d0877a8073.zip
kdepimpi-a415f6b4188fe9fc7a7c8d530def31d0877a8073.tar.gz
kdepimpi-a415f6b4188fe9fc7a7c8d530def31d0877a8073.tar.bz2
Gammu integrated in build system
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--Makefile36
-rw-r--r--Makefile.Embedded36
-rw-r--r--gammu.control11
-rw-r--r--gammu/emb/common/commonE.pro2
-rw-r--r--gammu/emb/gammu/gammuE.pro2
5 files changed, 77 insertions, 10 deletions
diff --git a/Makefile b/Makefile
index 9b55ecf..b7e0e33 100644
--- a/Makefile
+++ b/Makefile
@@ -1,271 +1,299 @@
1export KDEPIMDIR = $(shell pwd) 1export KDEPIMDIR = $(shell pwd)
2 2
3 3
4ifeq ($(PLATFORM) , zaurus) 4ifeq ($(PLATFORM) , zaurus)
5 BUILD_NO_LDAP_PLUGIN=1 5 BUILD_NO_LDAP_PLUGIN=1
6 BUILD_NO_GAMMU=1
6endif 7endif
7 8
8ifneq ($(PLATFORM) , zaurus) 9ifneq ($(PLATFORM) , zaurus)
9 BUILD_NO_SHARP_PLUGIN=1 10 BUILD_NO_SHARP_PLUGIN=1
11 BUILD_NO_GAMMU=1
10endif 12endif
11 13
12SUBDIRS_MICROKDE = \ 14SUBDIRS_MICROKDE = \
13 libical/src/libical \ 15 libical/src/libical \
14 libical/src/libicalss \ 16 libical/src/libicalss \
15 qtcompat \ 17 qtcompat \
16 microkde \ 18 microkde \
17 libkcal \ 19 libkcal \
18 libkdepim \ 20 libkdepim \
19 kabc \ 21 kabc \
20 kabc/formats/binary \ 22 kabc/formats/binary \
21 kabc/plugins/file \ 23 kabc/plugins/file \
22 kabc/plugins/dir \ 24 kabc/plugins/dir \
23 korganizer \ 25 korganizer \
24 kalarmd \ 26 kalarmd \
25 kaddressbook 27 kaddressbook
26 28
27SUBDIRS_QTOPIA_PLUGIN = \ 29SUBDIRS_QTOPIA_PLUGIN = \
28 kabc/plugins/qtopia 30 kabc/plugins/qtopia
29 31
30SUBDIRS_OPIE_PLUGIN = \ 32SUBDIRS_OPIE_PLUGIN = \
31 kabc/plugins/opie 33 kabc/plugins/opie
32 34
33SUBDIRS_SHARP_PLUGIN = \ 35SUBDIRS_SHARP_PLUGIN = \
34 kabc/plugins/sharpdtm 36 kabc/plugins/sharpdtm
35 37
36SUBDIRS_LDAP_PLUGIN = \ 38SUBDIRS_LDAP_PLUGIN = \
37 kabc/plugins/ldap 39 kabc/plugins/ldap
38 40
39SUBDIRS_MICROMAIL = \ 41SUBDIRS_MICROMAIL = \
40 kmicromail/libetpan \ 42 kmicromail/libetpan \
41 kmicromail/libmailwrapper \ 43 kmicromail/libmailwrapper \
42 kmicromail 44 kmicromail
43 45
46SUBDIRS_GAMMU = \
47 gammu/emb/common \
48 gammu/emb/gammu
49
44SUBDIRS = \ 50SUBDIRS = \
45 $(SUBDIRS_MICROKDE) \ 51 $(SUBDIRS_MICROKDE) \
46 $(SUBDIRS_QTOPIA_PLUGIN) \ 52 $(SUBDIRS_QTOPIA_PLUGIN) \
47 $(SUBDIRS_OPIE_PLUGIN) \ 53 $(SUBDIRS_OPIE_PLUGIN) \
48 $(SUBDIRS_SHARP_PLUGIN) \ 54 $(SUBDIRS_SHARP_PLUGIN) \
49 $(SUBDIRS_LDAP_PLUGIN) \ 55 $(SUBDIRS_LDAP_PLUGIN) \
50 $(SUBDIRS_MICROMAIL) 56 $(SUBDIRS_MICROMAIL) \
51 57 $(SUBDIRS_GAMMU)
52 58
53all: build_microkde \ 59all: build_microkde \
54 build_qtopia_plugin \ 60 build_qtopia_plugin \
55 build_opie_plugin \ 61 build_opie_plugin \
56 build_sharp_plugin \ 62 build_sharp_plugin \
57 build_ldap_plugin \ 63 build_ldap_plugin \
58 build_micromail 64 build_micromail \
65 build_gammu
59 66
60 67
61build_microkde: variable_test tmake 68build_microkde: variable_test tmake
62 for i in $(SUBDIRS_MICROKDE); do pushd $$i; \ 69 for i in $(SUBDIRS_MICROKDE); do pushd $$i; \
63 make -f Makefile$(PLATFORM) || exit 1; popd; \ 70 make -f Makefile$(PLATFORM) || exit 1; popd; \
64 done 71 done
65 72
66build_qtopia_plugin: build_microkde 73build_qtopia_plugin: build_microkde
67 for i in $(SUBDIRS_QTOPIA_PLUGIN); do pushd $$i; \ 74 for i in $(SUBDIRS_QTOPIA_PLUGIN); do pushd $$i; \
68 make -f Makefile$(PLATFORM) || exit 1; popd; \ 75 make -f Makefile$(PLATFORM) || exit 1; popd; \
69 done 76 done
70 77
71build_opie_plugin: build_microkde 78build_opie_plugin: build_microkde
72 ifdef BUILD_NO_OPIE_PLUGIN 79 ifdef BUILD_NO_OPIE_PLUGIN
73 @echo ---> opie plugin not build. 80 @echo ---> opie plugin not build.
74 else 81 else
75 for i in $(SUBDIRS_OPIE_PLUGIN); do pushd $$i; \ 82 for i in $(SUBDIRS_OPIE_PLUGIN); do pushd $$i; \
76 make -f Makefile$(PLATFORM) || exit 1; popd; \ 83 make -f Makefile$(PLATFORM) || exit 1; popd; \
77 done 84 done
78 endif 85 endif
79 86
80build_sharp_plugin: build_microkde 87build_sharp_plugin: build_microkde
81 ifdef BUILD_NO_SHARP_PLUGIN 88 ifdef BUILD_NO_SHARP_PLUGIN
82 @echo ---> ldap plugin not build. 89 @echo ---> ldap plugin not build.
83 else 90 else
84 for i in $(SUBDIRS_SHARP_PLUGIN); do pushd $$i; \ 91 for i in $(SUBDIRS_SHARP_PLUGIN); do pushd $$i; \
85 make -f Makefile$(PLATFORM) || exit 1; popd; \ 92 make -f Makefile$(PLATFORM) || exit 1; popd; \
86 done 93 done
87 endif 94 endif
88 95
89build_ldap_plugin: build_microkde 96build_ldap_plugin: build_microkde
90 ifdef BUILD_NO_LDAP_PLUGIN 97 ifdef BUILD_NO_LDAP_PLUGIN
91 @echo ---> ldap plugin not build. 98 @echo ---> ldap plugin not build.
92 else 99 else
93 for i in $(SUBDIRS_LDAP_PLUGIN); do pushd $$i; \ 100 for i in $(SUBDIRS_LDAP_PLUGIN); do pushd $$i; \
94 make -f Makefile$(PLATFORM) || exit 1; popd; \ 101 make -f Makefile$(PLATFORM) || exit 1; popd; \
95 done 102 done
96 endif 103 endif
97 104
98 105
99build_micromail: build_microkde 106build_micromail: build_microkde
100 ifdef BUILD_NO_MICROMAIL 107 ifdef BUILD_NO_MICROMAIL
101 @echo ---> micromail not build. 108 @echo ---> micromail not build.
102 else 109 else
103 for i in $(SUBDIRS_MICROMAIL); do pushd $$i; \ 110 for i in $(SUBDIRS_MICROMAIL); do pushd $$i; \
104 make -f Makefile$(PLATFORM) || exit 1; popd; \ 111 make -f Makefile$(PLATFORM) || exit 1; popd; \
105 done 112 done
106 endif 113 endif
107 114
115build_gammu: variable_test tmake
116 ifdef BUILD_NO_GAMMU
117 @echo ---> gammu not build.
118 else
119 for i in $(SUBDIRS_GAMMU); do pushd $$i; \
120 make -f Makefile$(PLATFORM) || exit 1; popd; \
121 done
122 endif
123
108 124
109variable_info: 125variable_info:
110 @echo -------------------------------------- 126 @echo --------------------------------------
111 @echo KDEPIM buildsystem, variableinfo... 127 @echo KDEPIM buildsystem, variableinfo...
112 @echo KDEPIMDIR=$(KDEPIMDIR) 128 @echo KDEPIMDIR=$(KDEPIMDIR)
113 @echo QTDIR=$(QTDIR) 129 @echo QTDIR=$(QTDIR)
114 @echo QPEDIR=$(QPEDIR) 130 @echo QPEDIR=$(QPEDIR)
115 @echo OPIEDIR=$(OPIEDIR) 131 @echo OPIEDIR=$(OPIEDIR)
116 @echo PLATFORM=$(PLATFORM) 132 @echo PLATFORM=$(PLATFORM)
117 @echo RELEASE_DEBUG=$(RELEASE_DEBUG) 133 @echo RELEASE_DEBUG=$(RELEASE_DEBUG)
118 @echo BUILD_NO_MICROMAIL=$(BUILD_NO_MICROMAIL) 134 @echo BUILD_NO_MICROMAIL=$(BUILD_NO_MICROMAIL)
119 @echo BUILD_NO_LDAP_PLUGIN=$(BUILD_NO_LDAP_PLUGIN) 135 @echo BUILD_NO_LDAP_PLUGIN=$(BUILD_NO_LDAP_PLUGIN)
120 @echo BUILD_NO_OPIE_PLUGIN=$(BUILD_NO_OPIE_PLUGIN) 136 @echo BUILD_NO_OPIE_PLUGIN=$(BUILD_NO_OPIE_PLUGIN)
121 @echo BUILD_NO_SHARP_PLUGIN=$(BUILD_NO_SHARP_PLUGIN) 137 @echo BUILD_NO_SHARP_PLUGIN=$(BUILD_NO_SHARP_PLUGIN)
122 ifndef BUILD_NO_SHARP_PLUGIN 138 ifndef BUILD_NO_SHARP_PLUGIN
123 @echo SHARPDTMSDK=$(SHARPDTMSDK) 139 @echo SHARPDTMSDK=$(SHARPDTMSDK)
124 endif 140 endif
141 @echo BUILD_NO_GAMMU=$(BUILD_NO_GAMMU)
125 @echo -------------------------------------- 142 @echo --------------------------------------
126 143
127variable_test: variable_info 144variable_test: variable_info
128 @echo KDEPIM buildsystem, variablecheck... 145 @echo KDEPIM buildsystem, variablecheck...
129 ifndef KDEPIMDIR 146 ifndef KDEPIMDIR
130 @echo KDEPIMDIR is not defined. 147 @echo KDEPIMDIR is not defined.
131 $(error KDEPIMDIR is not defined) 148 $(error KDEPIMDIR is not defined)
132 endif 149 endif
133 ifndef PLATFORM 150 ifndef PLATFORM
134 @echo PLATFORM is not defined. 151 @echo PLATFORM is not defined.
135 $(error PLATFORM is not defined) 152 $(error PLATFORM is not defined)
136 endif 153 endif
137 ifdef BUILD_NO_LDAP_PLUGIN 154 ifdef BUILD_NO_LDAP_PLUGIN
138 @echo LDAP PLUGIN will not be build, because BUILD_NO_LDAP_PLUGIN is set to $(BUILD_NO_LDAP_PLUGIN) 155 @echo LDAP PLUGIN will not be build, because BUILD_NO_LDAP_PLUGIN is set to $(BUILD_NO_LDAP_PLUGIN)
139 endif 156 endif
140 ifdef BUILD_NO_OPIE_PLUGIN 157 ifdef BUILD_NO_OPIE_PLUGIN
141 @echo OPIE PLUGIN will not be build, because BUILD_NO_OPIE_PLUGIN is set to $(BUILD_NO_OPIE_PLUGIN) 158 @echo OPIE PLUGIN will not be build, because BUILD_NO_OPIE_PLUGIN is set to $(BUILD_NO_OPIE_PLUGIN)
142 endif 159 endif
143 ifdef BUILD_NO_MICROMAIL 160 ifdef BUILD_NO_MICROMAIL
144 @echo MICROMAIL will not be build, because BUILD_NO_MICROMAIL is set to $(BUILD_NO_MICROMAIL) 161 @echo MICROMAIL will not be build, because BUILD_NO_MICROMAIL is set to $(BUILD_NO_MICROMAIL)
145 endif 162 endif
146 ifdef BUILD_NO_SHARP_PLUGIN 163 ifdef BUILD_NO_SHARP_PLUGIN
147 @echo SHARP PLUGIN will not be build, because BUILD_NO_SHARP_PLUGIN is set to $(BUILD_NO_SHARP_PLUGIN) 164 @echo SHARP PLUGIN will not be build, because BUILD_NO_SHARP_PLUGIN is set to $(BUILD_NO_SHARP_PLUGIN)
148 else 165 else
149 ifndef SHARPDTMSDK 166 ifndef SHARPDTMSDK
150 @echo SHARP PLUGIN can not be build, because SHARPDTMSDK is set to $(SHARPDTMSDK) 167 @echo SHARP PLUGIN can not be build, because SHARPDTMSDK is set to $(SHARPDTMSDK)
151 $(error SHARPDTMSDK is not defined) 168 $(error SHARPDTMSDK is not defined)
152 endif 169 endif
153 endif 170 endif
154 @echo -------------------------------------- 171 @echo --------------------------------------
155 172
156 173
157objects: 174objects:
158 for i in $(SUBDIRS); do mkdir -p $$i/obj/$(PLATFORM); done 175 for i in $(SUBDIRS); do mkdir -p $$i/obj/$(PLATFORM); done
159 for i in $(SUBDIRS); do mkdir -p $$i/moc/$(PLATFORM); done 176 for i in $(SUBDIRS); do mkdir -p $$i/moc/$(PLATFORM); done
160 mkdir -p libical/lib/$(PLATFORM) 177 mkdir -p libical/lib/$(PLATFORM)
161 178
162clean: 179clean:
163 rm -rf libical/lib/$(PLATFORM)/*; 180 rm -rf libical/lib/$(PLATFORM)/*;
164 for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\ 181 for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\
165 rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \ 182 rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \
166 done 183 done
167install: 184install:
168 cd bin/kdepim; make install 185 cd bin/kdepim; make install
169 cp db2file/db2file $(QPEDIR)/bin/db2file 186 cp db2file/db2file $(QPEDIR)/bin/db2file
170 cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop 187 cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop
171 cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop 188 cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop
172 cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kmicromail.desktop 189 cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kmicromail.desktop
173 190
174dist: 191dist:
175 @echo Dont forget to do "make install" before "make dist" 192 @echo Dont forget to do "make install" before "make dist"
176 rm -f *arm.ipk 193 rm -f *arm.ipk
177 rm -f *~ 194 rm -f *~
178 cd ..; tar czf kdepim.src.tar.gz --exclude=obj --exclude=moc kdepim 195 cd ..; tar czf kdepim.src.tar.gz --exclude=obj --exclude=moc kdepim
179 ./mkipks kmicrokdelibs.control 196 ./mkipks kmicrokdelibs.control
180 ./mkipks korganizer.control 197 ./mkipks korganizer.control
181 ./mkipks kaddressbook.control 198 ./mkipks kaddressbook.control
182 ifndef BUILD_NO_MICROMAIL 199 ifndef BUILD_NO_MICROMAIL
183 ./mkipks kopiemail.control 200 ./mkipks kopiemail.control
184 endif 201 endif
185 ./mkipks korganizer-alarm.control 202 ./mkipks korganizer-alarm.control
203 ifndef BUILD_NO_GAMMU
204 ./mkipks gammu.control
205 endif
186 206
187tmake: objects \ 207tmake: objects \
188 qtcompat/Makefile$(PLATFORM) \ 208 qtcompat/Makefile$(PLATFORM) \
189 microkde/Makefile$(PLATFORM) \ 209 microkde/Makefile$(PLATFORM) \
190 libkcal/Makefile$(PLATFORM) \ 210 libkcal/Makefile$(PLATFORM) \
191 libkdepim/Makefile$(PLATFORM) \ 211 libkdepim/Makefile$(PLATFORM) \
192 korganizer/Makefile$(PLATFORM) \ 212 korganizer/Makefile$(PLATFORM) \
193 kalarmd/Makefile$(PLATFORM) \ 213 kalarmd/Makefile$(PLATFORM) \
194 libical/src/libical/Makefile$(PLATFORM) \ 214 libical/src/libical/Makefile$(PLATFORM) \
195 libical/src/libicalss/Makefile$(PLATFORM) \ 215 libical/src/libicalss/Makefile$(PLATFORM) \
196 kabc/Makefile$(PLATFORM) \ 216 kabc/Makefile$(PLATFORM) \
197 kabc/formats/binary/Makefile$(PLATFORM) \ 217 kabc/formats/binary/Makefile$(PLATFORM) \
198 kabc/plugins/file/Makefile$(PLATFORM) \ 218 kabc/plugins/file/Makefile$(PLATFORM) \
199 kabc/plugins/dir/Makefile$(PLATFORM) \ 219 kabc/plugins/dir/Makefile$(PLATFORM) \
200 kabc/plugins/ldap/Makefile$(PLATFORM) \ 220 kabc/plugins/ldap/Makefile$(PLATFORM) \
201 kabc/plugins/opie/Makefile$(PLATFORM) \ 221 kabc/plugins/opie/Makefile$(PLATFORM) \
202 kabc/plugins/qtopia/Makefile$(PLATFORM) \ 222 kabc/plugins/qtopia/Makefile$(PLATFORM) \
203 kabc/plugins/sharpdtm/Makefile$(PLATFORM) \ 223 kabc/plugins/sharpdtm/Makefile$(PLATFORM) \
204 kaddressbook/Makefile$(PLATFORM) \ 224 kaddressbook/Makefile$(PLATFORM) \
205 kmicromail/Makefile$(PLATFORM) \ 225 kmicromail/Makefile$(PLATFORM) \
206 kmicromail/libetpan/Makefile$(PLATFORM) \ 226 kmicromail/libetpan/Makefile$(PLATFORM) \
207 kmicromail/libmailwrapper/Makefile$(PLATFORM) 227 kmicromail/libmailwrapper/Makefile$(PLATFORM) \
228 gammu/emb/common/Makefile$(PLATFORM) \
229 gammu/emb/gammu/Makefile$(PLATFORM) \
208 230
209 231
210 232
211 233
212qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro 234qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro
213 cd qtcompat; tmake "CONFIG+=$(RELEASE_DEBUG)" qtcompat.pro -o Makefile$(PLATFORM) 235 cd qtcompat; tmake "CONFIG+=$(RELEASE_DEBUG)" qtcompat.pro -o Makefile$(PLATFORM)
214 236
215microkde/Makefile$(PLATFORM): microkde/microkdeE.pro 237microkde/Makefile$(PLATFORM): microkde/microkdeE.pro
216 cd microkde; tmake "CONFIG+=$(RELEASE_DEBUG)" microkdeE.pro -o Makefile$(PLATFORM) 238 cd microkde; tmake "CONFIG+=$(RELEASE_DEBUG)" microkdeE.pro -o Makefile$(PLATFORM)
217 239
218libkcal/Makefile$(PLATFORM): libkcal/libkcalE.pro 240libkcal/Makefile$(PLATFORM): libkcal/libkcalE.pro
219 cd libkcal; tmake "CONFIG+=$(RELEASE_DEBUG)" libkcalE.pro -o Makefile$(PLATFORM) 241 cd libkcal; tmake "CONFIG+=$(RELEASE_DEBUG)" libkcalE.pro -o Makefile$(PLATFORM)
220 242
221 243
222libkdepim/Makefile$(PLATFORM): libkdepim/libkdepimE.pro 244libkdepim/Makefile$(PLATFORM): libkdepim/libkdepimE.pro
223 cd libkdepim; tmake "CONFIG+=$(RELEASE_DEBUG)" libkdepimE.pro -o Makefile$(PLATFORM) 245 cd libkdepim; tmake "CONFIG+=$(RELEASE_DEBUG)" libkdepimE.pro -o Makefile$(PLATFORM)
224 246
225kalarmd/Makefile$(PLATFORM): kalarmd/kalarmdE.pro 247kalarmd/Makefile$(PLATFORM): kalarmd/kalarmdE.pro
226 cd kalarmd; tmake "CONFIG+=$(RELEASE_DEBUG)" kalarmdE.pro -o Makefile$(PLATFORM) 248 cd kalarmd; tmake "CONFIG+=$(RELEASE_DEBUG)" kalarmdE.pro -o Makefile$(PLATFORM)
227 249
228korganizer/Makefile$(PLATFORM): korganizer/korganizerE.pro 250korganizer/Makefile$(PLATFORM): korganizer/korganizerE.pro
229 cd korganizer; tmake "CONFIG+=$(RELEASE_DEBUG)" korganizerE.pro -o Makefile$(PLATFORM) 251 cd korganizer; tmake "CONFIG+=$(RELEASE_DEBUG)" korganizerE.pro -o Makefile$(PLATFORM)
230 252
231libical/src/libical/Makefile$(PLATFORM): libical/src/libical/libicalE.pro 253libical/src/libical/Makefile$(PLATFORM): libical/src/libical/libicalE.pro
232 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)
233 255
234libical/src/libicalss/Makefile$(PLATFORM): libical/src/libicalss/libicalssE.pro 256libical/src/libicalss/Makefile$(PLATFORM): libical/src/libicalss/libicalssE.pro
235 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)
236 258
237kabc/Makefile$(PLATFORM): kabc/kabcE.pro 259kabc/Makefile$(PLATFORM): kabc/kabcE.pro
238 cd kabc; tmake "CONFIG+=$(RELEASE_DEBUG)" kabcE.pro -o Makefile$(PLATFORM) 260 cd kabc; tmake "CONFIG+=$(RELEASE_DEBUG)" kabcE.pro -o Makefile$(PLATFORM)
239 261
240kabc/formats/binary/Makefile$(PLATFORM): kabc/formats/binary/kabcformat_binaryE.pro 262kabc/formats/binary/Makefile$(PLATFORM): kabc/formats/binary/kabcformat_binaryE.pro
241 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)
242 264
243kabc/plugins/file/Makefile$(PLATFORM): kabc/plugins/file/fileE.pro 265kabc/plugins/file/Makefile$(PLATFORM): kabc/plugins/file/fileE.pro
244 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)
245 267
246kabc/plugins/dir/Makefile$(PLATFORM): kabc/plugins/dir/dirE.pro 268kabc/plugins/dir/Makefile$(PLATFORM): kabc/plugins/dir/dirE.pro
247 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)
248 270
249kabc/plugins/ldap/Makefile$(PLATFORM): kabc/plugins/ldap/ldapE.pro 271kabc/plugins/ldap/Makefile$(PLATFORM): kabc/plugins/ldap/ldapE.pro
250 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)
251 273
252kabc/plugins/opie/Makefile$(PLATFORM): kabc/plugins/opie/opieE.pro 274kabc/plugins/opie/Makefile$(PLATFORM): kabc/plugins/opie/opieE.pro
253 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)
254 276
255kabc/plugins/qtopia/Makefile$(PLATFORM): kabc/plugins/qtopia/qtopiaE.pro 277kabc/plugins/qtopia/Makefile$(PLATFORM): kabc/plugins/qtopia/qtopiaE.pro
256 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)
257 279
258kabc/plugins/sharpdtm/Makefile$(PLATFORM): kabc/plugins/sharpdtm/sharpdtmE.pro 280kabc/plugins/sharpdtm/Makefile$(PLATFORM): kabc/plugins/sharpdtm/sharpdtmE.pro
259 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)
260 282
261kaddressbook/Makefile$(PLATFORM): kaddressbook/kaddressbookE.pro 283kaddressbook/Makefile$(PLATFORM): kaddressbook/kaddressbookE.pro
262 cd kaddressbook; tmake "CONFIG+=$(RELEASE_DEBUG)" kaddressbookE.pro -o Makefile$(PLATFORM) 284 cd kaddressbook; tmake "CONFIG+=$(RELEASE_DEBUG)" kaddressbookE.pro -o Makefile$(PLATFORM)
263 285
264kmicromail/Makefile$(PLATFORM): kmicromail/kmicromailE.pro 286kmicromail/Makefile$(PLATFORM): kmicromail/kmicromailE.pro
265 cd kmicromail; tmake "CONFIG+=$(RELEASE_DEBUG)" kmicromailE.pro -o Makefile$(PLATFORM) 287 cd kmicromail; tmake "CONFIG+=$(RELEASE_DEBUG)" kmicromailE.pro -o Makefile$(PLATFORM)
266 288
267kmicromail/libetpan/Makefile$(PLATFORM): kmicromail/libetpan/libetpanE.pro 289kmicromail/libetpan/Makefile$(PLATFORM): kmicromail/libetpan/libetpanE.pro
268 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)
269 291
270kmicromail/libmailwrapper/Makefile$(PLATFORM): kmicromail/libmailwrapper/libmailwrapperE.pro 292kmicromail/libmailwrapper/Makefile$(PLATFORM): kmicromail/libmailwrapper/libmailwrapperE.pro
271 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
295gammu/emb/common/Makefile$(PLATFORM): gammu/emb/common/commonE.pro
296 cd gammu/emb/common; tmake "CONFIG+=$(RELEASE_DEBUG)" commonE.pro -o Makefile$(PLATFORM)
297
298gammu/emb/gammu/Makefile$(PLATFORM): gammu/emb/gammu/gammuE.pro
299 cd gammu/emb/gammu; tmake "CONFIG+=$(RELEASE_DEBUG)" gammuE.pro -o Makefile$(PLATFORM)
diff --git a/Makefile.Embedded b/Makefile.Embedded
index 9b55ecf..b7e0e33 100644
--- a/Makefile.Embedded
+++ b/Makefile.Embedded
@@ -1,271 +1,299 @@
1export KDEPIMDIR = $(shell pwd) 1export KDEPIMDIR = $(shell pwd)
2 2
3 3
4ifeq ($(PLATFORM) , zaurus) 4ifeq ($(PLATFORM) , zaurus)
5 BUILD_NO_LDAP_PLUGIN=1 5 BUILD_NO_LDAP_PLUGIN=1
6 BUILD_NO_GAMMU=1
6endif 7endif
7 8
8ifneq ($(PLATFORM) , zaurus) 9ifneq ($(PLATFORM) , zaurus)
9 BUILD_NO_SHARP_PLUGIN=1 10 BUILD_NO_SHARP_PLUGIN=1
11 BUILD_NO_GAMMU=1
10endif 12endif
11 13
12SUBDIRS_MICROKDE = \ 14SUBDIRS_MICROKDE = \
13 libical/src/libical \ 15 libical/src/libical \
14 libical/src/libicalss \ 16 libical/src/libicalss \
15 qtcompat \ 17 qtcompat \
16 microkde \ 18 microkde \
17 libkcal \ 19 libkcal \
18 libkdepim \ 20 libkdepim \
19 kabc \ 21 kabc \
20 kabc/formats/binary \ 22 kabc/formats/binary \
21 kabc/plugins/file \ 23 kabc/plugins/file \
22 kabc/plugins/dir \ 24 kabc/plugins/dir \
23 korganizer \ 25 korganizer \
24 kalarmd \ 26 kalarmd \
25 kaddressbook 27 kaddressbook
26 28
27SUBDIRS_QTOPIA_PLUGIN = \ 29SUBDIRS_QTOPIA_PLUGIN = \
28 kabc/plugins/qtopia 30 kabc/plugins/qtopia
29 31
30SUBDIRS_OPIE_PLUGIN = \ 32SUBDIRS_OPIE_PLUGIN = \
31 kabc/plugins/opie 33 kabc/plugins/opie
32 34
33SUBDIRS_SHARP_PLUGIN = \ 35SUBDIRS_SHARP_PLUGIN = \
34 kabc/plugins/sharpdtm 36 kabc/plugins/sharpdtm
35 37
36SUBDIRS_LDAP_PLUGIN = \ 38SUBDIRS_LDAP_PLUGIN = \
37 kabc/plugins/ldap 39 kabc/plugins/ldap
38 40
39SUBDIRS_MICROMAIL = \ 41SUBDIRS_MICROMAIL = \
40 kmicromail/libetpan \ 42 kmicromail/libetpan \
41 kmicromail/libmailwrapper \ 43 kmicromail/libmailwrapper \
42 kmicromail 44 kmicromail
43 45
46SUBDIRS_GAMMU = \
47 gammu/emb/common \
48 gammu/emb/gammu
49
44SUBDIRS = \ 50SUBDIRS = \
45 $(SUBDIRS_MICROKDE) \ 51 $(SUBDIRS_MICROKDE) \
46 $(SUBDIRS_QTOPIA_PLUGIN) \ 52 $(SUBDIRS_QTOPIA_PLUGIN) \
47 $(SUBDIRS_OPIE_PLUGIN) \ 53 $(SUBDIRS_OPIE_PLUGIN) \
48 $(SUBDIRS_SHARP_PLUGIN) \ 54 $(SUBDIRS_SHARP_PLUGIN) \
49 $(SUBDIRS_LDAP_PLUGIN) \ 55 $(SUBDIRS_LDAP_PLUGIN) \
50 $(SUBDIRS_MICROMAIL) 56 $(SUBDIRS_MICROMAIL) \
51 57 $(SUBDIRS_GAMMU)
52 58
53all: build_microkde \ 59all: build_microkde \
54 build_qtopia_plugin \ 60 build_qtopia_plugin \
55 build_opie_plugin \ 61 build_opie_plugin \
56 build_sharp_plugin \ 62 build_sharp_plugin \
57 build_ldap_plugin \ 63 build_ldap_plugin \
58 build_micromail 64 build_micromail \
65 build_gammu
59 66
60 67
61build_microkde: variable_test tmake 68build_microkde: variable_test tmake
62 for i in $(SUBDIRS_MICROKDE); do pushd $$i; \ 69 for i in $(SUBDIRS_MICROKDE); do pushd $$i; \
63 make -f Makefile$(PLATFORM) || exit 1; popd; \ 70 make -f Makefile$(PLATFORM) || exit 1; popd; \
64 done 71 done
65 72
66build_qtopia_plugin: build_microkde 73build_qtopia_plugin: build_microkde
67 for i in $(SUBDIRS_QTOPIA_PLUGIN); do pushd $$i; \ 74 for i in $(SUBDIRS_QTOPIA_PLUGIN); do pushd $$i; \
68 make -f Makefile$(PLATFORM) || exit 1; popd; \ 75 make -f Makefile$(PLATFORM) || exit 1; popd; \
69 done 76 done
70 77
71build_opie_plugin: build_microkde 78build_opie_plugin: build_microkde
72 ifdef BUILD_NO_OPIE_PLUGIN 79 ifdef BUILD_NO_OPIE_PLUGIN
73 @echo ---> opie plugin not build. 80 @echo ---> opie plugin not build.
74 else 81 else
75 for i in $(SUBDIRS_OPIE_PLUGIN); do pushd $$i; \ 82 for i in $(SUBDIRS_OPIE_PLUGIN); do pushd $$i; \
76 make -f Makefile$(PLATFORM) || exit 1; popd; \ 83 make -f Makefile$(PLATFORM) || exit 1; popd; \
77 done 84 done
78 endif 85 endif
79 86
80build_sharp_plugin: build_microkde 87build_sharp_plugin: build_microkde
81 ifdef BUILD_NO_SHARP_PLUGIN 88 ifdef BUILD_NO_SHARP_PLUGIN
82 @echo ---> ldap plugin not build. 89 @echo ---> ldap plugin not build.
83 else 90 else
84 for i in $(SUBDIRS_SHARP_PLUGIN); do pushd $$i; \ 91 for i in $(SUBDIRS_SHARP_PLUGIN); do pushd $$i; \
85 make -f Makefile$(PLATFORM) || exit 1; popd; \ 92 make -f Makefile$(PLATFORM) || exit 1; popd; \
86 done 93 done
87 endif 94 endif
88 95
89build_ldap_plugin: build_microkde 96build_ldap_plugin: build_microkde
90 ifdef BUILD_NO_LDAP_PLUGIN 97 ifdef BUILD_NO_LDAP_PLUGIN
91 @echo ---> ldap plugin not build. 98 @echo ---> ldap plugin not build.
92 else 99 else
93 for i in $(SUBDIRS_LDAP_PLUGIN); do pushd $$i; \ 100 for i in $(SUBDIRS_LDAP_PLUGIN); do pushd $$i; \
94 make -f Makefile$(PLATFORM) || exit 1; popd; \ 101 make -f Makefile$(PLATFORM) || exit 1; popd; \
95 done 102 done
96 endif 103 endif
97 104
98 105
99build_micromail: build_microkde 106build_micromail: build_microkde
100 ifdef BUILD_NO_MICROMAIL 107 ifdef BUILD_NO_MICROMAIL
101 @echo ---> micromail not build. 108 @echo ---> micromail not build.
102 else 109 else
103 for i in $(SUBDIRS_MICROMAIL); do pushd $$i; \ 110 for i in $(SUBDIRS_MICROMAIL); do pushd $$i; \
104 make -f Makefile$(PLATFORM) || exit 1; popd; \ 111 make -f Makefile$(PLATFORM) || exit 1; popd; \
105 done 112 done
106 endif 113 endif
107 114
115build_gammu: variable_test tmake
116 ifdef BUILD_NO_GAMMU
117 @echo ---> gammu not build.
118 else
119 for i in $(SUBDIRS_GAMMU); do pushd $$i; \
120 make -f Makefile$(PLATFORM) || exit 1; popd; \
121 done
122 endif
123
108 124
109variable_info: 125variable_info:
110 @echo -------------------------------------- 126 @echo --------------------------------------
111 @echo KDEPIM buildsystem, variableinfo... 127 @echo KDEPIM buildsystem, variableinfo...
112 @echo KDEPIMDIR=$(KDEPIMDIR) 128 @echo KDEPIMDIR=$(KDEPIMDIR)
113 @echo QTDIR=$(QTDIR) 129 @echo QTDIR=$(QTDIR)
114 @echo QPEDIR=$(QPEDIR) 130 @echo QPEDIR=$(QPEDIR)
115 @echo OPIEDIR=$(OPIEDIR) 131 @echo OPIEDIR=$(OPIEDIR)
116 @echo PLATFORM=$(PLATFORM) 132 @echo PLATFORM=$(PLATFORM)
117 @echo RELEASE_DEBUG=$(RELEASE_DEBUG) 133 @echo RELEASE_DEBUG=$(RELEASE_DEBUG)
118 @echo BUILD_NO_MICROMAIL=$(BUILD_NO_MICROMAIL) 134 @echo BUILD_NO_MICROMAIL=$(BUILD_NO_MICROMAIL)
119 @echo BUILD_NO_LDAP_PLUGIN=$(BUILD_NO_LDAP_PLUGIN) 135 @echo BUILD_NO_LDAP_PLUGIN=$(BUILD_NO_LDAP_PLUGIN)
120 @echo BUILD_NO_OPIE_PLUGIN=$(BUILD_NO_OPIE_PLUGIN) 136 @echo BUILD_NO_OPIE_PLUGIN=$(BUILD_NO_OPIE_PLUGIN)
121 @echo BUILD_NO_SHARP_PLUGIN=$(BUILD_NO_SHARP_PLUGIN) 137 @echo BUILD_NO_SHARP_PLUGIN=$(BUILD_NO_SHARP_PLUGIN)
122 ifndef BUILD_NO_SHARP_PLUGIN 138 ifndef BUILD_NO_SHARP_PLUGIN
123 @echo SHARPDTMSDK=$(SHARPDTMSDK) 139 @echo SHARPDTMSDK=$(SHARPDTMSDK)
124 endif 140 endif
141 @echo BUILD_NO_GAMMU=$(BUILD_NO_GAMMU)
125 @echo -------------------------------------- 142 @echo --------------------------------------
126 143
127variable_test: variable_info 144variable_test: variable_info
128 @echo KDEPIM buildsystem, variablecheck... 145 @echo KDEPIM buildsystem, variablecheck...
129 ifndef KDEPIMDIR 146 ifndef KDEPIMDIR
130 @echo KDEPIMDIR is not defined. 147 @echo KDEPIMDIR is not defined.
131 $(error KDEPIMDIR is not defined) 148 $(error KDEPIMDIR is not defined)
132 endif 149 endif
133 ifndef PLATFORM 150 ifndef PLATFORM
134 @echo PLATFORM is not defined. 151 @echo PLATFORM is not defined.
135 $(error PLATFORM is not defined) 152 $(error PLATFORM is not defined)
136 endif 153 endif
137 ifdef BUILD_NO_LDAP_PLUGIN 154 ifdef BUILD_NO_LDAP_PLUGIN
138 @echo LDAP PLUGIN will not be build, because BUILD_NO_LDAP_PLUGIN is set to $(BUILD_NO_LDAP_PLUGIN) 155 @echo LDAP PLUGIN will not be build, because BUILD_NO_LDAP_PLUGIN is set to $(BUILD_NO_LDAP_PLUGIN)
139 endif 156 endif
140 ifdef BUILD_NO_OPIE_PLUGIN 157 ifdef BUILD_NO_OPIE_PLUGIN
141 @echo OPIE PLUGIN will not be build, because BUILD_NO_OPIE_PLUGIN is set to $(BUILD_NO_OPIE_PLUGIN) 158 @echo OPIE PLUGIN will not be build, because BUILD_NO_OPIE_PLUGIN is set to $(BUILD_NO_OPIE_PLUGIN)
142 endif 159 endif
143 ifdef BUILD_NO_MICROMAIL 160 ifdef BUILD_NO_MICROMAIL
144 @echo MICROMAIL will not be build, because BUILD_NO_MICROMAIL is set to $(BUILD_NO_MICROMAIL) 161 @echo MICROMAIL will not be build, because BUILD_NO_MICROMAIL is set to $(BUILD_NO_MICROMAIL)
145 endif 162 endif
146 ifdef BUILD_NO_SHARP_PLUGIN 163 ifdef BUILD_NO_SHARP_PLUGIN
147 @echo SHARP PLUGIN will not be build, because BUILD_NO_SHARP_PLUGIN is set to $(BUILD_NO_SHARP_PLUGIN) 164 @echo SHARP PLUGIN will not be build, because BUILD_NO_SHARP_PLUGIN is set to $(BUILD_NO_SHARP_PLUGIN)
148 else 165 else
149 ifndef SHARPDTMSDK 166 ifndef SHARPDTMSDK
150 @echo SHARP PLUGIN can not be build, because SHARPDTMSDK is set to $(SHARPDTMSDK) 167 @echo SHARP PLUGIN can not be build, because SHARPDTMSDK is set to $(SHARPDTMSDK)
151 $(error SHARPDTMSDK is not defined) 168 $(error SHARPDTMSDK is not defined)
152 endif 169 endif
153 endif 170 endif
154 @echo -------------------------------------- 171 @echo --------------------------------------
155 172
156 173
157objects: 174objects:
158 for i in $(SUBDIRS); do mkdir -p $$i/obj/$(PLATFORM); done 175 for i in $(SUBDIRS); do mkdir -p $$i/obj/$(PLATFORM); done
159 for i in $(SUBDIRS); do mkdir -p $$i/moc/$(PLATFORM); done 176 for i in $(SUBDIRS); do mkdir -p $$i/moc/$(PLATFORM); done
160 mkdir -p libical/lib/$(PLATFORM) 177 mkdir -p libical/lib/$(PLATFORM)
161 178
162clean: 179clean:
163 rm -rf libical/lib/$(PLATFORM)/*; 180 rm -rf libical/lib/$(PLATFORM)/*;
164 for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\ 181 for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\
165 rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \ 182 rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \
166 done 183 done
167install: 184install:
168 cd bin/kdepim; make install 185 cd bin/kdepim; make install
169 cp db2file/db2file $(QPEDIR)/bin/db2file 186 cp db2file/db2file $(QPEDIR)/bin/db2file
170 cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop 187 cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop
171 cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop 188 cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop
172 cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kmicromail.desktop 189 cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kmicromail.desktop
173 190
174dist: 191dist:
175 @echo Dont forget to do "make install" before "make dist" 192 @echo Dont forget to do "make install" before "make dist"
176 rm -f *arm.ipk 193 rm -f *arm.ipk
177 rm -f *~ 194 rm -f *~
178 cd ..; tar czf kdepim.src.tar.gz --exclude=obj --exclude=moc kdepim 195 cd ..; tar czf kdepim.src.tar.gz --exclude=obj --exclude=moc kdepim
179 ./mkipks kmicrokdelibs.control 196 ./mkipks kmicrokdelibs.control
180 ./mkipks korganizer.control 197 ./mkipks korganizer.control
181 ./mkipks kaddressbook.control 198 ./mkipks kaddressbook.control
182 ifndef BUILD_NO_MICROMAIL 199 ifndef BUILD_NO_MICROMAIL
183 ./mkipks kopiemail.control 200 ./mkipks kopiemail.control
184 endif 201 endif
185 ./mkipks korganizer-alarm.control 202 ./mkipks korganizer-alarm.control
203 ifndef BUILD_NO_GAMMU
204 ./mkipks gammu.control
205 endif
186 206
187tmake: objects \ 207tmake: objects \
188 qtcompat/Makefile$(PLATFORM) \ 208 qtcompat/Makefile$(PLATFORM) \
189 microkde/Makefile$(PLATFORM) \ 209 microkde/Makefile$(PLATFORM) \
190 libkcal/Makefile$(PLATFORM) \ 210 libkcal/Makefile$(PLATFORM) \
191 libkdepim/Makefile$(PLATFORM) \ 211 libkdepim/Makefile$(PLATFORM) \
192 korganizer/Makefile$(PLATFORM) \ 212 korganizer/Makefile$(PLATFORM) \
193 kalarmd/Makefile$(PLATFORM) \ 213 kalarmd/Makefile$(PLATFORM) \
194 libical/src/libical/Makefile$(PLATFORM) \ 214 libical/src/libical/Makefile$(PLATFORM) \
195 libical/src/libicalss/Makefile$(PLATFORM) \ 215 libical/src/libicalss/Makefile$(PLATFORM) \
196 kabc/Makefile$(PLATFORM) \ 216 kabc/Makefile$(PLATFORM) \
197 kabc/formats/binary/Makefile$(PLATFORM) \ 217 kabc/formats/binary/Makefile$(PLATFORM) \
198 kabc/plugins/file/Makefile$(PLATFORM) \ 218 kabc/plugins/file/Makefile$(PLATFORM) \
199 kabc/plugins/dir/Makefile$(PLATFORM) \ 219 kabc/plugins/dir/Makefile$(PLATFORM) \
200 kabc/plugins/ldap/Makefile$(PLATFORM) \ 220 kabc/plugins/ldap/Makefile$(PLATFORM) \
201 kabc/plugins/opie/Makefile$(PLATFORM) \ 221 kabc/plugins/opie/Makefile$(PLATFORM) \
202 kabc/plugins/qtopia/Makefile$(PLATFORM) \ 222 kabc/plugins/qtopia/Makefile$(PLATFORM) \
203 kabc/plugins/sharpdtm/Makefile$(PLATFORM) \ 223 kabc/plugins/sharpdtm/Makefile$(PLATFORM) \
204 kaddressbook/Makefile$(PLATFORM) \ 224 kaddressbook/Makefile$(PLATFORM) \
205 kmicromail/Makefile$(PLATFORM) \ 225 kmicromail/Makefile$(PLATFORM) \
206 kmicromail/libetpan/Makefile$(PLATFORM) \ 226 kmicromail/libetpan/Makefile$(PLATFORM) \
207 kmicromail/libmailwrapper/Makefile$(PLATFORM) 227 kmicromail/libmailwrapper/Makefile$(PLATFORM) \
228 gammu/emb/common/Makefile$(PLATFORM) \
229 gammu/emb/gammu/Makefile$(PLATFORM) \
208 230
209 231
210 232
211 233
212qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro 234qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro
213 cd qtcompat; tmake "CONFIG+=$(RELEASE_DEBUG)" qtcompat.pro -o Makefile$(PLATFORM) 235 cd qtcompat; tmake "CONFIG+=$(RELEASE_DEBUG)" qtcompat.pro -o Makefile$(PLATFORM)
214 236
215microkde/Makefile$(PLATFORM): microkde/microkdeE.pro 237microkde/Makefile$(PLATFORM): microkde/microkdeE.pro
216 cd microkde; tmake "CONFIG+=$(RELEASE_DEBUG)" microkdeE.pro -o Makefile$(PLATFORM) 238 cd microkde; tmake "CONFIG+=$(RELEASE_DEBUG)" microkdeE.pro -o Makefile$(PLATFORM)
217 239
218libkcal/Makefile$(PLATFORM): libkcal/libkcalE.pro 240libkcal/Makefile$(PLATFORM): libkcal/libkcalE.pro
219 cd libkcal; tmake "CONFIG+=$(RELEASE_DEBUG)" libkcalE.pro -o Makefile$(PLATFORM) 241 cd libkcal; tmake "CONFIG+=$(RELEASE_DEBUG)" libkcalE.pro -o Makefile$(PLATFORM)
220 242
221 243
222libkdepim/Makefile$(PLATFORM): libkdepim/libkdepimE.pro 244libkdepim/Makefile$(PLATFORM): libkdepim/libkdepimE.pro
223 cd libkdepim; tmake "CONFIG+=$(RELEASE_DEBUG)" libkdepimE.pro -o Makefile$(PLATFORM) 245 cd libkdepim; tmake "CONFIG+=$(RELEASE_DEBUG)" libkdepimE.pro -o Makefile$(PLATFORM)
224 246
225kalarmd/Makefile$(PLATFORM): kalarmd/kalarmdE.pro 247kalarmd/Makefile$(PLATFORM): kalarmd/kalarmdE.pro
226 cd kalarmd; tmake "CONFIG+=$(RELEASE_DEBUG)" kalarmdE.pro -o Makefile$(PLATFORM) 248 cd kalarmd; tmake "CONFIG+=$(RELEASE_DEBUG)" kalarmdE.pro -o Makefile$(PLATFORM)
227 249
228korganizer/Makefile$(PLATFORM): korganizer/korganizerE.pro 250korganizer/Makefile$(PLATFORM): korganizer/korganizerE.pro
229 cd korganizer; tmake "CONFIG+=$(RELEASE_DEBUG)" korganizerE.pro -o Makefile$(PLATFORM) 251 cd korganizer; tmake "CONFIG+=$(RELEASE_DEBUG)" korganizerE.pro -o Makefile$(PLATFORM)
230 252
231libical/src/libical/Makefile$(PLATFORM): libical/src/libical/libicalE.pro 253libical/src/libical/Makefile$(PLATFORM): libical/src/libical/libicalE.pro
232 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)
233 255
234libical/src/libicalss/Makefile$(PLATFORM): libical/src/libicalss/libicalssE.pro 256libical/src/libicalss/Makefile$(PLATFORM): libical/src/libicalss/libicalssE.pro
235 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)
236 258
237kabc/Makefile$(PLATFORM): kabc/kabcE.pro 259kabc/Makefile$(PLATFORM): kabc/kabcE.pro
238 cd kabc; tmake "CONFIG+=$(RELEASE_DEBUG)" kabcE.pro -o Makefile$(PLATFORM) 260 cd kabc; tmake "CONFIG+=$(RELEASE_DEBUG)" kabcE.pro -o Makefile$(PLATFORM)
239 261
240kabc/formats/binary/Makefile$(PLATFORM): kabc/formats/binary/kabcformat_binaryE.pro 262kabc/formats/binary/Makefile$(PLATFORM): kabc/formats/binary/kabcformat_binaryE.pro
241 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)
242 264
243kabc/plugins/file/Makefile$(PLATFORM): kabc/plugins/file/fileE.pro 265kabc/plugins/file/Makefile$(PLATFORM): kabc/plugins/file/fileE.pro
244 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)
245 267
246kabc/plugins/dir/Makefile$(PLATFORM): kabc/plugins/dir/dirE.pro 268kabc/plugins/dir/Makefile$(PLATFORM): kabc/plugins/dir/dirE.pro
247 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)
248 270
249kabc/plugins/ldap/Makefile$(PLATFORM): kabc/plugins/ldap/ldapE.pro 271kabc/plugins/ldap/Makefile$(PLATFORM): kabc/plugins/ldap/ldapE.pro
250 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)
251 273
252kabc/plugins/opie/Makefile$(PLATFORM): kabc/plugins/opie/opieE.pro 274kabc/plugins/opie/Makefile$(PLATFORM): kabc/plugins/opie/opieE.pro
253 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)
254 276
255kabc/plugins/qtopia/Makefile$(PLATFORM): kabc/plugins/qtopia/qtopiaE.pro 277kabc/plugins/qtopia/Makefile$(PLATFORM): kabc/plugins/qtopia/qtopiaE.pro
256 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)
257 279
258kabc/plugins/sharpdtm/Makefile$(PLATFORM): kabc/plugins/sharpdtm/sharpdtmE.pro 280kabc/plugins/sharpdtm/Makefile$(PLATFORM): kabc/plugins/sharpdtm/sharpdtmE.pro
259 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)
260 282
261kaddressbook/Makefile$(PLATFORM): kaddressbook/kaddressbookE.pro 283kaddressbook/Makefile$(PLATFORM): kaddressbook/kaddressbookE.pro
262 cd kaddressbook; tmake "CONFIG+=$(RELEASE_DEBUG)" kaddressbookE.pro -o Makefile$(PLATFORM) 284 cd kaddressbook; tmake "CONFIG+=$(RELEASE_DEBUG)" kaddressbookE.pro -o Makefile$(PLATFORM)
263 285
264kmicromail/Makefile$(PLATFORM): kmicromail/kmicromailE.pro 286kmicromail/Makefile$(PLATFORM): kmicromail/kmicromailE.pro
265 cd kmicromail; tmake "CONFIG+=$(RELEASE_DEBUG)" kmicromailE.pro -o Makefile$(PLATFORM) 287 cd kmicromail; tmake "CONFIG+=$(RELEASE_DEBUG)" kmicromailE.pro -o Makefile$(PLATFORM)
266 288
267kmicromail/libetpan/Makefile$(PLATFORM): kmicromail/libetpan/libetpanE.pro 289kmicromail/libetpan/Makefile$(PLATFORM): kmicromail/libetpan/libetpanE.pro
268 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)
269 291
270kmicromail/libmailwrapper/Makefile$(PLATFORM): kmicromail/libmailwrapper/libmailwrapperE.pro 292kmicromail/libmailwrapper/Makefile$(PLATFORM): kmicromail/libmailwrapper/libmailwrapperE.pro
271 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
295gammu/emb/common/Makefile$(PLATFORM): gammu/emb/common/commonE.pro
296 cd gammu/emb/common; tmake "CONFIG+=$(RELEASE_DEBUG)" commonE.pro -o Makefile$(PLATFORM)
297
298gammu/emb/gammu/Makefile$(PLATFORM): gammu/emb/gammu/gammuE.pro
299 cd gammu/emb/gammu; tmake "CONFIG+=$(RELEASE_DEBUG)" gammuE.pro -o Makefile$(PLATFORM)
diff --git a/gammu.control b/gammu.control
new file mode 100644
index 0000000..db52c80
--- a/dev/null
+++ b/gammu.control
@@ -0,0 +1,11 @@
1Files: bin/kammu lib/libkammu*
2
3Priority: optional
4Section: qpe/pim
5Maintainer: Lutz Rogowski <lutz@pi-sync.net>
6Architecture: arm
7Version: 1.9.4
8License: GPL
9Depends:
10Description: Special version of gammu / libgammu
11 for Zaurus PDA and microkde
diff --git a/gammu/emb/common/commonE.pro b/gammu/emb/common/commonE.pro
index 33c0224..a36947b 100644
--- a/gammu/emb/common/commonE.pro
+++ b/gammu/emb/common/commonE.pro
@@ -112,69 +112,69 @@ HEADERS += config.h \
112 phone/nokia/dct3/n6110.h \ 112 phone/nokia/dct3/n6110.h \
113 phone/nokia/dct3/n7110.h \ 113 phone/nokia/dct3/n7110.h \
114 phone/nokia/dct3/n9210.h \ 114 phone/nokia/dct3/n9210.h \
115 phone/nokia/dct4/dct4func.h \ 115 phone/nokia/dct4/dct4func.h \
116 phone/nokia/dct4/n3320.h \ 116 phone/nokia/dct4/n3320.h \
117 phone/nokia/dct4/n3650.h \ 117 phone/nokia/dct4/n3650.h \
118 phone/nokia/dct4/n6510.h 118 phone/nokia/dct4/n6510.h
119SOURCES +=gsmcomon.c \ 119SOURCES +=gsmcomon.c \
120gsmstate.c \ 120gsmstate.c \
121misc/misc.c \ 121misc/misc.c \
122misc/cfg.c \ 122misc/cfg.c \
123misc/coding/coding.c \ 123misc/coding/coding.c \
124misc/coding/md5.c \ 124misc/coding/md5.c \
125service/sms/gsmsms.c \ 125service/sms/gsmsms.c \
126service/sms/gsmems.c \ 126service/sms/gsmems.c \
127service/sms/gsmmulti.c \ 127service/sms/gsmmulti.c \
128service/gsmcal.c \ 128service/gsmcal.c \
129service/gsmdata.c \ 129service/gsmdata.c \
130service/gsmpbk.c \ 130service/gsmpbk.c \
131service/gsmring.c \ 131service/gsmring.c \
132service/gsmlogo.c \ 132service/gsmlogo.c \
133service/gsmmisc.c \ 133service/gsmmisc.c \
134service/gsmnet.c \ 134service/gsmnet.c \
135service/backup/gsmback.c \ 135service/backup/gsmback.c \
136service/backup/backldif.c \ 136service/backup/backldif.c \
137service/backup/backlmb.c \ 137service/backup/backlmb.c \
138service/backup/backtext.c \ 138service/backup/backtext.c \
139service/backup/backvcs.c \ 139service/backup/backvcs.c \
140service/backup/backvcf.c \ 140service/backup/backvcf.c \
141service/backup/backics.c \ 141service/backup/backics.c \
142device/bluetoth/affix.c \ 142device/bluetoth/affix.c \
143device/bluetoth/bluez.c \ 143device/bluetoth/bluez.c \
144device/bluetoth/blue_w32.c \ 144device/bluetoth/blue_w32.c \
145device/bluetoth/bluetoth.c \ 145device/bluetoth/bluetoth.c \
146device/serial/ser_unx.c \ 146device/serial/ser_unx.c \
147device/serial/ser_djg.c \ 147device/serial/ser_djg.c \
148device/irda/irda.c \ 148device/irda/irda.c \
149device/devfunc.c \ 149device/devfunc.c \
150protocol/at/at.c \ 150protocol/at/at.c \
151protocol/alcatel/alcabus.c \ 151protocol/alcatel/alcabus.c \
152protocol/nokia/mbus2.c \ 152protocol/nokia/mbus2.c \
153protocol/nokia/fbus2.c \ 153protocol/nokia/fbus2.c \
154protocol/nokia/phonet.c \ 154protocol/nokia/phonet.c \
155protocol/obex/obex.c \ 155protocol/obex/obex.c \
156protocol/symbian/mrouter.c \ 156protocol/symbian/mrouter.c \
157phone/pfunc.c \ 157phone/pfunc.c \
158phone/at/atgen.c \ 158phone/at/atgen.c \
159phone/at/siemens.c \ 159phone/at/siemens.c \
160phone/at/sonyeric.c \ 160phone/at/sonyeric.c \
161phone/alcatel/alcatel.c \ 161phone/alcatel/alcatel.c \
162phone/nokia/dct3/n6110.c \ 162phone/nokia/dct3/n6110.c \
163phone/nokia/dct3/n7110.c \ 163phone/nokia/dct3/n7110.c \
164phone/nokia/dct3/n9210.c \ 164phone/nokia/dct3/n9210.c \
165phone/nokia/dct3/dct3func.c \ 165phone/nokia/dct3/dct3func.c \
166phone/nokia/dct4/n3320.c \ 166phone/nokia/dct4/n3320.c \
167phone/nokia/dct4/n3650.c \ 167phone/nokia/dct4/n3650.c \
168phone/nokia/dct4/n6510.c \ 168phone/nokia/dct4/n6510.c \
169phone/nokia/dct4/dct4func.c \ 169phone/nokia/dct4/dct4func.c \
170phone/nokia/nauto.c \ 170phone/nokia/nauto.c \
171phone/nokia/nfunc.c \ 171phone/nokia/nfunc.c \
172phone/nokia/nfuncold.c \ 172phone/nokia/nfuncold.c \
173phone/obex/obexgen.c \ 173phone/obex/obexgen.c \
174phone/symbian/mroutgen.c 174phone/symbian/mroutgen.c
175 175
176TARGET = microgammu 176TARGET = kammu
177DESTDIR = $(QPEDIR)/lib 177DESTDIR = $(QPEDIR)/lib
178OBJECTS_DIR = obj/$(PLATFORM) 178OBJECTS_DIR = obj/$(PLATFORM)
179MOC_DIR = moc/$(PLATFORM) 179MOC_DIR = moc/$(PLATFORM)
180 CONFIG = warn_off release console 180 CONFIG = warn_off release console
diff --git a/gammu/emb/gammu/gammuE.pro b/gammu/emb/gammu/gammuE.pro
index 5010d8c..c685bf8 100644
--- a/gammu/emb/gammu/gammuE.pro
+++ b/gammu/emb/gammu/gammuE.pro
@@ -1,57 +1,57 @@
1###################################################################### 1######################################################################
2# Automatically generated by qmake (1.07a) Fri Jul 30 22:22:02 2004 2# Automatically generated by qmake (1.07a) Fri Jul 30 22:22:02 2004
3###################################################################### 3######################################################################
4 4
5TEMPLATE = app 5TEMPLATE = app
6DEPENDPATH += msvc06.mak \ 6DEPENDPATH += msvc06.mak \
7 msvc2003.mak \ 7 msvc2003.mak \
8 smsd \ 8 smsd \
9 depend/nokia \ 9 depend/nokia \
10 depend/siemens \ 10 depend/siemens \
11 depend/nokia/dct3trac 11 depend/nokia/dct3trac
12INCLUDEPATH += . smsd depend/nokia depend/nokia/dct3trac depend/siemens 12INCLUDEPATH += . smsd depend/nokia depend/nokia/dct3trac depend/siemens
13# console 13# console
14# Input 14# Input
15 15
16HEADERS += gammu.h \ 16HEADERS += gammu.h \
17 sniff.h \ 17 sniff.h \
18 smsd/s_files.h \ 18 smsd/s_files.h \
19 smsd/s_mysql.h \ 19 smsd/s_mysql.h \
20 smsd/smsdcore.h \ 20 smsd/smsdcore.h \
21 depend/nokia/dct3.h \ 21 depend/nokia/dct3.h \
22 depend/nokia/dct4.h \ 22 depend/nokia/dct4.h \
23 depend/siemens/chiffre.h \ 23 depend/siemens/chiffre.h \
24 depend/siemens/dsiemens.h \ 24 depend/siemens/dsiemens.h \
25 depend/nokia/dct3trac/type-cc.h \ 25 depend/nokia/dct3trac/type-cc.h \
26 depend/nokia/dct3trac/type-mm.h \ 26 depend/nokia/dct3trac/type-mm.h \
27 depend/nokia/dct3trac/type-rr.h \ 27 depend/nokia/dct3trac/type-rr.h \
28 depend/nokia/dct3trac/type-sms.h \ 28 depend/nokia/dct3trac/type-sms.h \
29 depend/nokia/dct3trac/type-ss.h \ 29 depend/nokia/dct3trac/type-ss.h \
30 depend/nokia/dct3trac/wmx-gsm.h \ 30 depend/nokia/dct3trac/wmx-gsm.h \
31 depend/nokia/dct3trac/wmx-list.h \ 31 depend/nokia/dct3trac/wmx-list.h \
32 depend/nokia/dct3trac/wmx-sim.h \ 32 depend/nokia/dct3trac/wmx-sim.h \
33 depend/nokia/dct3trac/wmx-util.h \ 33 depend/nokia/dct3trac/wmx-util.h \
34 depend/nokia/dct3trac/wmx.h 34 depend/nokia/dct3trac/wmx.h
35SOURCES += gammu.c \ 35SOURCES += gammu.c \
36 sniff.c \ 36 sniff.c \
37 smsd/s_files.c \ 37 smsd/s_files.c \
38 smsd/smsdcore.c \ 38 smsd/smsdcore.c \
39 depend/nokia/dct3.c \ 39 depend/nokia/dct3.c \
40 depend/nokia/dct4.c \ 40 depend/nokia/dct4.c \
41 depend/siemens/chiffre.c \ 41 depend/siemens/chiffre.c \
42 depend/siemens/dsiemens.c \ 42 depend/siemens/dsiemens.c \
43 depend/nokia/dct3trac/wmx-gsm.c \ 43 depend/nokia/dct3trac/wmx-gsm.c \
44 depend/nokia/dct3trac/wmx-list.c \ 44 depend/nokia/dct3trac/wmx-list.c \
45 depend/nokia/dct3trac/wmx-sim.c \ 45 depend/nokia/dct3trac/wmx-sim.c \
46 depend/nokia/dct3trac/wmx-util.c \ 46 depend/nokia/dct3trac/wmx-util.c \
47 depend/nokia/dct3trac/wmx.c 47 depend/nokia/dct3trac/wmx.c
48 48
49LIBS += -L$(QPEDIR)/lib 49LIBS += -L$(QPEDIR)/lib
50LIBS += -lmicrogammu 50LIBS += -lkammu
51LIBS += -lbluetooth 51LIBS += -lbluetooth
52LIBS += -lsdp 52LIBS += -lsdp
53LIBS += -lpthread 53LIBS += -lpthread
54 CONFIG = warn_off release console 54 CONFIG = warn_off release console
55DESTDIR=$(QPEDIR)/bin 55DESTDIR=$(QPEDIR)/bin
56OBJECTS_DIR = obj/$(PLATFORM) 56OBJECTS_DIR = obj/$(PLATFORM)
57TARGET = kammu \ No newline at end of file 57TARGET = kammu \ No newline at end of file