-rw-r--r-- | Makefile | 428 | ||||
-rw-r--r-- | kmicromail/kmicromailE.pro | 2 |
2 files changed, 271 insertions, 159 deletions
@@ -1,159 +1,271 @@ | |||
1 | ############################################################################# | 1 | export KDEPIMDIR = $(shell pwd) |
2 | # Makefile for building: kopi-desktop | ||
3 | # Generated by qmake (1.07a) (Qt 3.3.3) on: Fri Aug 13 09:41:37 2004 | ||
4 | # Project: kopi-desktop.pro | ||
5 | # Template: subdirs | ||
6 | # Command: $(QMAKE) "CONFIG+=thread" "CONFIG+=debug" -o Makefile kopi-desktop.pro | ||
7 | ############################################################################# | ||
8 | |||
9 | MAKEFILE =Makefile | ||
10 | QMAKE =qmake | ||
11 | DEL_FILE = rm -f | ||
12 | CHK_DIR_EXISTS= test -d | ||
13 | MKDIR = mkdir -p | ||
14 | INSTALL_FILE= | ||
15 | INSTALL_DIR = | ||
16 | SUBTARGETS = \ | ||
17 | sub-gammu-emb-common \ | ||
18 | sub-libical \ | ||
19 | sub-libkcal \ | ||
20 | sub-microkde \ | ||
21 | sub-libkdepim \ | ||
22 | sub-kabc \ | ||
23 | sub-korganizer \ | ||
24 | sub-kaddressbook \ | ||
25 | sub-kabc-plugins-file \ | ||
26 | sub-kabc-plugins-dir | ||
27 | |||
28 | first: all | ||
29 | |||
30 | all: Makefile $(SUBTARGETS) | ||
31 | |||
32 | gammu/emb/common/$(MAKEFILE): | ||
33 | @$(CHK_DIR_EXISTS) "gammu/emb/common" || $(MKDIR) "gammu/emb/common" | ||
34 | cd gammu/emb/common && $(QMAKE) common.pro "CONFIG+=thread" "CONFIG+=debug" -o $(MAKEFILE) | ||
35 | sub-gammu-emb-common: gammu/emb/common/$(MAKEFILE) FORCE | ||
36 | cd gammu/emb/common && $(MAKE) -f $(MAKEFILE) | ||
37 | |||
38 | libical/$(MAKEFILE): | ||
39 | @$(CHK_DIR_EXISTS) "libical" || $(MKDIR) "libical" | ||
40 | cd libical && $(QMAKE) libical.pro "CONFIG+=thread" "CONFIG+=debug" -o $(MAKEFILE) | ||
41 | sub-libical: libical/$(MAKEFILE) FORCE | ||
42 | cd libical && $(MAKE) -f $(MAKEFILE) | ||
43 | |||
44 | libkcal/$(MAKEFILE): | ||
45 | @$(CHK_DIR_EXISTS) "libkcal" || $(MKDIR) "libkcal" | ||
46 | cd libkcal && $(QMAKE) libkcal.pro "CONFIG+=thread" "CONFIG+=debug" -o $(MAKEFILE) | ||
47 | sub-libkcal: libkcal/$(MAKEFILE) FORCE | ||
48 | cd libkcal && $(MAKE) -f $(MAKEFILE) | ||
49 | |||
50 | microkde/$(MAKEFILE): | ||
51 | @$(CHK_DIR_EXISTS) "microkde" || $(MKDIR) "microkde" | ||
52 | cd microkde && $(QMAKE) microkde.pro "CONFIG+=thread" "CONFIG+=debug" -o $(MAKEFILE) | ||
53 | sub-microkde: microkde/$(MAKEFILE) FORCE | ||
54 | cd microkde && $(MAKE) -f $(MAKEFILE) | ||
55 | |||
56 | libkdepim/$(MAKEFILE): | ||
57 | @$(CHK_DIR_EXISTS) "libkdepim" || $(MKDIR) "libkdepim" | ||
58 | cd libkdepim && $(QMAKE) libkdepim.pro "CONFIG+=thread" "CONFIG+=debug" -o $(MAKEFILE) | ||
59 | sub-libkdepim: libkdepim/$(MAKEFILE) FORCE | ||
60 | cd libkdepim && $(MAKE) -f $(MAKEFILE) | ||
61 | |||
62 | kabc/$(MAKEFILE): | ||
63 | @$(CHK_DIR_EXISTS) "kabc" || $(MKDIR) "kabc" | ||
64 | cd kabc && $(QMAKE) kabc.pro "CONFIG+=thread" "CONFIG+=debug" -o $(MAKEFILE) | ||
65 | sub-kabc: kabc/$(MAKEFILE) FORCE | ||
66 | cd kabc && $(MAKE) -f $(MAKEFILE) | ||
67 | |||
68 | korganizer/$(MAKEFILE): | ||
69 | @$(CHK_DIR_EXISTS) "korganizer" || $(MKDIR) "korganizer" | ||
70 | cd korganizer && $(QMAKE) korganizer.pro "CONFIG+=thread" "CONFIG+=debug" -o $(MAKEFILE) | ||
71 | sub-korganizer: korganizer/$(MAKEFILE) FORCE | ||
72 | cd korganizer && $(MAKE) -f $(MAKEFILE) | ||
73 | |||
74 | kaddressbook/$(MAKEFILE): | ||
75 | @$(CHK_DIR_EXISTS) "kaddressbook" || $(MKDIR) "kaddressbook" | ||
76 | cd kaddressbook && $(QMAKE) kaddressbook.pro "CONFIG+=thread" "CONFIG+=debug" -o $(MAKEFILE) | ||
77 | sub-kaddressbook: kaddressbook/$(MAKEFILE) FORCE | ||
78 | cd kaddressbook && $(MAKE) -f $(MAKEFILE) | ||
79 | |||
80 | kabc/plugins/file/$(MAKEFILE): | ||
81 | @$(CHK_DIR_EXISTS) "kabc/plugins/file" || $(MKDIR) "kabc/plugins/file" | ||
82 | cd kabc/plugins/file && $(QMAKE) file.pro "CONFIG+=thread" "CONFIG+=debug" -o $(MAKEFILE) | ||
83 | sub-kabc-plugins-file: kabc/plugins/file/$(MAKEFILE) FORCE | ||
84 | cd kabc/plugins/file && $(MAKE) -f $(MAKEFILE) | ||
85 | |||
86 | kabc/plugins/dir/$(MAKEFILE): | ||
87 | @$(CHK_DIR_EXISTS) "kabc/plugins/dir" || $(MKDIR) "kabc/plugins/dir" | ||
88 | cd kabc/plugins/dir && $(QMAKE) dir.pro "CONFIG+=thread" "CONFIG+=debug" -o $(MAKEFILE) | ||
89 | sub-kabc-plugins-dir: kabc/plugins/dir/$(MAKEFILE) FORCE | ||
90 | cd kabc/plugins/dir && $(MAKE) -f $(MAKEFILE) | ||
91 | |||
92 | Makefile: kopi-desktop.pro /usr/local/qtgcc/mkspecs/default/qmake.conf | ||
93 | $(QMAKE) "CONFIG+=thread" "CONFIG+=debug" -o Makefile kopi-desktop.pro | ||
94 | qmake: qmake_all | ||
95 | @$(QMAKE) "CONFIG+=thread" "CONFIG+=debug" -o Makefile kopi-desktop.pro | ||
96 | |||
97 | all: $(SUBTARGETS) | ||
98 | qmake_all: gammu/emb/common/$(MAKEFILE) libical/$(MAKEFILE) libkcal/$(MAKEFILE) microkde/$(MAKEFILE) libkdepim/$(MAKEFILE) kabc/$(MAKEFILE) korganizer/$(MAKEFILE) kaddressbook/$(MAKEFILE) kabc/plugins/file/$(MAKEFILE) kabc/plugins/dir/$(MAKEFILE) | ||
99 | ( [ -d gammu/emb/common ] && cd gammu/emb/common ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true | ||
100 | ( [ -d libical ] && cd libical ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true | ||
101 | ( [ -d libkcal ] && cd libkcal ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true | ||
102 | ( [ -d microkde ] && cd microkde ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true | ||
103 | ( [ -d libkdepim ] && cd libkdepim ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true | ||
104 | ( [ -d kabc ] && cd kabc ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true | ||
105 | ( [ -d korganizer ] && cd korganizer ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true | ||
106 | ( [ -d kaddressbook ] && cd kaddressbook ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true | ||
107 | ( [ -d kabc/plugins/file ] && cd kabc/plugins/file ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true | ||
108 | ( [ -d kabc/plugins/dir ] && cd kabc/plugins/dir ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true | ||
109 | clean uicables mocables uiclean mocclean lexclean yaccclean : qmake_all FORCE | ||
110 | ( [ -d gammu/emb/common ] && cd gammu/emb/common ; $(MAKE) -f $(MAKEFILE) $@; ) || true | ||
111 | ( [ -d libical ] && cd libical ; $(MAKE) -f $(MAKEFILE) $@; ) || true | ||
112 | ( [ -d libkcal ] && cd libkcal ; $(MAKE) -f $(MAKEFILE) $@; ) || true | ||
113 | ( [ -d microkde ] && cd microkde ; $(MAKE) -f $(MAKEFILE) $@; ) || true | ||
114 | ( [ -d libkdepim ] && cd libkdepim ; $(MAKE) -f $(MAKEFILE) $@; ) || true | ||
115 | ( [ -d kabc ] && cd kabc ; $(MAKE) -f $(MAKEFILE) $@; ) || true | ||
116 | ( [ -d korganizer ] && cd korganizer ; $(MAKE) -f $(MAKEFILE) $@; ) || true | ||
117 | ( [ -d kaddressbook ] && cd kaddressbook ; $(MAKE) -f $(MAKEFILE) $@; ) || true | ||
118 | ( [ -d kabc/plugins/file ] && cd kabc/plugins/file ; $(MAKE) -f $(MAKEFILE) $@; ) || true | ||
119 | ( [ -d kabc/plugins/dir ] && cd kabc/plugins/dir ; $(MAKE) -f $(MAKEFILE) $@; ) || true | ||
120 | uninstall_subdirs: qmake_all FORCE | ||
121 | ( [ -d gammu/emb/common ] && cd gammu/emb/common ; $(MAKE) -f $(MAKEFILE) uninstall; ) || true | ||
122 | ( [ -d libical ] && cd libical ; $(MAKE) -f $(MAKEFILE) uninstall; ) || true | ||
123 | ( [ -d libkcal ] && cd libkcal ; $(MAKE) -f $(MAKEFILE) uninstall; ) || true | ||
124 | ( [ -d microkde ] && cd microkde ; $(MAKE) -f $(MAKEFILE) uninstall; ) || true | ||
125 | ( [ -d libkdepim ] && cd libkdepim ; $(MAKE) -f $(MAKEFILE) uninstall; ) || true | ||
126 | ( [ -d kabc ] && cd kabc ; $(MAKE) -f $(MAKEFILE) uninstall; ) || true | ||
127 | ( [ -d korganizer ] && cd korganizer ; $(MAKE) -f $(MAKEFILE) uninstall; ) || true | ||
128 | ( [ -d kaddressbook ] && cd kaddressbook ; $(MAKE) -f $(MAKEFILE) uninstall; ) || true | ||
129 | ( [ -d kabc/plugins/file ] && cd kabc/plugins/file ; $(MAKE) -f $(MAKEFILE) uninstall; ) || true | ||
130 | ( [ -d kabc/plugins/dir ] && cd kabc/plugins/dir ; $(MAKE) -f $(MAKEFILE) uninstall; ) || true | ||
131 | install_subdirs: qmake_all FORCE | ||
132 | ( [ -d gammu/emb/common ] && cd gammu/emb/common ; $(MAKE) -f $(MAKEFILE) install; ) || true | ||
133 | ( [ -d libical ] && cd libical ; $(MAKE) -f $(MAKEFILE) install; ) || true | ||
134 | ( [ -d libkcal ] && cd libkcal ; $(MAKE) -f $(MAKEFILE) install; ) || true | ||
135 | ( [ -d microkde ] && cd microkde ; $(MAKE) -f $(MAKEFILE) install; ) || true | ||
136 | ( [ -d libkdepim ] && cd libkdepim ; $(MAKE) -f $(MAKEFILE) install; ) || true | ||
137 | ( [ -d kabc ] && cd kabc ; $(MAKE) -f $(MAKEFILE) install; ) || true | ||
138 | ( [ -d korganizer ] && cd korganizer ; $(MAKE) -f $(MAKEFILE) install; ) || true | ||
139 | ( [ -d kaddressbook ] && cd kaddressbook ; $(MAKE) -f $(MAKEFILE) install; ) || true | ||
140 | ( [ -d kabc/plugins/file ] && cd kabc/plugins/file ; $(MAKE) -f $(MAKEFILE) install; ) || true | ||
141 | ( [ -d kabc/plugins/dir ] && cd kabc/plugins/dir ; $(MAKE) -f $(MAKEFILE) install; ) || true | ||
142 | distclean: qmake_all FORCE | ||
143 | ( [ -d gammu/emb/common ] && cd gammu/emb/common ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true | ||
144 | ( [ -d libical ] && cd libical ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true | ||
145 | ( [ -d libkcal ] && cd libkcal ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true | ||
146 | ( [ -d microkde ] && cd microkde ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true | ||
147 | ( [ -d libkdepim ] && cd libkdepim ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true | ||
148 | ( [ -d kabc ] && cd kabc ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true | ||
149 | ( [ -d korganizer ] && cd korganizer ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true | ||
150 | ( [ -d kaddressbook ] && cd kaddressbook ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true | ||
151 | ( [ -d kabc/plugins/file ] && cd kabc/plugins/file ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true | ||
152 | ( [ -d kabc/plugins/dir ] && cd kabc/plugins/dir ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true | ||
153 | |||
154 | install: install_subdirs | ||
155 | |||
156 | uninstall: uninstall_subdirs | ||
157 | |||
158 | FORCE: | ||
159 | 2 | ||
3 | |||
4 | ifeq ($(PLATFORM) , zaurus) | ||
5 | BUILD_NO_LDAP_PLUGIN=1 | ||
6 | endif | ||
7 | |||
8 | ifneq ($(PLATFORM) , zaurus) | ||
9 | BUILD_NO_SHARP_PLUGIN=1 | ||
10 | endif | ||
11 | |||
12 | SUBDIRS_MICROKDE = \ | ||
13 | libical/src/libical \ | ||
14 | libical/src/libicalss \ | ||
15 | qtcompat \ | ||
16 | microkde \ | ||
17 | libkcal \ | ||
18 | libkdepim \ | ||
19 | kabc \ | ||
20 | kabc/formats/binary \ | ||
21 | kabc/plugins/file \ | ||
22 | kabc/plugins/dir \ | ||
23 | korganizer \ | ||
24 | kalarmd \ | ||
25 | kaddressbook | ||
26 | |||
27 | SUBDIRS_QTOPIA_PLUGIN = \ | ||
28 | kabc/plugins/qtopia | ||
29 | |||
30 | SUBDIRS_OPIE_PLUGIN = \ | ||
31 | kabc/plugins/opie | ||
32 | |||
33 | SUBDIRS_SHARP_PLUGIN = \ | ||
34 | kabc/plugins/sharpdtm | ||
35 | |||
36 | SUBDIRS_LDAP_PLUGIN = \ | ||
37 | kabc/plugins/ldap | ||
38 | |||
39 | SUBDIRS_MICROMAIL = \ | ||
40 | kmicromail/libetpan \ | ||
41 | kmicromail/libmailwrapper \ | ||
42 | kmicromail | ||
43 | |||
44 | SUBDIRS = \ | ||
45 | $(SUBDIRS_MICROKDE) \ | ||
46 | $(SUBDIRS_QTOPIA_PLUGIN) \ | ||
47 | $(SUBDIRS_OPIE_PLUGIN) \ | ||
48 | $(SUBDIRS_SHARP_PLUGIN) \ | ||
49 | $(SUBDIRS_LDAP_PLUGIN) \ | ||
50 | $(SUBDIRS_MICROMAIL) | ||
51 | |||
52 | |||
53 | all: build_microkde \ | ||
54 | build_qtopia_plugin \ | ||
55 | build_opie_plugin \ | ||
56 | build_sharp_plugin \ | ||
57 | build_ldap_plugin \ | ||
58 | build_micromail | ||
59 | |||
60 | |||
61 | build_microkde: variable_test tmake | ||
62 | for i in $(SUBDIRS_MICROKDE); do pushd $$i; \ | ||
63 | make -f Makefile$(PLATFORM) || exit 1; popd; \ | ||
64 | done | ||
65 | |||
66 | build_qtopia_plugin: build_microkde | ||
67 | for i in $(SUBDIRS_QTOPIA_PLUGIN); do pushd $$i; \ | ||
68 | make -f Makefile$(PLATFORM) || exit 1; popd; \ | ||
69 | done | ||
70 | |||
71 | build_opie_plugin: build_microkde | ||
72 | ifdef BUILD_NO_OPIE_PLUGIN | ||
73 | @echo ---> opie plugin not build. | ||
74 | else | ||
75 | for i in $(SUBDIRS_OPIE_PLUGIN); do pushd $$i; \ | ||
76 | make -f Makefile$(PLATFORM) || exit 1; popd; \ | ||
77 | done | ||
78 | endif | ||
79 | |||
80 | build_sharp_plugin: build_microkde | ||
81 | ifdef BUILD_NO_SHARP_PLUGIN | ||
82 | @echo ---> ldap plugin not build. | ||
83 | else | ||
84 | for i in $(SUBDIRS_SHARP_PLUGIN); do pushd $$i; \ | ||
85 | make -f Makefile$(PLATFORM) || exit 1; popd; \ | ||
86 | done | ||
87 | endif | ||
88 | |||
89 | build_ldap_plugin: build_microkde | ||
90 | ifdef BUILD_NO_LDAP_PLUGIN | ||
91 | @echo ---> ldap plugin not build. | ||
92 | else | ||
93 | for i in $(SUBDIRS_LDAP_PLUGIN); do pushd $$i; \ | ||
94 | make -f Makefile$(PLATFORM) || exit 1; popd; \ | ||
95 | done | ||
96 | endif | ||
97 | |||
98 | |||
99 | build_micromail: build_microkde | ||
100 | ifdef BUILD_NO_MICROMAIL | ||
101 | @echo ---> micromail not build. | ||
102 | else | ||
103 | for i in $(SUBDIRS_MICROMAIL); do pushd $$i; \ | ||
104 | make -f Makefile$(PLATFORM) || exit 1; popd; \ | ||
105 | done | ||
106 | endif | ||
107 | |||
108 | |||
109 | variable_info: | ||
110 | @echo -------------------------------------- | ||
111 | @echo KDEPIM buildsystem, variableinfo... | ||
112 | @echo KDEPIMDIR=$(KDEPIMDIR) | ||
113 | @echo QTDIR=$(QTDIR) | ||
114 | @echo QPEDIR=$(QPEDIR) | ||
115 | @echo OPIEDIR=$(OPIEDIR) | ||
116 | @echo PLATFORM=$(PLATFORM) | ||
117 | @echo RELEASE_DEBUG=$(RELEASE_DEBUG) | ||
118 | @echo BUILD_NO_MICROMAIL=$(BUILD_NO_MICROMAIL) | ||
119 | @echo BUILD_NO_LDAP_PLUGIN=$(BUILD_NO_LDAP_PLUGIN) | ||
120 | @echo BUILD_NO_OPIE_PLUGIN=$(BUILD_NO_OPIE_PLUGIN) | ||
121 | @echo BUILD_NO_SHARP_PLUGIN=$(BUILD_NO_SHARP_PLUGIN) | ||
122 | ifndef BUILD_NO_SHARP_PLUGIN | ||
123 | @echo SHARPDTMSDK=$(SHARPDTMSDK) | ||
124 | endif | ||
125 | @echo -------------------------------------- | ||
126 | |||
127 | variable_test: variable_info | ||
128 | @echo KDEPIM buildsystem, variablecheck... | ||
129 | ifndef KDEPIMDIR | ||
130 | @echo KDEPIMDIR is not defined. | ||
131 | $(error KDEPIMDIR is not defined) | ||
132 | endif | ||
133 | ifndef PLATFORM | ||
134 | @echo PLATFORM is not defined. | ||
135 | $(error PLATFORM is not defined) | ||
136 | endif | ||
137 | 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) | ||
139 | endif | ||
140 | 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) | ||
142 | endif | ||
143 | ifdef BUILD_NO_MICROMAIL | ||
144 | @echo MICROMAIL will not be build, because BUILD_NO_MICROMAIL is set to $(BUILD_NO_MICROMAIL) | ||
145 | endif | ||
146 | 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) | ||
148 | else | ||
149 | ifndef SHARPDTMSDK | ||
150 | @echo SHARP PLUGIN can not be build, because SHARPDTMSDK is set to $(SHARPDTMSDK) | ||
151 | $(error SHARPDTMSDK is not defined) | ||
152 | endif | ||
153 | endif | ||
154 | @echo -------------------------------------- | ||
155 | |||
156 | |||
157 | objects: | ||
158 | for i in $(SUBDIRS); do mkdir -p $$i/obj/$(PLATFORM); done | ||
159 | for i in $(SUBDIRS); do mkdir -p $$i/moc/$(PLATFORM); done | ||
160 | mkdir -p libical/lib/$(PLATFORM) | ||
161 | |||
162 | clean: | ||
163 | rm -rf libical/lib/$(PLATFORM)/*; | ||
164 | for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\ | ||
165 | rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \ | ||
166 | done | ||
167 | install: | ||
168 | cd bin/kdepim; make install | ||
169 | cp db2file/db2file $(QPEDIR)/bin/db2file | ||
170 | cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop | ||
171 | cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop | ||
172 | cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kmicromail.desktop | ||
173 | |||
174 | dist: | ||
175 | @echo Dont forget to do "make install" before "make dist" | ||
176 | rm -f *arm.ipk | ||
177 | rm -f *~ | ||
178 | cd ..; tar czf kdepim.src.tar.gz --exclude=obj --exclude=moc kdepim | ||
179 | ./mkipks kmicrokdelibs.control | ||
180 | ./mkipks korganizer.control | ||
181 | ./mkipks kaddressbook.control | ||
182 | ifndef BUILD_NO_MICROMAIL | ||
183 | ./mkipks kopiemail.control | ||
184 | endif | ||
185 | ./mkipks korganizer-alarm.control | ||
186 | |||
187 | tmake: objects \ | ||
188 | qtcompat/Makefile$(PLATFORM) \ | ||
189 | microkde/Makefile$(PLATFORM) \ | ||
190 | libkcal/Makefile$(PLATFORM) \ | ||
191 | libkdepim/Makefile$(PLATFORM) \ | ||
192 | korganizer/Makefile$(PLATFORM) \ | ||
193 | kalarmd/Makefile$(PLATFORM) \ | ||
194 | libical/src/libical/Makefile$(PLATFORM) \ | ||
195 | libical/src/libicalss/Makefile$(PLATFORM) \ | ||
196 | kabc/Makefile$(PLATFORM) \ | ||
197 | kabc/formats/binary/Makefile$(PLATFORM) \ | ||
198 | kabc/plugins/file/Makefile$(PLATFORM) \ | ||
199 | kabc/plugins/dir/Makefile$(PLATFORM) \ | ||
200 | kabc/plugins/ldap/Makefile$(PLATFORM) \ | ||
201 | kabc/plugins/opie/Makefile$(PLATFORM) \ | ||
202 | kabc/plugins/qtopia/Makefile$(PLATFORM) \ | ||
203 | kabc/plugins/sharpdtm/Makefile$(PLATFORM) \ | ||
204 | kaddressbook/Makefile$(PLATFORM) \ | ||
205 | kmicromail/Makefile$(PLATFORM) \ | ||
206 | kmicromail/libetpan/Makefile$(PLATFORM) \ | ||
207 | kmicromail/libmailwrapper/Makefile$(PLATFORM) | ||
208 | |||
209 | |||
210 | |||
211 | |||
212 | qtcompat/Makefile$(PLATFORM): qtcompat/qtcompat.pro | ||
213 | cd qtcompat; tmake "CONFIG+=$(RELEASE_DEBUG)" qtcompat.pro -o Makefile$(PLATFORM) | ||
214 | |||
215 | microkde/Makefile$(PLATFORM): microkde/microkdeE.pro | ||
216 | cd microkde; tmake "CONFIG+=$(RELEASE_DEBUG)" microkdeE.pro -o Makefile$(PLATFORM) | ||
217 | |||
218 | libkcal/Makefile$(PLATFORM): libkcal/libkcalE.pro | ||
219 | cd libkcal; tmake "CONFIG+=$(RELEASE_DEBUG)" libkcalE.pro -o Makefile$(PLATFORM) | ||
220 | |||
221 | |||
222 | libkdepim/Makefile$(PLATFORM): libkdepim/libkdepimE.pro | ||
223 | cd libkdepim; tmake "CONFIG+=$(RELEASE_DEBUG)" libkdepimE.pro -o Makefile$(PLATFORM) | ||
224 | |||
225 | kalarmd/Makefile$(PLATFORM): kalarmd/kalarmdE.pro | ||
226 | cd kalarmd; tmake "CONFIG+=$(RELEASE_DEBUG)" kalarmdE.pro -o Makefile$(PLATFORM) | ||
227 | |||
228 | korganizer/Makefile$(PLATFORM): korganizer/korganizerE.pro | ||
229 | cd korganizer; tmake "CONFIG+=$(RELEASE_DEBUG)" korganizerE.pro -o Makefile$(PLATFORM) | ||
230 | |||
231 | libical/src/libical/Makefile$(PLATFORM): libical/src/libical/libicalE.pro | ||
232 | cd libical/src/libical; tmake "CONFIG+=$(RELEASE_DEBUG)" libicalE.pro -o Makefile$(PLATFORM) | ||
233 | |||
234 | libical/src/libicalss/Makefile$(PLATFORM): libical/src/libicalss/libicalssE.pro | ||
235 | cd libical/src/libicalss; tmake "CONFIG+=$(RELEASE_DEBUG)" libicalssE.pro -o Makefile$(PLATFORM) | ||
236 | |||
237 | kabc/Makefile$(PLATFORM): kabc/kabcE.pro | ||
238 | cd kabc; tmake "CONFIG+=$(RELEASE_DEBUG)" kabcE.pro -o Makefile$(PLATFORM) | ||
239 | |||
240 | kabc/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) | ||
242 | |||
243 | kabc/plugins/file/Makefile$(PLATFORM): kabc/plugins/file/fileE.pro | ||
244 | cd kabc/plugins/file; tmake "CONFIG+=$(RELEASE_DEBUG)" fileE.pro -o Makefile$(PLATFORM) | ||
245 | |||
246 | kabc/plugins/dir/Makefile$(PLATFORM): kabc/plugins/dir/dirE.pro | ||
247 | cd kabc/plugins/dir; tmake "CONFIG+=$(RELEASE_DEBUG)" dirE.pro -o Makefile$(PLATFORM) | ||
248 | |||
249 | kabc/plugins/ldap/Makefile$(PLATFORM): kabc/plugins/ldap/ldapE.pro | ||
250 | cd kabc/plugins/ldap; tmake "CONFIG+=$(RELEASE_DEBUG)" ldapE.pro -o Makefile$(PLATFORM) | ||
251 | |||
252 | kabc/plugins/opie/Makefile$(PLATFORM): kabc/plugins/opie/opieE.pro | ||
253 | cd kabc/plugins/opie; tmake "CONFIG+=$(RELEASE_DEBUG)" opieE.pro -o Makefile$(PLATFORM) | ||
254 | |||
255 | kabc/plugins/qtopia/Makefile$(PLATFORM): kabc/plugins/qtopia/qtopiaE.pro | ||
256 | cd kabc/plugins/qtopia; tmake "CONFIG+=$(RELEASE_DEBUG)" qtopiaE.pro -o Makefile$(PLATFORM) | ||
257 | |||
258 | kabc/plugins/sharpdtm/Makefile$(PLATFORM): kabc/plugins/sharpdtm/sharpdtmE.pro | ||
259 | cd kabc/plugins/sharpdtm; tmake "CONFIG+=$(RELEASE_DEBUG)" sharpdtmE.pro -o Makefile$(PLATFORM) | ||
260 | |||
261 | kaddressbook/Makefile$(PLATFORM): kaddressbook/kaddressbookE.pro | ||
262 | cd kaddressbook; tmake "CONFIG+=$(RELEASE_DEBUG)" kaddressbookE.pro -o Makefile$(PLATFORM) | ||
263 | |||
264 | kmicromail/Makefile$(PLATFORM): kmicromail/kmicromailE.pro | ||
265 | cd kmicromail; tmake "CONFIG+=$(RELEASE_DEBUG)" kmicromailE.pro -o Makefile$(PLATFORM) | ||
266 | |||
267 | kmicromail/libetpan/Makefile$(PLATFORM): kmicromail/libetpan/libetpanE.pro | ||
268 | cd kmicromail/libetpan; tmake "CONFIG+=$(RELEASE_DEBUG)" libetpanE.pro -o Makefile$(PLATFORM) | ||
269 | |||
270 | kmicromail/libmailwrapper/Makefile$(PLATFORM): kmicromail/libmailwrapper/libmailwrapperE.pro | ||
271 | cd kmicromail/libmailwrapper; tmake "CONFIG+=$(RELEASE_DEBUG)" libmailwrapperE.pro -o Makefile$(PLATFORM) | ||
diff --git a/kmicromail/kmicromailE.pro b/kmicromail/kmicromailE.pro index c026808..aa0dc84 100644 --- a/kmicromail/kmicromailE.pro +++ b/kmicromail/kmicromailE.pro | |||
@@ -1,69 +1,69 @@ | |||
1 | CONFIG += qt warn_on | 1 | CONFIG += qt warn_on |
2 | TEMPLATE= app | 2 | TEMPLATE= app |
3 | HEADERS = defines.h \ | 3 | HEADERS = defines.h \ |
4 | editaccounts.h \ | 4 | editaccounts.h \ |
5 | composemail.h \ | 5 | composemail.h \ |
6 | accountview.h \ | 6 | accountview.h \ |
7 | accountitem.h \ | 7 | accountitem.h \ |
8 | mainwindow.h \ | 8 | mainwindow.h \ |
9 | viewmail.h \ | 9 | viewmail.h \ |
10 | viewmailbase.h \ | 10 | viewmailbase.h \ |
11 | opiemail.h \ | 11 | opiemail.h \ |
12 | mailistviewitem.h \ | 12 | mailistviewitem.h \ |
13 | settingsdialog.h \ | 13 | settingsdialog.h \ |
14 | statuswidget.h \ | 14 | statuswidget.h \ |
15 | newmaildir.h \ | 15 | newmaildir.h \ |
16 | selectstore.h \ | 16 | selectstore.h \ |
17 | selectsmtp.h \ | 17 | selectsmtp.h \ |
18 | nntpgroups.h \ | 18 | nntpgroups.h \ |
19 | nntpgroupsdlg.h | 19 | nntpgroupsdlg.h |
20 | 20 | ||
21 | SOURCES = main.cpp \ | 21 | SOURCES = main.cpp \ |
22 | opiemail.cpp \ | 22 | opiemail.cpp \ |
23 | mainwindow.cpp \ | 23 | mainwindow.cpp \ |
24 | accountview.cpp \ | 24 | accountview.cpp \ |
25 | accountitem.cpp \ | 25 | accountitem.cpp \ |
26 | composemail.cpp \ | 26 | composemail.cpp \ |
27 | editaccounts.cpp \ | 27 | editaccounts.cpp \ |
28 | viewmail.cpp \ | 28 | viewmail.cpp \ |
29 | viewmailbase.cpp \ | 29 | viewmailbase.cpp \ |
30 | mailistviewitem.cpp \ | 30 | mailistviewitem.cpp \ |
31 | settingsdialog.cpp \ | 31 | settingsdialog.cpp \ |
32 | statuswidget.cpp \ | 32 | statuswidget.cpp \ |
33 | newmaildir.cpp \ | 33 | newmaildir.cpp \ |
34 | selectstore.cpp \ | 34 | selectstore.cpp \ |
35 | selectsmtp.cpp \ | 35 | selectsmtp.cpp \ |
36 | nntpgroups.cpp \ | 36 | nntpgroups.cpp \ |
37 | nntpgroupsdlg.cpp | 37 | nntpgroupsdlg.cpp |
38 | 38 | ||
39 | INTERFACES = editaccountsui.ui \ | 39 | INTERFACES = editaccountsui.ui \ |
40 | selectmailtypeui.ui \ | 40 | selectmailtypeui.ui \ |
41 | imapconfigui.ui \ | 41 | imapconfigui.ui \ |
42 | pop3configui.ui \ | 42 | pop3configui.ui \ |
43 | nntpconfigui.ui \ | 43 | nntpconfigui.ui \ |
44 | smtpconfigui.ui \ | 44 | smtpconfigui.ui \ |
45 | composemailui.ui \ | 45 | composemailui.ui \ |
46 | settingsdialogui.ui \ | 46 | settingsdialogui.ui \ |
47 | statuswidgetui.ui \ | 47 | statuswidgetui.ui \ |
48 | newmaildirui.ui \ | 48 | newmaildirui.ui \ |
49 | selectstoreui.ui \ | 49 | selectstoreui.ui \ |
50 | nntpgroupsui.ui | 50 | nntpgroupsui.ui |
51 | 51 | ||
52 | 52 | ||
53 | INCLUDEPATH += . $(KDEPIMDIR)/qtcompat $(KDEPIMDIR)/microkde $(KDEPIMDIR)/microkde/kdecore libetpan/include $(KDEPIMDIR)/microkde/kdeui $(QPEDIR)/include | 53 | INCLUDEPATH += . $(KDEPIMDIR) $(KDEPIMDIR)/qtcompat $(KDEPIMDIR)/microkde $(KDEPIMDIR)/microkde/kdecore libetpan/include $(KDEPIMDIR)/microkde/kdeui $(QPEDIR)/include |
54 | LIBS += -L$(QPEDIR)/lib -lkmicromailwrapper -lqpe -lkmicrolibetpan -lmicrokde -lmicroqtcompat -lssl -lcrypto -ljpeg -lmicrokde -lmicroqtcompat -lmicrokabc -lmicrokcal -lmicrokdepim | 54 | LIBS += -L$(QPEDIR)/lib -lkmicromailwrapper -lqpe -lkmicrolibetpan -lmicrokde -lmicroqtcompat -lssl -lcrypto -ljpeg -lmicrokde -lmicroqtcompat -lmicrokabc -lmicrokcal -lmicrokdepim |
55 | LIBS += $(QTOPIALIB) | 55 | LIBS += $(QTOPIALIB) |
56 | #LIBS += -lqtopia | 56 | #LIBS += -lqtopia |
57 | #next line for Zaurus only | 57 | #next line for Zaurus only |
58 | #LIBS += -luuid | 58 | #LIBS += -luuid |
59 | 59 | ||
60 | LIBS += -lmicrogammu | 60 | LIBS += -lmicrogammu |
61 | LIBS += -lbluetooth | 61 | LIBS += -lbluetooth |
62 | LIBS += -lsdp | 62 | LIBS += -lsdp |
63 | # | 63 | # |
64 | OBJECTS_DIR = obj/$(PLATFORM) | 64 | OBJECTS_DIR = obj/$(PLATFORM) |
65 | MOC_DIR = moc/$(PLATFORM) | 65 | MOC_DIR = moc/$(PLATFORM) |
66 | DESTDIR=$(QPEDIR)/bin | 66 | DESTDIR=$(QPEDIR)/bin |
67 | TARGET = ompi | 67 | TARGET = ompi |
68 | 68 | ||
69 | 69 | ||