summaryrefslogtreecommitdiff
path: root/ics-openvpn-stripped/main/lzo/B/generic/build.sh
diff options
context:
space:
mode:
authorParménides GV <parmegv@sdf.org>2014-12-12 18:02:40 +0100
committerParménides GV <parmegv@sdf.org>2014-12-12 18:04:08 +0100
commit97aded26654ede8204a313dd6967b678a72a2a10 (patch)
tree5c519d75774eff664df41881777cbae171caddf5 /ics-openvpn-stripped/main/lzo/B/generic/build.sh
parent0e7e4005460964cf8dac080e3d99e1df2a1bdc4d (diff)
Updated ics-openvpn to last rev 14 Nov 2014.
Material design! It still doesn't run properly on my tablet, openvpn keeps getting down and exiting.
Diffstat (limited to 'ics-openvpn-stripped/main/lzo/B/generic/build.sh')
-rwxr-xr-xics-openvpn-stripped/main/lzo/B/generic/build.sh69
1 files changed, 0 insertions, 69 deletions
diff --git a/ics-openvpn-stripped/main/lzo/B/generic/build.sh b/ics-openvpn-stripped/main/lzo/B/generic/build.sh
deleted file mode 100755
index 0480314e..00000000
--- a/ics-openvpn-stripped/main/lzo/B/generic/build.sh
+++ /dev/null
@@ -1,69 +0,0 @@
-#! /bin/sh
-# vi:ts=4:et
-set -e
-echo "// Copyright (C) 1996-2014 Markus F.X.J. Oberhumer"
-echo "//"
-echo "// Generic Posix/Unix system"
-echo "// Generic C compiler"
-
-test "X${top_srcdir}" = X && top_srcdir=`echo "$0" | sed 's,[^/]*$,,'`../..
-
-test "X${AR}" = X && AR="ar"
-test "X${CC}" = X && CC="cc"
-test "X${CFLAGS+set}" = Xset || CFLAGS="-O"
-# CPPFLAGS, LDFLAGS, LIBS
-# LZO_EXTRA_CPPFLAGS, LZO_EXTRA_CFLAGS, LZO_EXTRA_LDFLAGS
-# LZO_EXTRA_SOURCES, LZO_EXTRA_OBJECTS, LZO_EXTRA_LIBS
-
-CFI="-I${top_srcdir}/include -I${top_srcdir} -I${top_srcdir}/src"
-BNAME=lzo2
-BLIB=lib${BNAME}.a
-
-CF="$CPPFLAGS $CFI $CFLAGS"
-# info: we restrict ourselves to pure ANSI C library functions for the examples
-CF="-DLZO_LIBC_ISOC90=1 $CF"
-# info: we do not use _any_ external functions in freestanding mode
-test -z "$LZO_CFG_FREESTANDING" || CF="-DLZO_CFG_FREESTANDING=1 $CF"
-LF="$LDFLAGS $LZO_EXTRA_LDFLAGS"
-LL="$BLIB $LIBS $LZO_EXTRA_LIBS"
-
-. $top_srcdir/B/generic/clean.sh
-
-for f in $top_srcdir/src/*.c $LZO_EXTRA_SOURCES; do
- echo $CC $CF $LZO_EXTRA_CPPFLAGS $LZO_EXTRA_CFLAGS -c $f
- $CC $CF $LZO_EXTRA_CPPFLAGS $LZO_EXTRA_CFLAGS -c $f
-done
-
-echo $AR rcs $BLIB *.o $LZO_EXTRA_OBJECTS
- $AR rcs $BLIB *.o $LZO_EXTRA_OBJECTS
-
-
-if test -n "$LZO_CFG_FREESTANDING"; then
-
-echo "//"
-echo "// Building $BLIB in freestanding mode was successful. All done."
-echo "// Now try 'nm --extern-only $BLIB'"
-
-else
-
-for f in dict lzopack precomp precomp2 simple; do
- echo $CC $CF $LF -o $f.out $top_srcdir/examples/$f.c $LL
- $CC $CF $LF -o $f.out $top_srcdir/examples/$f.c $LL
-done
-echo $CC $CF $LF -o lzotest.out $top_srcdir/lzotest/lzotest.c $LL
- $CC $CF $LF -o lzotest.out $top_srcdir/lzotest/lzotest.c $LL
-
-for f in minilzo.c testmini.c; do
- XF="-I$top_srcdir/include/lzo $CF $LZO_EXTRA_CPPFLAGS $LZO_EXTRA_CFLAGS"
- echo $CC $XF -c $top_srcdir/minilzo/$f
- $CC $XF -c $top_srcdir/minilzo/$f
-done
-echo $CC $CF $LF -o testmini.out testmini.o minilzo.o $LIBS $LZO_EXTRA_LIBS
- $CC $CF $LF -o testmini.out testmini.o minilzo.o $LIBS $LZO_EXTRA_LIBS
-
-
-echo "//"
-echo "// Building LZO was successful. All done."
-
-fi
-true