summaryrefslogtreecommitdiff
path: root/B/generic
diff options
context:
space:
mode:
authorKévin THIERRY <kevin.thierry@open.eurogiciel.org>2014-12-23 14:06:25 +0100
committerKévin THIERRY <kevin.thierry@open.eurogiciel.org>2014-12-23 14:06:25 +0100
commit79a9578a33ecd3093970bd18df677edc9214fafb (patch)
tree8ae5c6780a1fcd2124e71f27ad9b4256acd24268 /B/generic
parent1bb1ce141783168d44a38cd1bb6b822eb13114fc (diff)
downloadlzo-79a9578a33ecd3093970bd18df677edc9214fafb.tar.gz
lzo-79a9578a33ecd3093970bd18df677edc9214fafb.tar.bz2
lzo-79a9578a33ecd3093970bd18df677edc9214fafb.zip
Imported Upstream version 2.08upstream/2.08sandbox/kevinthierry/upstream
Diffstat (limited to 'B/generic')
-rw-r--r--B/generic/Makefile4
-rwxr-xr-xB/generic/build.sh4
-rwxr-xr-xB/generic/build_gcc.sh2
-rwxr-xr-xB/generic/clean.sh2
4 files changed, 6 insertions, 6 deletions
diff --git a/B/generic/Makefile b/B/generic/Makefile
index 88caf3a..322ebe8 100644
--- a/B/generic/Makefile
+++ b/B/generic/Makefile
@@ -1,4 +1,4 @@
-# Copyright (C) 1996-2008 Markus F.X.J. Oberhumer
+# Copyright (C) 1996-2014 Markus F.X.J. Oberhumer
#
# this is modelled after build.sh; needs GNU make 3.80 or better
@@ -14,7 +14,7 @@ AR ?= ar
CC ?= cc
CFLAGS ?= -O
-CFI = -I$(top_srcdir)/include -I$(top_srcdir)
+CFI = -I$(top_srcdir)/include -I$(top_srcdir) -I$(top_srcdir)/src
BNAME = lzo2
BLIB = lib$(BNAME).a
diff --git a/B/generic/build.sh b/B/generic/build.sh
index 5456e05..0480314 100755
--- a/B/generic/build.sh
+++ b/B/generic/build.sh
@@ -1,7 +1,7 @@
#! /bin/sh
# vi:ts=4:et
set -e
-echo "// Copyright (C) 1996-2008 Markus F.X.J. Oberhumer"
+echo "// Copyright (C) 1996-2014 Markus F.X.J. Oberhumer"
echo "//"
echo "// Generic Posix/Unix system"
echo "// Generic C compiler"
@@ -15,7 +15,7 @@ test "X${CFLAGS+set}" = Xset || CFLAGS="-O"
# 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}"
+CFI="-I${top_srcdir}/include -I${top_srcdir} -I${top_srcdir}/src"
BNAME=lzo2
BLIB=lib${BNAME}.a
diff --git a/B/generic/build_gcc.sh b/B/generic/build_gcc.sh
index 3aaa4aa..179d8c0 100755
--- a/B/generic/build_gcc.sh
+++ b/B/generic/build_gcc.sh
@@ -10,7 +10,7 @@ UNAME_MACHINE=unknown
CC="gcc -fPIC"
CC="gcc -static"
CC="gcc"
-CFLAGS="-Wall -Wno-uninitialized -O2 -fomit-frame-pointer"
+CFLAGS="-Wall -O2 -fomit-frame-pointer"
# delete the next line to disable assembler support
UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
diff --git a/B/generic/clean.sh b/B/generic/clean.sh
index 0a946cc..2728d2d 100755
--- a/B/generic/clean.sh
+++ b/B/generic/clean.sh
@@ -1,6 +1,6 @@
#! /bin/sh
# vi:ts=4:et
-# Copyright (C) 1996-2008 Markus F.X.J. Oberhumer
+# Copyright (C) 1996-2014 Markus F.X.J. Oberhumer
rm -f *.o liblzo2.a dict.out lzopack.out precomp.out precomp2.out simple.out lzotest.out testmini.out