-rw-r--r-- | Makefile | 438 | ||||
-rw-r--r-- | kaddressbook/kaddressbookE.pro | 4 | ||||
-rw-r--r-- | kmicromail/kmicromailE.pro | 3 |
3 files changed, 270 insertions, 175 deletions
@@ -1,169 +1,271 @@ | |||
1 | ############################################################################# | 1 | export KDEPIMDIR = $(shell pwd) |
2 | # Makefile for building: kdepim-desktop | ||
3 | # Generated by qmake (1.07a) (Qt 3.3.1) on: Mon Aug 30 11:47:23 2004 | ||
4 | # Project: kdepim-desktop.pro | ||
5 | # Template: subdirs | ||
6 | # Command: $(QMAKE) -o Makefile kdepim-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 | SUBTARGETS = \ | ||
15 | sub-gammu-emb-common \ | ||
16 | sub-gammu-emb-gammu \ | ||
17 | sub-libical \ | ||
18 | sub-libkcal \ | ||
19 | sub-microkde \ | ||
20 | sub-libkdepim \ | ||
21 | sub-kabc \ | ||
22 | sub-korganizer \ | ||
23 | sub-kaddressbook \ | ||
24 | sub-kabc-plugins-file \ | ||
25 | sub-kabc-plugins-dir | ||
26 | |||
27 | first: all | ||
28 | |||
29 | all: Makefile $(SUBTARGETS) | ||
30 | |||
31 | gammu/emb/common/$(MAKEFILE): | ||
32 | @$(CHK_DIR_EXISTS) "gammu/emb/common" || $(MKDIR) "gammu/emb/common" | ||
33 | cd gammu/emb/common && $(QMAKE) common.pro -o $(MAKEFILE) | ||
34 | sub-gammu-emb-common: gammu/emb/common/$(MAKEFILE) FORCE | ||
35 | cd gammu/emb/common && $(MAKE) -f $(MAKEFILE) | ||
36 | |||
37 | gammu/emb/gammu/$(MAKEFILE): | ||
38 | @$(CHK_DIR_EXISTS) "gammu/emb/gammu" || $(MKDIR) "gammu/emb/gammu" | ||
39 | cd gammu/emb/gammu && $(QMAKE) gammu.pro -o $(MAKEFILE) | ||
40 | sub-gammu-emb-gammu: gammu/emb/gammu/$(MAKEFILE) FORCE | ||
41 | cd gammu/emb/gammu && $(MAKE) -f $(MAKEFILE) | ||
42 | |||
43 | libical/$(MAKEFILE): | ||
44 | @$(CHK_DIR_EXISTS) "libical" || $(MKDIR) "libical" | ||
45 | cd libical && $(QMAKE) libical.pro -o $(MAKEFILE) | ||
46 | sub-libical: libical/$(MAKEFILE) FORCE | ||
47 | cd libical && $(MAKE) -f $(MAKEFILE) | ||
48 | |||
49 | libkcal/$(MAKEFILE): | ||
50 | @$(CHK_DIR_EXISTS) "libkcal" || $(MKDIR) "libkcal" | ||
51 | cd libkcal && $(QMAKE) libkcal.pro -o $(MAKEFILE) | ||
52 | sub-libkcal: libkcal/$(MAKEFILE) FORCE | ||
53 | cd libkcal && $(MAKE) -f $(MAKEFILE) | ||
54 | |||
55 | microkde/$(MAKEFILE): | ||
56 | @$(CHK_DIR_EXISTS) "microkde" || $(MKDIR) "microkde" | ||
57 | cd microkde && $(QMAKE) microkde.pro -o $(MAKEFILE) | ||
58 | sub-microkde: microkde/$(MAKEFILE) FORCE | ||
59 | cd microkde && $(MAKE) -f $(MAKEFILE) | ||
60 | |||
61 | libkdepim/$(MAKEFILE): | ||
62 | @$(CHK_DIR_EXISTS) "libkdepim" || $(MKDIR) "libkdepim" | ||
63 | cd libkdepim && $(QMAKE) libkdepim.pro -o $(MAKEFILE) | ||
64 | sub-libkdepim: libkdepim/$(MAKEFILE) FORCE | ||
65 | cd libkdepim && $(MAKE) -f $(MAKEFILE) | ||
66 | |||
67 | kabc/$(MAKEFILE): | ||
68 | @$(CHK_DIR_EXISTS) "kabc" || $(MKDIR) "kabc" | ||
69 | cd kabc && $(QMAKE) kabc.pro -o $(MAKEFILE) | ||
70 | sub-kabc: kabc/$(MAKEFILE) FORCE | ||
71 | cd kabc && $(MAKE) -f $(MAKEFILE) | ||
72 | |||
73 | korganizer/$(MAKEFILE): | ||
74 | @$(CHK_DIR_EXISTS) "korganizer" || $(MKDIR) "korganizer" | ||
75 | cd korganizer && $(QMAKE) korganizer.pro -o $(MAKEFILE) | ||
76 | sub-korganizer: korganizer/$(MAKEFILE) FORCE | ||
77 | cd korganizer && $(MAKE) -f $(MAKEFILE) | ||
78 | |||
79 | kaddressbook/$(MAKEFILE): | ||
80 | @$(CHK_DIR_EXISTS) "kaddressbook" || $(MKDIR) "kaddressbook" | ||
81 | cd kaddressbook && $(QMAKE) kaddressbook.pro -o $(MAKEFILE) | ||
82 | sub-kaddressbook: kaddressbook/$(MAKEFILE) FORCE | ||
83 | cd kaddressbook && $(MAKE) -f $(MAKEFILE) | ||
84 | |||
85 | kabc/plugins/file/$(MAKEFILE): | ||
86 | @$(CHK_DIR_EXISTS) "kabc/plugins/file" || $(MKDIR) "kabc/plugins/file" | ||
87 | cd kabc/plugins/file && $(QMAKE) file.pro -o $(MAKEFILE) | ||
88 | sub-kabc-plugins-file: kabc/plugins/file/$(MAKEFILE) FORCE | ||
89 | cd kabc/plugins/file && $(MAKE) -f $(MAKEFILE) | ||
90 | |||
91 | kabc/plugins/dir/$(MAKEFILE): | ||
92 | @$(CHK_DIR_EXISTS) "kabc/plugins/dir" || $(MKDIR) "kabc/plugins/dir" | ||
93 | cd kabc/plugins/dir && $(QMAKE) dir.pro -o $(MAKEFILE) | ||
94 | sub-kabc-plugins-dir: kabc/plugins/dir/$(MAKEFILE) FORCE | ||
95 | cd kabc/plugins/dir && $(MAKE) -f $(MAKEFILE) | ||
96 | |||
97 | Makefile: kdepim-desktop.pro /usr/lib/qt3/mkspecs/default/qmake.conf | ||
98 | $(QMAKE) -o Makefile kdepim-desktop.pro | ||
99 | qmake: qmake_all | ||
100 | @$(QMAKE) -o Makefile kdepim-desktop.pro | ||
101 | |||
102 | all: $(SUBTARGETS) | ||
103 | qmake_all: gammu/emb/common/$(MAKEFILE) gammu/emb/gammu/$(MAKEFILE) libical/$(MAKEFILE) libkcal/$(MAKEFILE) microkde/$(MAKEFILE) libkdepim/$(MAKEFILE) kabc/$(MAKEFILE) korganizer/$(MAKEFILE) kaddressbook/$(MAKEFILE) kabc/plugins/file/$(MAKEFILE) kabc/plugins/dir/$(MAKEFILE) | ||
104 | ( [ -d gammu/emb/common ] && cd gammu/emb/common ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true | ||
105 | ( [ -d gammu/emb/gammu ] && cd gammu/emb/gammu ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true | ||
106 | ( [ -d libical ] && cd libical ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true | ||
107 | ( [ -d libkcal ] && cd libkcal ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true | ||
108 | ( [ -d microkde ] && cd microkde ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true | ||
109 | ( [ -d libkdepim ] && cd libkdepim ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true | ||
110 | ( [ -d kabc ] && cd kabc ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true | ||
111 | ( [ -d korganizer ] && cd korganizer ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true | ||
112 | ( [ -d kaddressbook ] && cd kaddressbook ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true | ||
113 | ( [ -d kabc/plugins/file ] && cd kabc/plugins/file ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true | ||
114 | ( [ -d kabc/plugins/dir ] && cd kabc/plugins/dir ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true | ||
115 | clean uicables mocables uiclean mocclean lexclean yaccclean : qmake_all FORCE | ||
116 | ( [ -d gammu/emb/common ] && cd gammu/emb/common ; $(MAKE) -f $(MAKEFILE) $@; ) || true | ||
117 | ( [ -d gammu/emb/gammu ] && cd gammu/emb/gammu ; $(MAKE) -f $(MAKEFILE) $@; ) || true | ||
118 | ( [ -d libical ] && cd libical ; $(MAKE) -f $(MAKEFILE) $@; ) || true | ||
119 | ( [ -d libkcal ] && cd libkcal ; $(MAKE) -f $(MAKEFILE) $@; ) || true | ||
120 | ( [ -d microkde ] && cd microkde ; $(MAKE) -f $(MAKEFILE) $@; ) || true | ||
121 | ( [ -d libkdepim ] && cd libkdepim ; $(MAKE) -f $(MAKEFILE) $@; ) || true | ||
122 | ( [ -d kabc ] && cd kabc ; $(MAKE) -f $(MAKEFILE) $@; ) || true | ||
123 | ( [ -d korganizer ] && cd korganizer ; $(MAKE) -f $(MAKEFILE) $@; ) || true | ||
124 | ( [ -d kaddressbook ] && cd kaddressbook ; $(MAKE) -f $(MAKEFILE) $@; ) || true | ||
125 | ( [ -d kabc/plugins/file ] && cd kabc/plugins/file ; $(MAKE) -f $(MAKEFILE) $@; ) || true | ||
126 | ( [ -d kabc/plugins/dir ] && cd kabc/plugins/dir ; $(MAKE) -f $(MAKEFILE) $@; ) || true | ||
127 | uninstall_subdirs: qmake_all FORCE | ||
128 | ( [ -d gammu/emb/common ] && cd gammu/emb/common ; $(MAKE) -f $(MAKEFILE) uninstall; ) || true | ||
129 | ( [ -d gammu/emb/gammu ] && cd gammu/emb/gammu ; $(MAKE) -f $(MAKEFILE) uninstall; ) || true | ||
130 | ( [ -d libical ] && cd libical ; $(MAKE) -f $(MAKEFILE) uninstall; ) || true | ||
131 | ( [ -d libkcal ] && cd libkcal ; $(MAKE) -f $(MAKEFILE) uninstall; ) || true | ||
132 | ( [ -d microkde ] && cd microkde ; $(MAKE) -f $(MAKEFILE) uninstall; ) || true | ||
133 | ( [ -d libkdepim ] && cd libkdepim ; $(MAKE) -f $(MAKEFILE) uninstall; ) || true | ||
134 | ( [ -d kabc ] && cd kabc ; $(MAKE) -f $(MAKEFILE) uninstall; ) || true | ||
135 | ( [ -d korganizer ] && cd korganizer ; $(MAKE) -f $(MAKEFILE) uninstall; ) || true | ||
136 | ( [ -d kaddressbook ] && cd kaddressbook ; $(MAKE) -f $(MAKEFILE) uninstall; ) || true | ||
137 | ( [ -d kabc/plugins/file ] && cd kabc/plugins/file ; $(MAKE) -f $(MAKEFILE) uninstall; ) || true | ||
138 | ( [ -d kabc/plugins/dir ] && cd kabc/plugins/dir ; $(MAKE) -f $(MAKEFILE) uninstall; ) || true | ||
139 | install_subdirs: qmake_all FORCE | ||
140 | ( [ -d gammu/emb/common ] && cd gammu/emb/common ; $(MAKE) -f $(MAKEFILE) install; ) || true | ||
141 | ( [ -d gammu/emb/gammu ] && cd gammu/emb/gammu ; $(MAKE) -f $(MAKEFILE) install; ) || true | ||
142 | ( [ -d libical ] && cd libical ; $(MAKE) -f $(MAKEFILE) install; ) || true | ||
143 | ( [ -d libkcal ] && cd libkcal ; $(MAKE) -f $(MAKEFILE) install; ) || true | ||
144 | ( [ -d microkde ] && cd microkde ; $(MAKE) -f $(MAKEFILE) install; ) || true | ||
145 | ( [ -d libkdepim ] && cd libkdepim ; $(MAKE) -f $(MAKEFILE) install; ) || true | ||
146 | ( [ -d kabc ] && cd kabc ; $(MAKE) -f $(MAKEFILE) install; ) || true | ||
147 | ( [ -d korganizer ] && cd korganizer ; $(MAKE) -f $(MAKEFILE) install; ) || true | ||
148 | ( [ -d kaddressbook ] && cd kaddressbook ; $(MAKE) -f $(MAKEFILE) install; ) || true | ||
149 | ( [ -d kabc/plugins/file ] && cd kabc/plugins/file ; $(MAKE) -f $(MAKEFILE) install; ) || true | ||
150 | ( [ -d kabc/plugins/dir ] && cd kabc/plugins/dir ; $(MAKE) -f $(MAKEFILE) install; ) || true | ||
151 | distclean: qmake_all FORCE | ||
152 | ( [ -d gammu/emb/common ] && cd gammu/emb/common ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true | ||
153 | ( [ -d gammu/emb/gammu ] && cd gammu/emb/gammu ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true | ||
154 | ( [ -d libical ] && cd libical ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true | ||
155 | ( [ -d libkcal ] && cd libkcal ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true | ||
156 | ( [ -d microkde ] && cd microkde ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true | ||
157 | ( [ -d libkdepim ] && cd libkdepim ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true | ||
158 | ( [ -d kabc ] && cd kabc ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true | ||
159 | ( [ -d korganizer ] && cd korganizer ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true | ||
160 | ( [ -d kaddressbook ] && cd kaddressbook ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true | ||
161 | ( [ -d kabc/plugins/file ] && cd kabc/plugins/file ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true | ||
162 | ( [ -d kabc/plugins/dir ] && cd kabc/plugins/dir ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true | ||
163 | |||
164 | install: install_subdirs | ||
165 | |||
166 | uninstall: uninstall_subdirs | ||
167 | |||
168 | FORCE: | ||
169 | 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/kaddressbook/kaddressbookE.pro b/kaddressbook/kaddressbookE.pro index 1695a28..8fbad77 100644 --- a/kaddressbook/kaddressbookE.pro +++ b/kaddressbook/kaddressbookE.pro | |||
@@ -17,12 +17,8 @@ LIBS += -lmicrokde | |||
17 | LIBS += -lmicroqtcompat | 17 | LIBS += -lmicroqtcompat |
18 | LIBS += -lmicrokabc | 18 | LIBS += -lmicrokabc |
19 | LIBS += -lqpe | 19 | LIBS += -lqpe |
20 | LIBS += -ljpeg | 20 | LIBS += -ljpeg |
21 | LIBS += -lmicrogammu | ||
22 | LIBS += -lbluetooth | ||
23 | LIBS += -lsdp | ||
24 | |||
25 | LIBS += $(QTOPIALIB) | 21 | LIBS += $(QTOPIALIB) |
26 | LIBS += -L$(QPEDIR)/lib | 22 | LIBS += -L$(QPEDIR)/lib |
27 | LIBS += -Wl,-export-dynamic | 23 | LIBS += -Wl,-export-dynamic |
28 | 24 | ||
diff --git a/kmicromail/kmicromailE.pro b/kmicromail/kmicromailE.pro index aa0dc84..4fa026d 100644 --- a/kmicromail/kmicromailE.pro +++ b/kmicromail/kmicromailE.pro | |||
@@ -56,11 +56,8 @@ 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 | ||
61 | LIBS += -lbluetooth | ||
62 | LIBS += -lsdp | ||
63 | # | 60 | # |
64 | OBJECTS_DIR = obj/$(PLATFORM) | 61 | OBJECTS_DIR = obj/$(PLATFORM) |
65 | MOC_DIR = moc/$(PLATFORM) | 62 | MOC_DIR = moc/$(PLATFORM) |
66 | DESTDIR=$(QPEDIR)/bin | 63 | DESTDIR=$(QPEDIR)/bin |