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 /Makefile.Embedded | |
parent | 19efdda974eaa0def3c681656b63850f2df2ec77 (diff) | |
download | kdepimpi-cec54f6e21264341191e4f94f9dd7bd19b2eea8d.zip kdepimpi-cec54f6e21264341191e4f94f9dd7bd19b2eea8d.tar.gz kdepimpi-cec54f6e21264341191e4f94f9dd7bd19b2eea8d.tar.bz2 |
better tar in Makefile
-rw-r--r-- | Makefile.Embedded | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.Embedded b/Makefile.Embedded index ab9e17c..41976f3 100644 --- a/Makefile.Embedded +++ b/Makefile.Embedded | |||
@@ -130,129 +130,129 @@ variable_info: | |||
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 | ||