author | harlekin <harlekin> | 2002-06-23 10:49:10 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-06-23 10:49:10 (UTC) |
commit | 5ab3b3daeb6940af8cbe05e730559980fc880658 (patch) (unidiff) | |
tree | 679447551b7e687727bccb9a10973042689d74e8 | |
parent | 1d773d5df7038410c498d38a68a9569c1350975a (diff) | |
download | opie-5ab3b3daeb6940af8cbe05e730559980fc880658.zip opie-5ab3b3daeb6940af8cbe05e730559980fc880658.tar.gz opie-5ab3b3daeb6940af8cbe05e730559980fc880658.tar.bz2 |
hardcore libqpe version
-rwxr-xr-x | configure | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -113,65 +113,67 @@ The defaults (*) are usually acceptable. Here is a short explanation of | |||
113 | each option: | 113 | each option: |
114 | 114 | ||
115 | * -release ........... Compile and link Qt with debugging turned off. | 115 | * -release ........... Compile and link Qt with debugging turned off. |
116 | -debug ............. Compile and link Qt with debugging turned on. | 116 | -debug ............. Compile and link Qt with debugging turned on. |
117 | 117 | ||
118 | * -shared ............ Create and use a shared Qt library (libqt.so) | 118 | * -shared ............ Create and use a shared Qt library (libqt.so) |
119 | -static ............ Create and use a static Qt library (libqt.a) | 119 | -static ............ Create and use a static Qt library (libqt.a) |
120 | 120 | ||
121 | -qt3 ............... Configure for use with Qt 3.x | 121 | -qt3 ............... Configure for use with Qt 3.x |
122 | 122 | ||
123 | -platform target ... The platform you are building on ($PLATFORM) | 123 | -platform target ... The platform you are building on ($PLATFORM) |
124 | EOF | 124 | EOF |
125 | exit 0; | 125 | exit 0; |
126 | fi | 126 | fi |
127 | 127 | ||
128 | CUSTOM=`echo $PLATFORM | sed -n -e "s/.*-\(.*\)-.*/\1/p"` | 128 | CUSTOM=`echo $PLATFORM | sed -n -e "s/.*-\(.*\)-.*/\1/p"` |
129 | 129 | ||
130 | if [ -f library/custom-$CUSTOM.h ] | 130 | if [ -f library/custom-$CUSTOM.h ] |
131 | then | 131 | then |
132 | rm -f library/custom.h | 132 | rm -f library/custom.h |
133 | ln -s custom-$CUSTOM.h library/custom.h | 133 | ln -s custom-$CUSTOM.h library/custom.h |
134 | fi | 134 | fi |
135 | 135 | ||
136 | mkdir -p include/qpe | 136 | mkdir -p include/qpe |
137 | ( cd include/qpe && rm -f *.h; ln -s ../../library/*.h .; ln -s ../../library/backend/*.h .; rm -f *_p.h; ) | 137 | ( cd include/qpe && rm -f *.h; ln -s ../../library/*.h .; ln -s ../../library/backend/*.h .; rm -f *_p.h; ) |
138 | 138 | ||
139 | mkdir -p include/opie | 139 | mkdir -p include/opie |
140 | ( cd include/opie && rm -f *.h; ln -s ../../libopie/*.h .; rm -f *_p.h; ) | 140 | ( cd include/opie && rm -f *.h; ln -s ../../libopie/*.h .; rm -f *_p.h; ) |
141 | 141 | ||
142 | 142 | ||
143 | echo Creating makefiles... | 143 | echo Creating makefiles... |
144 | 144 | ||
145 | sed -e 's/^\(VERSION.*= \).*/\1'$VERSION_MAJ.$VERSION_MIN.$VERSION_PAT/ <library/library.pro >library/library.pro-v | 145 | # Set version for library directly |
146 | # Version 1.5.0 right now for compat. | ||
147 | sed -e 's/^\(VERSION.*= \).*/\1'1.5.0.$VERSION_PAT/ <library/library.pro >library/library.pro-v | ||
146 | mv library/library.pro-v library/library.pro | 148 | mv library/library.pro-v library/library.pro |
147 | 149 | ||
148 | if [ "$QT3" = yes ] | 150 | if [ "$QT3" = yes ] |
149 | then | 151 | then |
150 | VCONFIG="CONFIG+=qt3" | 152 | VCONFIG="CONFIG+=qt3" |
151 | else | 153 | else |
152 | VCONFIG="CONFIG+=qt2" | 154 | VCONFIG="CONFIG+=qt2" |
153 | fi | 155 | fi |
154 | 156 | ||
155 | if [ -f $TMAKEPATH/tmake.conf ] | 157 | if [ -f $TMAKEPATH/tmake.conf ] |
156 | then | 158 | then |
157 | # You have tmake. We'll regenerate the file for you... | 159 | # You have tmake. We'll regenerate the file for you... |
158 | echo "Makefiles will be regenerated." | 160 | echo "Makefiles will be regenerated." |
159 | fi | 161 | fi |
160 | 162 | ||
161 | H=`pwd` | 163 | H=`pwd` |
162 | if [ -z "$TOMAKE" ] | 164 | if [ -z "$TOMAKE" ] |
163 | then | 165 | then |
164 | TOMAKE=`make showcomponents` | 166 | TOMAKE=`make showcomponents` |
165 | fi | 167 | fi |
166 | 168 | ||
167 | for a in $TOMAKE ; do | 169 | for a in $TOMAKE ; do |
168 | N=$a/Makefile | 170 | N=$a/Makefile |
169 | M=$a/Makefile.in | 171 | M=$a/Makefile.in |
170 | O=$a/Makefile.add | 172 | O=$a/Makefile.add |
171 | f=`basename $a` | 173 | f=`basename $a` |
172 | 174 | ||
173 | if [ -f "$TMAKEPATH/tmake.conf" -a -f "$a/$f.pro" ] | 175 | if [ -f "$TMAKEPATH/tmake.conf" -a -f "$a/$f.pro" ] |
174 | then | 176 | then |
175 | ( cd $a; | 177 | ( cd $a; |
176 | TMAKEPATH=$QTDIR/tmake:$TMAKEPATH \ | 178 | TMAKEPATH=$QTDIR/tmake:$TMAKEPATH \ |
177 | tmake $QCONFIGARG CONFIG+=embedded $VCONFIG \ | 179 | tmake $QCONFIGARG CONFIG+=embedded $VCONFIG \ |