|
|
|
@@ -132,68 +132,70 @@ $(TOPDIR)/.depends.cfgs: |
132 | # config.in interdependencies |
132 | # config.in interdependencies |
133 | @echo $(configs) | sed -e 's,/config.in,,g' | ( for i in `cat`; do echo $$i; done ) > dirs |
133 | @echo $(configs) | sed -e 's,/config.in,,g' | ( for i in `cat`; do echo $$i; done ) > dirs |
134 | @cat dirs | ( for i in `cat`; do if [ "`cat dirs|grep $$i 2>/dev/null|wc -l`" -ne "1" ]; then deps=`cat dirs|grep $$i| grep -v "^$$i$$"|for i in \`cat|sed -e's,^$(TOPDIR)/,$$(TOPDIR)/,g'\`; do echo $$i/config.in; done`; echo `echo $$i/config.in|sed -e 's,^$(TOPDIR)/,$$(TOPDIR)/,'` : $$deps; fi; done ) >> $@ |
134 | @cat dirs | ( for i in `cat`; do if [ "`cat dirs|grep $$i 2>/dev/null|wc -l`" -ne "1" ]; then deps=`cat dirs|grep $$i| grep -v "^$$i$$"|for i in \`cat|sed -e's,^$(TOPDIR)/,$$(TOPDIR)/,g'\`; do echo $$i/config.in; done`; echo `echo $$i/config.in|sed -e 's,^$(TOPDIR)/,$$(TOPDIR)/,'` : $$deps; fi; done ) >> $@ |
135 | @-rm -f dirs |
135 | @-rm -f dirs |
136 | |
136 | |
137 | $(QTDIR)/stamp-headers : |
137 | $(QTDIR)/stamp-headers : |
138 | @-rm -f $(QTDIR)/stamp-headers* |
138 | @-rm -f $(QTDIR)/stamp-headers* |
139 | ( cd $(QTDIR)/include; \ |
139 | ( cd $(QTDIR)/include; \ |
140 | $(patsubst %,ln -sf ../src/kernel/%;,qgfx_qws.h qwsmouse_qws.h \ |
140 | $(patsubst %,ln -sf ../src/kernel/%;,qgfx_qws.h qwsmouse_qws.h \ |
141 | qcopchannel_qws.h qwindowsystem_qws.h \ |
141 | qcopchannel_qws.h qwindowsystem_qws.h \ |
142 | qfontmanager_qws.h qwsdefaultdecoration_qws.h)) |
142 | qfontmanager_qws.h qwsdefaultdecoration_qws.h)) |
143 | touch $@ |
143 | touch $@ |
144 | |
144 | |
145 | $(QTDIR)/stamp-headers-x11 : |
145 | $(QTDIR)/stamp-headers-x11 : |
146 | @-rm -f $(QTDIR)/stamp-headers* |
146 | @-rm -f $(QTDIR)/stamp-headers* |
147 | 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) |
147 | 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) |
148 | touch $@ |
148 | touch $@ |
149 | |
149 | |
150 | $(OPIEDIR)/stamp-headers : |
150 | $(OPIEDIR)/stamp-headers : |
151 | @-rm -f $(OPIEDIR)/stamp-headers* |
151 | @-rm -f $(OPIEDIR)/stamp-headers* |
152 | mkdir -p $(TOPDIR)/include/qpe \ |
152 | mkdir -p $(TOPDIR)/include/qpe \ |
153 | $(TOPDIR)/include/qtopia \ |
153 | $(TOPDIR)/include/qtopia \ |
154 | $(TOPDIR)/include/opie \ |
154 | $(TOPDIR)/include/opie \ |
155 | $(TOPDIR)/include/opie2 \ |
155 | $(TOPDIR)/include/opie2 \ |
| |
156 | $(TOPDIR)/include/opie2/private \ |
156 | $(TOPDIR)/include/qtopia/private \ |
157 | $(TOPDIR)/include/qtopia/private \ |
157 | $(TOPDIR)/include/sl |
158 | $(TOPDIR)/include/sl |
158 | ( cd include/qpe && rm -f *.h; ln -sf ../../library/*.h .; ln -sf ../../library/backend/*.h .; rm -f *_p.h; ) |
159 | ( cd include/qpe && rm -f *.h; ln -sf ../../library/*.h .; ln -sf ../../library/backend/*.h .; rm -f *_p.h; ) |
159 | ( cd include/qtopia && rm -f *.h; ln -sf ../../library/*.h .; ) |
160 | ( cd include/qtopia && rm -f *.h; ln -sf ../../library/*.h .; ) |
160 | ( cd include/qtopia/private && rm -f *.h; ln -sf ../../../library/backend/*.h .; ) |
161 | ( cd include/qtopia/private && rm -f *.h; ln -sf ../../../library/backend/*.h .; ) |
161 | ifeq ($(CONFIG_LIBOPIE),y) |
162 | ifeq ($(CONFIG_LIBOPIE),y) |
162 | # libopie1 |
163 | # libopie1 |
163 | ( cd include/opie && rm -f *.h; ln -sf ../../libopie/*.h .; rm -f *_p.h; ) |
164 | ( cd include/opie && rm -f *.h; ln -sf ../../libopie/*.h .; rm -f *_p.h; ) |
164 | ( cd include/opie && ln -sf ../../libopie/pim/*.h .; ) |
165 | ( cd include/opie && ln -sf ../../libopie/pim/*.h .; ) |
165 | ( cd include/opie && ln -sf ../../libopie/big-screen/*.h .; ) |
166 | ( cd include/opie && ln -sf ../../libopie/big-screen/*.h .; ) |
166 | endif |
167 | endif |
167 | # libopie2 |
168 | # libopie2 |
168 | ( cd include/opie2 && ln -sf ../../libopie2/opiecore/*.h .; ) |
169 | ( cd include/opie2 && ln -sf ../../libopie2/opiecore/*.h .; ) |
169 | ( cd include/opie2 && ln -sf ../../libopie2/opiecore/device/*.h .; ) |
170 | ( cd include/opie2 && ln -sf ../../libopie2/opiecore/device/*.h .; ) |
170 | ( cd include/opie2 && ln -sf ../../libopie2/opiemm/*.h .; ) |
171 | ( cd include/opie2 && ln -sf ../../libopie2/opiemm/*.h .; ) |
171 | ( cd include/opie2 && ln -sf ../../libopie2/opiedb/*.h .; ) |
172 | ( cd include/opie2 && ln -sf ../../libopie2/opiedb/*.h .; ) |
172 | ( cd include/opie2 && ln -sf ../../libopie2/opienet/*.h .; ) |
173 | ( cd include/opie2 && ln -sf ../../libopie2/opienet/*.h .; ) |
173 | ( cd include/opie2 && ln -sf ../../libopie2/opiepim/*.h .; ) |
174 | ( cd include/opie2 && ln -sf ../../libopie2/opiepim/*.h .; ) |
174 | ( cd include/opie2 && ln -sf ../../libopie2/opiepim/core/*.h .; ) |
175 | ( cd include/opie2 && ln -sf ../../libopie2/opiepim/core/*.h .; ) |
175 | ( cd include/opie2 && ln -sf ../../libopie2/opiepim/core/backends/*.h .; ) |
176 | ( cd include/opie2 && ln -sf ../../libopie2/opiepim/backend/*.h .; ) |
| |
177 | ( cd include/opie2/private && ln -sf ../../../libopie2/opiepim/private/*.h .; ) |
176 | ( cd include/opie2 && ln -sf ../../libopie2/opiepim/ui/*.h .; ) |
178 | ( cd include/opie2 && ln -sf ../../libopie2/opiepim/ui/*.h .; ) |
177 | ( cd include/opie2 && ln -sf ../../libopie2/opieui/*.h .; ) |
179 | ( cd include/opie2 && ln -sf ../../libopie2/opieui/*.h .; ) |
178 | ( cd include/opie2 && ln -sf ../../libopie2/opieui/fileselector/*.h .; ) |
180 | ( cd include/opie2 && ln -sf ../../libopie2/opieui/fileselector/*.h .; ) |
179 | ( cd include/opie2 && ln -sf ../../libopie2/opieui/big-screen/*.h .; ) |
181 | ( cd include/opie2 && ln -sf ../../libopie2/opieui/big-screen/*.h .; ) |
180 | ( cd include/opie2 && ln -sf ../../libopie2/opiesecurity/*.h .; ) |
182 | ( cd include/opie2 && ln -sf ../../libopie2/opiesecurity/*.h .; ) |
181 | # auxilliary libraries |
183 | # auxilliary libraries |
182 | ( cd include/opie2 && ln -sf ../../libqtaux/*.h .; ) |
184 | ( cd include/opie2 && ln -sf ../../libqtaux/*.h .; ) |
183 | ( cd include/sl && ln -sf ../../libslcompat/*.h .; ) |
185 | ( cd include/sl && ln -sf ../../libslcompat/*.h .; ) |
184 | ( cd include/ && ln -sf ../noncore/net/ftplib/*.h .; ) |
186 | ( cd include/ && ln -sf ../noncore/net/ftplib/*.h .; ) |
185 | ( cd include/ && ln -sf ../inputmethods/pickboard/pickboardcfg.h .; ) |
187 | ( cd include/ && ln -sf ../inputmethods/pickboard/pickboardcfg.h .; ) |
186 | ( cd include/ && ln -sf ../inputmethods/pickboard/pickboardpicks.h .; ) |
188 | ( cd include/ && ln -sf ../inputmethods/pickboard/pickboardpicks.h .; ) |
187 | # all |
189 | # all |
188 | ifeq ($(CONFIG_LIBOPIE),y) |
190 | ifeq ($(CONFIG_LIBOPIE),y) |
189 | ( cd include/opie; for generatedHeader in `cd ../../libopie; ls *.ui | sed -e "s,\.ui,\.h,g"`; do \ |
191 | ( cd include/opie; for generatedHeader in `cd ../../libopie; ls *.ui | sed -e "s,\.ui,\.h,g"`; do \ |
190 | ln -sf ../../libopie/$$generatedHeader $$generatedHeader; done ) |
192 | ln -sf ../../libopie/$$generatedHeader $$generatedHeader; done ) |
191 | endif |
193 | endif |
192 | ( cd include/opie2; for generatedHeader in `cd ../../libopie2/opieui; ls *.ui | sed -e "s,\.ui,\.h,g"`; do \ |
194 | ( cd include/opie2; for generatedHeader in `cd ../../libopie2/opieui; ls *.ui | sed -e "s,\.ui,\.h,g"`; do \ |
193 | ln -sf ../../libopie2/opieui/$$generatedHeader $$generatedHeader; done ) |
195 | ln -sf ../../libopie2/opieui/$$generatedHeader $$generatedHeader; done ) |
194 | ( cd include/opie2; for generatedHeader in `cd ../../libopie2/opiepim/ui; ls *.ui | sed -e "s,\.ui,\.h,g"`; do \ |
196 | ( cd include/opie2; for generatedHeader in `cd ../../libopie2/opiepim/ui; ls *.ui | sed -e "s,\.ui,\.h,g"`; do \ |
195 | ln -sf ../../libopie2/opiepim/ui/$$generatedHeader $$generatedHeader; done ) |
197 | ln -sf ../../libopie2/opiepim/ui/$$generatedHeader $$generatedHeader; done ) |
196 | ln -sf ../../library/custom.h $(TOPDIR)/include/qpe/custom.h |
198 | ln -sf ../../library/custom.h $(TOPDIR)/include/qpe/custom.h |
197 | touch $@ |
199 | touch $@ |
198 | |
200 | |
199 | $(OPIEDIR)/stamp-headers-x11 : |
201 | $(OPIEDIR)/stamp-headers-x11 : |
|