summaryrefslogtreecommitdiff
authorzecke <zecke>2005-04-16 22:01:23 (UTC)
committer zecke <zecke>2005-04-16 22:01:23 (UTC)
commitf2b8a146b411a99c43050ab902f641ee406e3bab (patch) (unidiff)
tree19c07c02c052029de298ef68fc3b6c25cb31b490
parent632d3e87a7e2cf6efecb676987d622e937ecafb8 (diff)
downloadopie-f2b8a146b411a99c43050ab902f641ee406e3bab.zip
opie-f2b8a146b411a99c43050ab902f641ee406e3bab.tar.gz
opie-f2b8a146b411a99c43050ab902f641ee406e3bab.tar.bz2
Opie X11:
-Make x11 header stamping aware of opie2
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
@@ -199,28 +199,58 @@ $(OPIEDIR)/stamp-headers :
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