|
|
|
@@ -1,3 +1,4 @@ |
1 | .PHONY: FORCE |
1 | .phony: force |
| |
2 | force: |
2 | |
3 | |
3 | $(configs) : |
4 | $(configs) : |
@@ -58,11 +59,9 @@ $(OPIEDIR)/stamp-headers : |
58 | $(TOPDIR)/include/qtopia \ |
59 | $(TOPDIR)/include/qtopia \ |
59 | $(TOPDIR)/include/opie \ |
60 | $(TOPDIR)/include/opie \ |
60 | $(TOPDIR)/include/qtopia/private \ |
61 | $(TOPDIR)/include/qtopia/private |
61 | $(TOPDIR)/include/opie2 |
| |
62 | ( cd include/qpe && rm -f *.h; ln -sf ../../library/*.h .; ln -sf ../../library/backend/*.h .; rm -f *_p.h; ) |
62 | ( cd include/qpe && rm -f *.h; ln -sf ../../library/*.h .; ln -sf ../../library/backend/*.h .; rm -f *_p.h; ) |
63 | ( cd include/qtopia && rm -f *.h; ln -sf ../../library/*.h .; ) |
63 | ( cd include/qtopia && rm -f *.h; ln -sf ../../library/*.h .; ) |
64 | ( cd include/qtopia/private && rm -f *.h; ln -sf ../../../library/backend/*.h .; ) |
64 | ( cd include/qtopia/private && rm -f *.h; ln -sf ../../../library/backend/*.h .; ) |
65 | ( cd include/opie && rm -f *.h; ln -sf ../../libopie/*.h .; rm -f *_p.h; ) |
65 | ( cd include/opie && rm -f *.h; ln -sf ../../libopie/*.h .; rm -f *_p.h; ) |
66 | ( cd include/opie && ln -sf ../../libsql/*.h .; ) |
| |
67 | ( cd include/opie && ln -sf ../../libopie/pim/*.h .; ) |
66 | ( cd include/opie && ln -sf ../../libopie/pim/*.h .; ) |
68 | ( cd include/opie2 && ln -sf ../../libopie2/opiecore/*.h .; ) |
67 | ( cd include/opie2 && ln -sf ../../libopie2/opiecore/*.h .; ) |
@@ -99,6 +98,42 @@ $(TOPDIR)/library/custom.h : $(TOPDIR)/.config |
99 | @touch $@ |
98 | @touch $@ |
100 | |
99 | |
101 | $(TOPDIR)/scripts/lxdialog/lxdialog $(TOPDIR)/scripts/kconfig/conf scripts/kconfig/conf $(TOPDIR)/scripts/kconfig/mconf scripts/kconfig/mconf $(TOPDIR)/scripts/kconfig/qconf scripts/kconfig/qconf $(TOPDIR)/qmake/qmake : |
100 | $(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: |
102 | $(call descend,$(shell dirname $@),$(shell basename $@)) |
101 | @$(call descend,$(shell dirname $@),$(shell basename $@)) |
| |
102 | |
| |
103 | menuconfig: $(TOPDIR)/scripts/lxdialog/lxdialog $(TOPDIR)/scripts/kconfig/mconf ./config.in |
| |
104 | $(TOPDIR)/scripts/kconfig/mconf ./config.in |
| |
105 | @touch ./.config.stamp |
| |
106 | |
| |
107 | xconfig: $(TOPDIR)/scripts/kconfig/qconf $(TOPDIR)/scripts/kconfig/libkconfig.so ./config.in |
| |
108 | $(TOPDIR)/scripts/kconfig/qconf ./config.in |
| |
109 | @touch .config.stamp |
| |
110 | |
| |
111 | gconfig: $(TOPDIR)/scripts/kconfig/gconf $(TOPDIR)/scripts/kconfig/libkconfig.so ./config.in |
| |
112 | $(TOPDIR)/scripts/kconfig/gconf ./config.in |
| |
113 | @touch .config.stamp |
| |
114 | |
| |
115 | config: $(TOPDIR)/scripts/kconfig/conf ./config.in |
| |
116 | $(TOPDIR)/scripts/kconfig/conf ./config.in |
| |
117 | @touch .config.stamp |
| |
118 | |
| |
119 | oldconfig: $(TOPDIR)/scripts/kconfig/conf ./config.in |
| |
120 | $(TOPDIR)/scripts/kconfig/conf -o ./config.in |
| |
121 | @touch .config.stamp |
| |
122 | |
| |
123 | randconfig: $(TOPDIR)/scripts/kconfig/conf ./config.in |
| |
124 | $(TOPDIR)/scripts/kconfig/conf -r ./config.in |
| |
125 | @touch .config.stamp |
| |
126 | |
| |
127 | allyesconfig: $(TOPDIR)/scripts/kconfig/conf ./config.in |
| |
128 | $(TOPDIR)/scripts/kconfig/conf -y ./config.in |
| |
129 | @touch .config.stamp |
| |
130 | |
| |
131 | allnoconfig: $(TOPDIR)/scripts/kconfig/conf ./config.in |
| |
132 | $(TOPDIR)/scripts/kconfig/conf -n ./config.in |
| |
133 | @touch .config.stamp |
| |
134 | |
| |
135 | defconfig: $(TOPDIR)/scripts/kconfig/conf ./config.in |
| |
136 | $(TOPDIR)/scripts/kconfig/conf -d ./config.in |
| |
137 | @touch .config.stamp |
103 | |
138 | |
104 | $(TOPDIR)/qmake/qmake : $(TOPDIR)/mkspecs/default |
139 | $(TOPDIR)/qmake/qmake : $(TOPDIR)/mkspecs/default |
@@ -107,5 +142,5 @@ $(TOPDIR)/mkspecs/default : |
107 | ln -sf linux-g++ $@ |
142 | ln -sf linux-g++ $@ |
108 | |
143 | |
109 | $(TOPDIR)/scripts/subst : FORCE |
144 | $(TOPDIR)/scripts/subst : force |
110 | @( \ |
145 | @( \ |
111 | echo 's,\$$QPE_VERSION,$(QPE_VERSION),g'; \ |
146 | echo 's,\$$QPE_VERSION,$(QPE_VERSION),g'; \ |
@@ -114,8 +149,9 @@ $(TOPDIR)/scripts/subst : FORCE |
114 | echo 's,\$$QTE_REVISION,$(QTE_REVISION),g'; \ |
149 | echo 's,\$$QTE_REVISION,$(QTE_REVISION),g'; \ |
115 | echo 's,\$$SUB_VERSION,$(SUB_VERSION),g'; \ |
150 | echo 's,\$$SUB_VERSION,$(SUB_VERSION),g'; \ |
| |
151 | echo 's,\$$EXTRAVERSION,$(EXTRAVERSION),g'; \ |
116 | echo 's,\$$QTE_BASEVERSION,$(QTE_BASEVERSION),g'; \ |
152 | echo 's,\$$QTE_BASEVERSION,$(QTE_BASEVERSION),g'; \ |
117 | ) > $@ || ( rm -f $@; exit 1 ) |
153 | ) > $@ || ( rm -f $@; exit 1 ) |
118 | |
154 | |
119 | $(TOPDIR)/scripts/filesubst : FORCE |
155 | $(TOPDIR)/scripts/filesubst : force |
120 | @( \ |
156 | @( \ |
121 | echo 's,\$$OPIEDIR/root/,/,g'; \ |
157 | echo 's,\$$OPIEDIR/root/,/,g'; \ |
@@ -135,4 +171,6 @@ $(TOPDIR)/scripts/filesubst : FORCE |
135 | echo 's,^\(\./\)*apps/,$(prefix)/apps/,g'; \ |
171 | echo 's,^\(\./\)*apps/,$(prefix)/apps/,g'; \ |
136 | echo 's,^\(\./\)*share/,$(prefix)/share/,g'; \ |
172 | echo 's,^\(\./\)*share/,$(prefix)/share/,g'; \ |
| |
173 | echo 's,^\(\./\)*i18n/,$(prefix)/i18n/,g'; \ |
| |
174 | echo 's,^\(\./\)*help/,$(prefix)/help/,g'; \ |
137 | ) > $@ || ( rm -f $@; exit 1 ) |
175 | ) > $@ || ( rm -f $@; exit 1 ) |
138 | |
176 | |
|