author | zecke <zecke> | 2002-09-10 12:05:29 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-09-10 12:05:29 (UTC) |
commit | d10cddb3c9ce75bc90b14add14bc133737fe35aa (patch) (unidiff) | |
tree | b6bd92e786e151588ba7c7580bac64175df184c4 /configure | |
parent | da8e0d7e3fb2d34c22299f7281ac869a8fcccb6c (diff) | |
download | opie-d10cddb3c9ce75bc90b14add14bc133737fe35aa.zip opie-d10cddb3c9ce75bc90b14add14bc133737fe35aa.tar.gz opie-d10cddb3c9ce75bc90b14add14bc133737fe35aa.tar.bz2 |
Update configure to generate qtopia/ and qtopia/private
-rwxr-xr-x | configure | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -123,36 +123,39 @@ each option: | |||
123 | 123 | ||
124 | -platform target ... The platform you are building on ($PLATFORM) | 124 | -platform target ... The platform you are building on ($PLATFORM) |
125 | EOF | 125 | EOF |
126 | exit 0; | 126 | exit 0; |
127 | fi | 127 | fi |
128 | 128 | ||
129 | CUSTOM=`echo $PLATFORM | sed -n -e "s/.*-\(.*\)-.*/\1/p"` | 129 | CUSTOM=`echo $PLATFORM | sed -n -e "s/.*-\(.*\)-.*/\1/p"` |
130 | 130 | ||
131 | if [ -f library/custom-$CUSTOM.h ] | 131 | if [ -f library/custom-$CUSTOM.h ] |
132 | then | 132 | then |
133 | rm -f library/custom.h | 133 | rm -f library/custom.h |
134 | ln -s custom-$CUSTOM.h library/custom.h | 134 | ln -s custom-$CUSTOM.h library/custom.h |
135 | fi | 135 | fi |
136 | 136 | ||
137 | mkdir -p include/qpe | 137 | mkdir -p include/qpe |
138 | ( cd include/qpe && rm -f *.h; ln -s ../../library/*.h .; ln -s ../../library/backend/*.h .; rm -f *_p.h; ) | 138 | ( cd include/qpe && rm -f *.h; ln -s ../../library/*.h .; ln -s ../../library/backend/*.h .; rm -f *_p.h; ) |
139 | 139 | mkdir -p include/qtopia | |
140 | ( cd include/qtopia && rm -f *.h; ln -s ../../library/*.h .; ) | ||
141 | mkdir -p include/qtopia/private | ||
142 | ( cd include/qtopia/private && rm -f *.h; ln -s ../../../library/backend/*.h .; ) | ||
140 | mkdir -p include/opie | 143 | mkdir -p include/opie |
141 | ( cd include/opie && rm -f *.h; ln -s ../../libopie/*.h .; rm -f *_p.h; ) | 144 | ( cd include/opie && rm -f *.h; ln -s ../../libopie/*.h .; rm -f *_p.h; ) |
142 | ( cd include/opie && ln -s ../../libsql/*.h . ) | 145 | ( cd include/opie && ln -s ../../libsql/*.h .; ) |
143 | 146 | ||
144 | echo Creating makefiles... | 147 | echo Creating makefiles... |
145 | 148 | ||
146 | # Set version for library directly | 149 | # Set version for library directly |
147 | # Version 1.5.0 right now for compat. | 150 | # Version 1.5.0 right now for compat. |
148 | sed -e 's/^\(VERSION.*= \).*/\1'1.5.0.$VERSION_PAT/ <library/library.pro >library/library.pro-v | 151 | sed -e 's/^\(VERSION.*= \).*/\1'1.5.0.$VERSION_PAT/ <library/library.pro >library/library.pro-v |
149 | mv library/library.pro-v library/library.pro | 152 | mv library/library.pro-v library/library.pro |
150 | 153 | ||
151 | if [ "$QT3" = yes ] | 154 | if [ "$QT3" = yes ] |
152 | then | 155 | then |
153 | VCONFIG="CONFIG+=qt3" | 156 | VCONFIG="CONFIG+=qt3" |
154 | else | 157 | else |
155 | VCONFIG="CONFIG+=qt2" | 158 | VCONFIG="CONFIG+=qt2" |
156 | fi | 159 | fi |
157 | 160 | ||
158 | if [ -f $TMAKEPATH/tmake.conf ] | 161 | if [ -f $TMAKEPATH/tmake.conf ] |