author | kergoth <kergoth> | 2002-10-07 22:48:50 (UTC) |
---|---|---|
committer | kergoth <kergoth> | 2002-10-07 22:48:50 (UTC) |
commit | cdc6cad191b866d481085da1d05806afb5602b2c (patch) (side-by-side diff) | |
tree | 8bef8b67fe4c3c33350a22f2b1ea76f47ad0e810 /configure | |
parent | 8df996ac47b44e6af8d81aeb9e414e6302ad749b (diff) | |
download | opie-cdc6cad191b866d481085da1d05806afb5602b2c.zip opie-cdc6cad191b866d481085da1d05806afb5602b2c.tar.gz opie-cdc6cad191b866d481085da1d05806afb5602b2c.tar.bz2 |
Symlink .h files from libopie/pim/
-rwxr-xr-x | configure | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -98,96 +98,97 @@ then PLATFORM=linux-$PLATFORM-g++ else echo echo ' The specified platform/compiler not supported: ' $TARGET echo exit 2 fi fi # Next, emit a usage message if something failed. if [ "$HELP" = "yes" ]; then cat <<EOF Usage: $0 [-debug] [-release] [-shared] [-static] [-qt3] [-platform ...] The defaults (*) are usually acceptable. Here is a short explanation of each option: * -release ........... Compile and link Qt with debugging turned off. -debug ............. Compile and link Qt with debugging turned on. * -shared ............ Create and use a shared Qt library (libqt.so) -static ............ Create and use a static Qt library (libqt.a) -qt3 ............... Configure for use with Qt 3.x -platform target ... The platform you are building on ($PLATFORM) EOF exit 0; fi CUSTOM=`echo $PLATFORM | sed -n -e "s/.*-\(.*\)-.*/\1/p"` if [ -f library/custom-$CUSTOM.h ] then rm -f library/custom.h ln -s custom-$CUSTOM.h library/custom.h fi mkdir -p include/qpe ( cd include/qpe && rm -f *.h; ln -s ../../library/*.h .; ln -s ../../library/backend/*.h .; rm -f *_p.h; ) mkdir -p include/qtopia ( cd include/qtopia && rm -f *.h; ln -s ../../library/*.h .; ) mkdir -p include/qtopia/private ( cd include/qtopia/private && rm -f *.h; ln -s ../../../library/backend/*.h .; ) mkdir -p include/opie ( cd include/opie && rm -f *.h; ln -s ../../libopie/*.h .; rm -f *_p.h; ) ( cd include/opie && ln -s ../../libsql/*.h .; ) +( cd include/opie && ln -s ../../libopie/pim/*.h .; ) echo Creating makefiles... # Set version for library directly # Version 1.5.0 right now for compat. sed -e 's/^\(VERSION.*= \).*/\1'1.5.0.$VERSION_PAT/ <library/library.pro >library/library.pro-v mv library/library.pro-v library/library.pro if [ "$QT3" = yes ] then VCONFIG="CONFIG+=qt3" else VCONFIG="CONFIG+=qt2" fi if [ -f $TMAKEPATH/tmake.conf ] then # You have tmake. We'll regenerate the file for you... echo "Makefiles will be regenerated." fi H=`pwd` if [ -z "$TOMAKE" ] then TOMAKE=`make showcomponents` fi for a in $TOMAKE ; do N=$a/Makefile M=$a/Makefile.in O=$a/Makefile.add f=`basename $a` if [ -f "$TMAKEPATH/tmake.conf" -a -f "$a/$f.pro" ] then ( cd $a; TMAKEPATH=$QTDIR/tmake:$TMAKEPATH \ tmake $QCONFIGARG CONFIG+=embedded $VCONFIG \ -t $H/qt/tmake/propagate.t $f.pro | sed -e "s|$QTDIR|\$(QTDIR)|g" -e "s|$OPIEDIR|\$(OPIEDIR)|g" >Makefile.in; ) echo -n "." # echo Building $N.. appname=`grep '^TARGET' $a/$f.pro | sed 's/^TARGET.*=//' | tr -d " \t"` translation=`grep '^TRANSLATION.*[^+]=.*' $a/$f.pro | sed 's,^TRANSL.*=.*i18n\/.*\/,,' | sed 's/ //g' | sed 's,\.ts.*,,' | sed 's,^lib,,' ` if [ -n "$translation" -a -n "$appname" ] then if [ "$appname" != "$translation" ] |