author | zautrix <zautrix> | 2004-08-01 11:37:35 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-08-01 11:37:35 (UTC) |
commit | e954cc1e29b129982e4d07c4f490d7e881597374 (patch) (unidiff) | |
tree | 29e7bdcf20952b813637083596102f7e7b080567 /Makefile | |
parent | 8a394f316feb828954d69480553f85c9c0f4b353 (diff) | |
download | kdepimpi-e954cc1e29b129982e4d07c4f490d7e881597374.zip kdepimpi-e954cc1e29b129982e4d07c4f490d7e881597374.tar.gz kdepimpi-e954cc1e29b129982e4d07c4f490d7e881597374.tar.bz2 |
Made sync code more readable by using defines
-rw-r--r-- | Makefile | 30 |
1 files changed, 5 insertions, 25 deletions
@@ -21,29 +21,23 @@ SUBDIRS_MICROKDE = \ | |||
21 | kabc/formats/binary \ | 21 | kabc/formats/binary \ |
22 | kabc/plugins/file \ | 22 | kabc/plugins/file \ |
23 | kabc/plugins/dir \ | 23 | kabc/plugins/dir \ |
24 | korganizer \ | 24 | korganizer \ |
25 | kalarmd \ | 25 | kalarmd \ |
26 | kaddressbook | 26 | kaddressbook |
27 | 27 | ||
28 | SUBDIRS_QTOPIA_PLUGIN = \ | 28 | SUBDIRS_QTOPIA_PLUGIN = \ |
29 | kabc/converter/qtopia \ | 29 | kabc/plugins/qtopia |
30 | kabc/plugins/qtopia \ | ||
31 | kaddressbook/xxport/qtopia | ||
32 | 30 | ||
33 | SUBDIRS_OPIE_PLUGIN = \ | 31 | SUBDIRS_OPIE_PLUGIN = \ |
34 | kabc/converter/opie \ | 32 | kabc/plugins/opie |
35 | kabc/plugins/opie \ | ||
36 | kaddressbook/xxport/opie | ||
37 | 33 | ||
38 | SUBDIRS_SHARP_PLUGIN = \ | 34 | SUBDIRS_SHARP_PLUGIN = \ |
39 | kabc/converter/sharpdtm \ | 35 | kabc/plugins/sharpdtm |
40 | kabc/plugins/sharpdtm \ | ||
41 | kaddressbook/xxport/sharpdtm | ||
42 | 36 | ||
43 | SUBDIRS_LDAP_PLUGIN = \ | 37 | SUBDIRS_LDAP_PLUGIN = \ |
44 | kabc/plugins/ldap | 38 | kabc/plugins/ldap |
45 | 39 | ||
46 | SUBDIRS_MICROMAIL = \ | 40 | SUBDIRS_MICROMAIL = \ |
47 | kmicromail/libetpan \ | 41 | kmicromail/libetpan \ |
48 | kmicromail/libmailwrapper \ | 42 | kmicromail/libmailwrapper \ |
49 | kmicromail | 43 | kmicromail |
@@ -143,20 +137,20 @@ variable_test: variable_info | |||
143 | @echo OPIE PLUGIN will not be build, because BUILD_NO_OPIE_PLUGIN is set to $(BUILD_NO_OPIE_PLUGIN) | 137 | @echo OPIE PLUGIN will not be build, because BUILD_NO_OPIE_PLUGIN is set to $(BUILD_NO_OPIE_PLUGIN) |
144 | endif | 138 | endif |
145 | ifdef BUILD_NO_MICROMAIL | 139 | ifdef BUILD_NO_MICROMAIL |
146 | @echo MICROMAIL will not be build, because BUILD_NO_MICROMAIL is set to $(BUILD_NO_MICROMAIL) | 140 | @echo MICROMAIL will not be build, because BUILD_NO_MICROMAIL is set to $(BUILD_NO_MICROMAIL) |
147 | endif | 141 | endif |
148 | ifdef BUILD_NO_SHARP_PLUGIN | 142 | ifdef BUILD_NO_SHARP_PLUGIN |
149 | @echo SHARP PLUGIN will not be build, because BUILD_NO_SHARP_PLUGIN is set to $(BUILD_NO_SHARP_PLUGIN) | 143 | @echo SHARP PLUGIN will not be build, because BUILD_NO_SHARP_PLUGIN is set to $(BUILD_NO_SHARP_PLUGIN) |
150 | else | 144 | else |
151 | ifndef SHARPDTMSDK | 145 | ifndef SHARPDTMSDK |
152 | @echo SHARP PLUGIN can not be build, because SHARPDTMSDK is set to $(SHARPDTMSDK) | 146 | @echo SHARP PLUGIN can not be build, because SHARPDTMSDK is set to $(SHARPDTMSDK) |
153 | $(error SHARPDTMSDK is not defined) | 147 | $(error SHARPDTMSDK is not defined) |
154 | endif | 148 | endif |
155 | endif | 149 | endif |
156 | @echo -------------------------------------- | 150 | @echo -------------------------------------- |
157 | 151 | ||
158 | 152 | ||
159 | objects: | 153 | objects: |
160 | for i in $(SUBDIRS); do mkdir -p $$i/obj/$(PLATFORM); done | 154 | for i in $(SUBDIRS); do mkdir -p $$i/obj/$(PLATFORM); done |
161 | for i in $(SUBDIRS); do mkdir -p $$i/moc/$(PLATFORM); done | 155 | for i in $(SUBDIRS); do mkdir -p $$i/moc/$(PLATFORM); done |
162 | mkdir -p libical/lib/$(PLATFORM) | 156 | mkdir -p libical/lib/$(PLATFORM) |
@@ -191,34 +185,30 @@ tmake: objects \ | |||
191 | microkde/Makefile$(PLATFORM) \ | 185 | microkde/Makefile$(PLATFORM) \ |
192 | libkcal/Makefile$(PLATFORM) \ | 186 | libkcal/Makefile$(PLATFORM) \ |
193 | libkdepim/Makefile$(PLATFORM) \ | 187 | libkdepim/Makefile$(PLATFORM) \ |
194 | korganizer/Makefile$(PLATFORM) \ | 188 | korganizer/Makefile$(PLATFORM) \ |
195 | kalarmd/Makefile$(PLATFORM) \ | 189 | kalarmd/Makefile$(PLATFORM) \ |
196 | libical/src/libical/Makefile$(PLATFORM) \ | 190 | libical/src/libical/Makefile$(PLATFORM) \ |
197 | libical/src/libicalss/Makefile$(PLATFORM) \ | 191 | libical/src/libicalss/Makefile$(PLATFORM) \ |
198 | kabc/Makefile$(PLATFORM) \ | 192 | kabc/Makefile$(PLATFORM) \ |
199 | kabc/converter/opie/Makefile$(PLATFORM) \ | ||
200 | kabc/converter/qtopia/Makefile$(PLATFORM) \ | ||
201 | kabc/converter/sharpdtm/Makefile$(PLATFORM) \ | ||
202 | kabc/formats/binary/Makefile$(PLATFORM) \ | 193 | kabc/formats/binary/Makefile$(PLATFORM) \ |
203 | kabc/plugins/file/Makefile$(PLATFORM) \ | 194 | kabc/plugins/file/Makefile$(PLATFORM) \ |
204 | kabc/plugins/dir/Makefile$(PLATFORM) \ | 195 | kabc/plugins/dir/Makefile$(PLATFORM) \ |
205 | kabc/plugins/ldap/Makefile$(PLATFORM) \ | 196 | kabc/plugins/ldap/Makefile$(PLATFORM) \ |
206 | kabc/plugins/opie/Makefile$(PLATFORM) \ | 197 | kabc/plugins/opie/Makefile$(PLATFORM) \ |
207 | kabc/plugins/qtopia/Makefile$(PLATFORM) \ | 198 | kabc/plugins/qtopia/Makefile$(PLATFORM) \ |
208 | kabc/plugins/sharpdtm/Makefile$(PLATFORM) \ | 199 | kabc/plugins/sharpdtm/Makefile$(PLATFORM) \ |
209 | kaddressbook/xxport/opie/Makefile$(PLATFORM) \ | 200 | kaddressbook/xxport/opie/Makefile$(PLATFORM) \ |
210 | kaddressbook/xxport/qtopia/Makefile$(PLATFORM) \ | 201 | kaddressbook/xxport/qtopia/Makefile$(PLATFORM) \ |
211 | kaddressbook/xxport/sharpdtm/Makefile$(PLATFORM) \ | 202 | kaddressbook/xxport/sharpdtm/Makefile$(PLATFORM) \ |
212 | kaddressbook/Makefile$(PLATFORM) \ | 203 | kaddressbook/Makefile$(PLATFORM) \ |
213 | kmicromail/Makefile$(PLATFORM) \ | 204 | kmicromail/Makefile$(PLATFORM) \ |
214 | kmicromail/libetpan/Makefile$(PLATFORM) \ | 205 | kmicromail/libetpan/Makefile$(PLATFORM) \ |
215 | kmicromail/libmailwrapper/Makefile$(PLATFORM) | 206 | kmicromail/libmailwrapper/Makefile$(PLATFORM) |
216 | |||
217 | 207 | ||
218 | 208 | ||
219 | 209 | ||
220 | qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro | 210 | qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro |
221 | cd qtcompat; tmake "CONFIG+=$(RELEASE_DEBUG)" qtcompat.pro -o Makefile$(PLATFORM) | 211 | cd qtcompat; tmake "CONFIG+=$(RELEASE_DEBUG)" qtcompat.pro -o Makefile$(PLATFORM) |
222 | 212 | ||
223 | microkde/Makefile$(PLATFORM): microkde/microkdeE.pro | 213 | microkde/Makefile$(PLATFORM): microkde/microkdeE.pro |
224 | cd microkde; tmake "CONFIG+=$(RELEASE_DEBUG)" microkdeE.pro -o Makefile$(PLATFORM) | 214 | cd microkde; tmake "CONFIG+=$(RELEASE_DEBUG)" microkdeE.pro -o Makefile$(PLATFORM) |
@@ -240,26 +230,16 @@ libical/src/libical/Makefile$(PLATFORM): libical/src/libical/libicalE.pro | |||
240 | cd libical/src/libical; tmake "CONFIG+=$(RELEASE_DEBUG)" libicalE.pro -o Makefile$(PLATFORM) | 230 | cd libical/src/libical; tmake "CONFIG+=$(RELEASE_DEBUG)" libicalE.pro -o Makefile$(PLATFORM) |
241 | 231 | ||
242 | libical/src/libicalss/Makefile$(PLATFORM): libical/src/libicalss/libicalssE.pro | 232 | libical/src/libicalss/Makefile$(PLATFORM): libical/src/libicalss/libicalssE.pro |
243 | cd libical/src/libicalss; tmake "CONFIG+=$(RELEASE_DEBUG)" libicalssE.pro -o Makefile$(PLATFORM) | 233 | cd libical/src/libicalss; tmake "CONFIG+=$(RELEASE_DEBUG)" libicalssE.pro -o Makefile$(PLATFORM) |
244 | 234 | ||
245 | kabc/Makefile$(PLATFORM): kabc/kabcE.pro | 235 | kabc/Makefile$(PLATFORM): kabc/kabcE.pro |
246 | cd kabc; tmake "CONFIG+=$(RELEASE_DEBUG)" kabcE.pro -o Makefile$(PLATFORM) | 236 | cd kabc; tmake "CONFIG+=$(RELEASE_DEBUG)" kabcE.pro -o Makefile$(PLATFORM) |
247 | 237 | ||
248 | kabc/converter/opie/Makefile$(PLATFORM): kabc/converter/opie/opieE.pro | ||
249 | cd kabc/converter/opie; tmake "CONFIG+=$(RELEASE_DEBUG)" opieE.pro -o Makefile$(PLATFORM) | ||
250 | |||
251 | kabc/converter/qtopia/Makefile$(PLATFORM): kabc/converter/qtopia/qtopiaE.pro | ||
252 | cd kabc/converter/qtopia; tmake "CONFIG+=$(RELEASE_DEBUG)" qtopiaE.pro -o Makefile$(PLATFORM) | ||
253 | |||
254 | kabc/converter/sharpdtm/Makefile$(PLATFORM): kabc/converter/sharpdtm/sharpdtmE.pro | ||
255 | cd kabc/converter/sharpdtm; tmake "CONFIG+=$(RELEASE_DEBUG)" sharpdtmE.pro -o Makefile$(PLATFORM) | ||
256 | |||
257 | |||
258 | kabc/formats/binary/Makefile$(PLATFORM): kabc/formats/binary/kabcformat_binaryE.pro | 238 | kabc/formats/binary/Makefile$(PLATFORM): kabc/formats/binary/kabcformat_binaryE.pro |
259 | cd kabc/formats/binary; tmake "CONFIG+=$(RELEASE_DEBUG)" kabcformat_binaryE.pro -o Makefile$(PLATFORM) | 239 | cd kabc/formats/binary; tmake "CONFIG+=$(RELEASE_DEBUG)" kabcformat_binaryE.pro -o Makefile$(PLATFORM) |
260 | 240 | ||
261 | kabc/plugins/file/Makefile$(PLATFORM): kabc/plugins/file/fileE.pro | 241 | kabc/plugins/file/Makefile$(PLATFORM): kabc/plugins/file/fileE.pro |
262 | cd kabc/plugins/file; tmake "CONFIG+=$(RELEASE_DEBUG)" fileE.pro -o Makefile$(PLATFORM) | 242 | cd kabc/plugins/file; tmake "CONFIG+=$(RELEASE_DEBUG)" fileE.pro -o Makefile$(PLATFORM) |
263 | 243 | ||
264 | kabc/plugins/dir/Makefile$(PLATFORM): kabc/plugins/dir/dirE.pro | 244 | kabc/plugins/dir/Makefile$(PLATFORM): kabc/plugins/dir/dirE.pro |
265 | cd kabc/plugins/dir; tmake "CONFIG+=$(RELEASE_DEBUG)" dirE.pro -o Makefile$(PLATFORM) | 245 | cd kabc/plugins/dir; tmake "CONFIG+=$(RELEASE_DEBUG)" dirE.pro -o Makefile$(PLATFORM) |