summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--Rules.make44
1 files changed, 37 insertions, 7 deletions
diff --git a/Rules.make b/Rules.make
index df1e6e5..f59b4f7 100644
--- a/Rules.make
+++ b/Rules.make
@@ -159,108 +159,138 @@ $(QTDIR)/stamp-headers :
159$(QTDIR)/stamp-headers-x11 : 159$(QTDIR)/stamp-headers-x11 :
160 @-rm -f $(QTDIR)/stamp-headers* 160 @-rm -f $(QTDIR)/stamp-headers*
161 cd $(QTDIR)/include; $(patsubst %,ln -sf $(OPIEDIR)/x11/libqpe-x11/qt/%;,qgfx_qws.h qwsmouse_qws.h qcopchannel_qws.h qwindowsystem_qws.h qfontmanager_qws.h qwsdefaultdecoration_qws.h) 161 cd $(QTDIR)/include; $(patsubst %,ln -sf $(OPIEDIR)/x11/libqpe-x11/qt/%;,qgfx_qws.h qwsmouse_qws.h qcopchannel_qws.h qwindowsystem_qws.h qfontmanager_qws.h qwsdefaultdecoration_qws.h)
162 touch $@ 162 touch $@
163 163
164$(OPIEDIR)/stamp-headers : 164$(OPIEDIR)/stamp-headers :
165 @-rm -f $(OPIEDIR)/stamp-headers* 165 @-rm -f $(OPIEDIR)/stamp-headers*
166 mkdir -p $(TOPDIR)/include/qpe \ 166 mkdir -p $(TOPDIR)/include/qpe \
167 $(TOPDIR)/include/qtopia \ 167 $(TOPDIR)/include/qtopia \
168 $(TOPDIR)/include/opie \ 168 $(TOPDIR)/include/opie \
169 $(TOPDIR)/include/opie2 \ 169 $(TOPDIR)/include/opie2 \
170 $(TOPDIR)/include/opie2/private \ 170 $(TOPDIR)/include/opie2/private \
171 $(TOPDIR)/include/qtopia/private \ 171 $(TOPDIR)/include/qtopia/private \
172 $(TOPDIR)/include/sl 172 $(TOPDIR)/include/sl
173 ( cd include/qpe && rm -f *.h; ln -sf ../../library/*.h .; ln -sf ../../library/backend/*.h .; rm -f *_p.h; ) 173 ( cd include/qpe && rm -f *.h; ln -sf ../../library/*.h .; ln -sf ../../library/backend/*.h .; rm -f *_p.h; )
174 ( cd include/qtopia && rm -f *.h; ln -sf ../../library/*.h .; ) 174 ( cd include/qtopia && rm -f *.h; ln -sf ../../library/*.h .; )
175 ( cd include/qtopia/private && rm -f *.h; ln -sf ../../../library/backend/*.h .; ) 175 ( cd include/qtopia/private && rm -f *.h; ln -sf ../../../library/backend/*.h .; )
176 # libopie2 176 # libopie2
177 ( cd include/opie2 && ln -sf ../../libopie2/opiecore/*.h .; ) 177 ( cd include/opie2 && ln -sf ../../libopie2/opiecore/*.h .; )
178 ( cd include/opie2 && ln -sf ../../libopie2/opiecore/device/*.h .; ) 178 ( cd include/opie2 && ln -sf ../../libopie2/opiecore/device/*.h .; )
179 ( cd include/opie2 && ln -sf ../../libopie2/opiemm/*.h .; ) 179 ( cd include/opie2 && ln -sf ../../libopie2/opiemm/*.h .; )
180 ( cd include/opie2 && ln -sf ../../libopie2/opiedb/*.h .; ) 180 ( cd include/opie2 && ln -sf ../../libopie2/opiedb/*.h .; )
181 ( cd include/opie2 && ln -sf ../../libopie2/opienet/*.h .; ) 181 ( cd include/opie2 && ln -sf ../../libopie2/opienet/*.h .; )
182 ( cd include/opie2 && ln -sf ../../libopie2/opiepim/*.h .; ) 182 ( cd include/opie2 && ln -sf ../../libopie2/opiepim/*.h .; )
183 ( cd include/opie2 && ln -sf ../../libopie2/opiepim/core/*.h .; ) 183 ( cd include/opie2 && ln -sf ../../libopie2/opiepim/core/*.h .; )
184 ( cd include/opie2 && ln -sf ../../libopie2/opiepim/backend/*.h .; ) 184 ( cd include/opie2 && ln -sf ../../libopie2/opiepim/backend/*.h .; )
185 ( cd include/opie2/private && ln -sf ../../../libopie2/opiepim/private/*.h .; ) 185 ( cd include/opie2/private && ln -sf ../../../libopie2/opiepim/private/*.h .; )
186 ( cd include/opie2 && ln -sf ../../libopie2/opiepim/ui/*.h .; ) 186 ( cd include/opie2 && ln -sf ../../libopie2/opiepim/ui/*.h .; )
187 ( cd include/opie2 && ln -sf ../../libopie2/opieui/*.h .; ) 187 ( cd include/opie2 && ln -sf ../../libopie2/opieui/*.h .; )
188 ( cd include/opie2 && ln -sf ../../libopie2/opieui/fileselector/*.h .; ) 188 ( cd include/opie2 && ln -sf ../../libopie2/opieui/fileselector/*.h .; )
189 ( cd include/opie2 && ln -sf ../../libopie2/opieui/big-screen/*.h .; ) 189 ( cd include/opie2 && ln -sf ../../libopie2/opieui/big-screen/*.h .; )
190 ( cd include/opie2 && ln -sf ../../libopie2/opiesecurity/*.h .; ) 190 ( cd include/opie2 && ln -sf ../../libopie2/opiesecurity/*.h .; )
191 # auxilliary libraries 191 # auxilliary libraries
192 ( cd include/opie2 && ln -sf ../../libqtaux/*.h .; ) 192 ( cd include/opie2 && ln -sf ../../libqtaux/*.h .; )
193 ( cd include/sl && ln -sf ../../libslcompat/*.h .; ) 193 ( cd include/sl && ln -sf ../../libslcompat/*.h .; )
194 ( cd include/ && ln -sf ../noncore/net/ftplib/*.h .; ) 194 ( cd include/ && ln -sf ../noncore/net/ftplib/*.h .; )
195 ( cd include/ && ln -sf ../inputmethods/pickboard/pickboardcfg.h .; ) 195 ( cd include/ && ln -sf ../inputmethods/pickboard/pickboardcfg.h .; )
196 ( cd include/ && ln -sf ../inputmethods/pickboard/pickboardpicks.h .; ) 196 ( cd include/ && ln -sf ../inputmethods/pickboard/pickboardpicks.h .; )
197 # all 197 # all
198 ( cd include/opie2; for generatedHeader in `cd ../../libopie2/opieui; ls *.ui | sed -e "s,\.ui,\.h,g"`; do \ 198 ( cd include/opie2; for generatedHeader in `cd ../../libopie2/opieui; ls *.ui | sed -e "s,\.ui,\.h,g"`; do \
199 ln -sf ../../libopie2/opieui/$$generatedHeader $$generatedHeader; done ) 199 ln -sf ../../libopie2/opieui/$$generatedHeader $$generatedHeader; done )
200 ( cd include/opie2; for generatedHeader in `cd ../../libopie2/opiepim/ui; ls *.ui | sed -e "s,\.ui,\.h,g"`; do \ 200 ( cd include/opie2; for generatedHeader in `cd ../../libopie2/opiepim/ui; ls *.ui | sed -e "s,\.ui,\.h,g"`; do \
201 ln -sf ../../libopie2/opiepim/ui/$$generatedHeader $$generatedHeader; done ) 201 ln -sf ../../libopie2/opiepim/ui/$$generatedHeader $$generatedHeader; done )
202 ln -sf ../../library/custom.h $(TOPDIR)/include/qpe/custom.h 202 ln -sf ../../library/custom.h $(TOPDIR)/include/qpe/custom.h
203 touch $@ 203 touch $@
204 204
205$(OPIEDIR)/stamp-headers-x11 : 205$(OPIEDIR)/stamp-headers-x11 :
206 @-rm -f $(OPIEDIR)/stamp-headers* 206 @-rm -f $(OPIEDIR)/stamp-headers*
207 mkdir -p $(TOPDIR)/include/qpe $(TOPDIR)/include/qtopia \ 207 mkdir -p $(TOPDIR)/include/qpe \
208 $(TOPDIR)/include/opie $(TOPDIR)/include/qtopia/private 208 $(TOPDIR)/include/qtopia \
209 $(TOPDIR)/include/qtopia/private \
210 $(TOPDIR)/include/opie \
211 $(TOPDIR)/include/opie2 \
212 $(TOPDIR)/include/opie2/private \
213 $(TOPDIR)/include/sl
214
209 ( cd include/qpe && rm -f *.h; ln -sf ../../library/*.h .; ln -sf ../../library/backend/*.h .; rm -f *_p.h; ) 215 ( cd include/qpe && rm -f *.h; ln -sf ../../library/*.h .; ln -sf ../../library/backend/*.h .; rm -f *_p.h; )
210 ( cd include/qtopia && rm -f *.h; ln -sf ../../library/*.h .; ) 216 ( cd include/qtopia && rm -f *.h; ln -sf ../../library/*.h .; )
211 ( cd include/qtopia/private && rm -f *.h; ln -sf ../../../library/backend/*.h .; ) 217 ( cd include/qtopia/private && rm -f *.h; ln -sf ../../../library/backend/*.h .; )
212 ( cd include/opie && rm -f *.h; ln -sf ../../libopie/*.h .; rm -f *_p.h; ) 218 # libopie2
213 ( cd include/opie && ln -sf ../../libsql/*.h .; ) 219 ( cd include/opie2 && ln -sf ../../libopie2/opiecore/*.h .; )
214 ( cd include/opie && ln -sf ../../libopie/pim/*.h .; ) 220 ( cd include/opie2 && ln -sf ../../libopie2/opiecore/device/*.h .; )
215 ( cd include/opie; for generatedHeader in `cd ../../libopie; ls *.ui | sed -e "s,\.ui,\.h,g"`; do \ 221 ( cd include/opie2 && ln -sf ../../libopie2/opiemm/*.h .; )
216 ln -sf ../../libopie/$$generatedHeader $$generatedHeader; done ) 222 ( cd include/opie2 && ln -sf ../../libopie2/opiedb/*.h .; )
223 ( cd include/opie2 && ln -sf ../../libopie2/opienet/*.h .; )
224 ( cd include/opie2 && ln -sf ../../libopie2/opiepim/*.h .; )
225 ( cd include/opie2 && ln -sf ../../libopie2/opiepim/core/*.h .; )
226 ( cd include/opie2 && ln -sf ../../libopie2/opiepim/backend/*.h .; )
227 ( cd include/opie2/private && ln -sf ../../../libopie2/opiepim/private/*.h .; )
228 ( cd include/opie2 && ln -sf ../../libopie2/opiepim/ui/*.h .; )
229 ( cd include/opie2 && ln -sf ../../libopie2/opieui/*.h .; )
230 ( cd include/opie2 && ln -sf ../../libopie2/opieui/fileselector/*.h .; )
231 ( cd include/opie2 && ln -sf ../../libopie2/opieui/big-screen/*.h .; )
232 ( cd include/opie2 && ln -sf ../../libopie2/opiesecurity/*.h .; )
233 # auxilliary libraries
234 ( cd include/opie2 && ln -sf ../../libqtaux/*.h .; )
235 ( cd include/sl && ln -sf ../../libslcompat/*.h .; )
236 ( cd include/ && ln -sf ../noncore/net/ftplib/*.h .; )
237 ( cd include/ && ln -sf ../inputmethods/pickboard/pickboardcfg.h .; )
238 ( cd include/ && ln -sf ../inputmethods/pickboard/pickboardpicks.h .; )
239 # all
240 ( cd include/opie2; for generatedHeader in `cd ../../libopie2/opieui; ls *.ui | sed -e "s,\.ui,\.h,g"`; do \
241 ln -sf ../../libopie2/opieui/$$generatedHeader $$generatedHeader; done )
242 ( cd include/opie2; for generatedHeader in `cd ../../libopie2/opiepim/ui; ls *.ui | sed -e "s,\.ui,\.h,g"`; do \
243 ln -sf ../../libopie2/opiepim/ui/$$generatedHeader $$generatedHeader; done )
217 ln -sf ../../library/custom.h $(TOPDIR)/include/qpe/custom.h 244 ln -sf ../../library/custom.h $(TOPDIR)/include/qpe/custom.h
245
246 # Qtopia
218 ( cd include/qpe; ln -sf ../../x11/libqpe-x11/qpe/*.h .; ) 247 ( cd include/qpe; ln -sf ../../x11/libqpe-x11/qpe/*.h .; )
248 ( cd include/qtopia; ln -sf ../../x11/libqpe-x11/qpe/*.h .; )
219 touch $@ 249 touch $@
220 250
221$(TOPDIR)/library/custom.h : $(TOPDIR)/.config 251$(TOPDIR)/library/custom.h : $(TOPDIR)/.config
222 @-rm -f $@ 252 @-rm -f $@
223 @$(if $(patsubst "%",%,$(CONFIG_CUSTOMFILE)),\ 253 @$(if $(patsubst "%",%,$(CONFIG_CUSTOMFILE)),\
224 ln -sf $(patsubst "%",%,$(CONFIG_CUSTOMFILE)) $@) 254 ln -sf $(patsubst "%",%,$(CONFIG_CUSTOMFILE)) $@)
225 @touch $@ 255 @touch $@
226 256
227$(TOPDIR)/scripts/lxdialog/lxdialog $(TOPDIR)/scripts/kconfig/mconf $(TOPDIR)/scripts/kconfig/conf $(TOPDIR)/scripts/kconfig/qconf $(TOPDIR)/scripts/kconfig/libkconfig.so $(TOPDIR)/scripts/kconfig/gconf $(TOPDIR)/qmake/qmake: 257$(TOPDIR)/scripts/lxdialog/lxdialog $(TOPDIR)/scripts/kconfig/mconf $(TOPDIR)/scripts/kconfig/conf $(TOPDIR)/scripts/kconfig/qconf $(TOPDIR)/scripts/kconfig/libkconfig.so $(TOPDIR)/scripts/kconfig/gconf $(TOPDIR)/qmake/qmake:
228 +$(call descend,$(shell dirname $@),$(shell basename $@)) 258 +$(call descend,$(shell dirname $@),$(shell basename $@))
229 259
230menuconfig: $(TOPDIR)/scripts/lxdialog/lxdialog $(TOPDIR)/scripts/kconfig/mconf ./config.in 260menuconfig: $(TOPDIR)/scripts/lxdialog/lxdialog $(TOPDIR)/scripts/kconfig/mconf ./config.in
231 $(TOPDIR)/scripts/kconfig/mconf ./config.in 261 $(TOPDIR)/scripts/kconfig/mconf ./config.in
232 @touch ./.config.stamp 262 @touch ./.config.stamp
233 263
234xconfig: $(TOPDIR)/scripts/kconfig/qconf $(TOPDIR)/scripts/kconfig/libkconfig.so ./config.in 264xconfig: $(TOPDIR)/scripts/kconfig/qconf $(TOPDIR)/scripts/kconfig/libkconfig.so ./config.in
235 $(TOPDIR)/scripts/kconfig/qconf ./config.in 265 $(TOPDIR)/scripts/kconfig/qconf ./config.in
236 @touch .config.stamp 266 @touch .config.stamp
237 267
238gconfig: $(TOPDIR)/scripts/kconfig/gconf $(TOPDIR)/scripts/kconfig/libkconfig.so ./config.in 268gconfig: $(TOPDIR)/scripts/kconfig/gconf $(TOPDIR)/scripts/kconfig/libkconfig.so ./config.in
239 $(TOPDIR)/scripts/kconfig/gconf ./config.in 269 $(TOPDIR)/scripts/kconfig/gconf ./config.in
240 @touch .config.stamp 270 @touch .config.stamp
241 271
242config: $(TOPDIR)/scripts/kconfig/conf ./config.in 272config: $(TOPDIR)/scripts/kconfig/conf ./config.in
243 $(TOPDIR)/scripts/kconfig/conf ./config.in 273 $(TOPDIR)/scripts/kconfig/conf ./config.in
244 @touch .config.stamp 274 @touch .config.stamp
245 275
246oldconfig: $(TOPDIR)/scripts/kconfig/conf ./config.in 276oldconfig: $(TOPDIR)/scripts/kconfig/conf ./config.in
247 $(TOPDIR)/scripts/kconfig/conf -o ./config.in 277 $(TOPDIR)/scripts/kconfig/conf -o ./config.in
248 @touch .config.stamp 278 @touch .config.stamp
249 279
250randconfig: $(TOPDIR)/scripts/kconfig/conf ./config.in 280randconfig: $(TOPDIR)/scripts/kconfig/conf ./config.in
251 $(TOPDIR)/scripts/kconfig/conf -r ./config.in 281 $(TOPDIR)/scripts/kconfig/conf -r ./config.in
252 @touch .config.stamp 282 @touch .config.stamp
253 283
254allyesconfig: $(TOPDIR)/scripts/kconfig/conf ./config.in 284allyesconfig: $(TOPDIR)/scripts/kconfig/conf ./config.in
255 $(TOPDIR)/scripts/kconfig/conf -y ./config.in 285 $(TOPDIR)/scripts/kconfig/conf -y ./config.in
256 @touch .config.stamp 286 @touch .config.stamp
257 287
258allnoconfig: $(TOPDIR)/scripts/kconfig/conf ./config.in 288allnoconfig: $(TOPDIR)/scripts/kconfig/conf ./config.in
259 $(TOPDIR)/scripts/kconfig/conf -n ./config.in 289 $(TOPDIR)/scripts/kconfig/conf -n ./config.in
260 @touch .config.stamp 290 @touch .config.stamp
261 291
262defconfig: $(TOPDIR)/scripts/kconfig/conf ./config.in 292defconfig: $(TOPDIR)/scripts/kconfig/conf ./config.in
263 $(TOPDIR)/scripts/kconfig/conf -d ./config.in 293 $(TOPDIR)/scripts/kconfig/conf -d ./config.in
264 @touch .config.stamp 294 @touch .config.stamp
265 295
266$(TOPDIR)/qmake/qmake : $(TOPDIR)/mkspecs/default 296$(TOPDIR)/qmake/qmake : $(TOPDIR)/mkspecs/default