summaryrefslogtreecommitdiffstats
path: root/contrib/bzip2/Makefile-libbz2_so
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2007-03-28 07:35:07 +0000
committerdelphij <delphij@FreeBSD.org>2007-03-28 07:35:07 +0000
commitc3bc200c292b4fb641c71bb2ce1a4ed0f94a2d96 (patch)
tree30b6b8d9607f5ea13e0735b36da610addd8e2ae6 /contrib/bzip2/Makefile-libbz2_so
parente5b7fa1b9f7f3ed1d3bb27b6fae45ad995f86ed8 (diff)
parent38743755054b9b2e511c49d77a6364bc653ac406 (diff)
downloadFreeBSD-src-c3bc200c292b4fb641c71bb2ce1a4ed0f94a2d96.zip
FreeBSD-src-c3bc200c292b4fb641c71bb2ce1a4ed0f94a2d96.tar.gz
This commit was generated by cvs2svn to compensate for changes in r167974,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'contrib/bzip2/Makefile-libbz2_so')
-rw-r--r--contrib/bzip2/Makefile-libbz2_so31
1 files changed, 23 insertions, 8 deletions
diff --git a/contrib/bzip2/Makefile-libbz2_so b/contrib/bzip2/Makefile-libbz2_so
index 458c5a1..2b65f3b 100644
--- a/contrib/bzip2/Makefile-libbz2_so
+++ b/contrib/bzip2/Makefile-libbz2_so
@@ -1,15 +1,30 @@
# This Makefile builds a shared version of the library,
-# libbz2.so.1.0.3, with soname libbz2.so.1.0,
+# libbz2.so.1.0.4, with soname libbz2.so.1.0,
# at least on x86-Linux (RedHat 7.2),
# with gcc-2.96 20000731 (Red Hat Linux 7.1 2.96-98).
-# Please see the README file for some
-# important info about building the library like this.
+# Please see the README file for some important info
+# about building the library like this.
+
+# ------------------------------------------------------------------
+# This file is part of bzip2/libbzip2, a program and library for
+# lossless, block-sorting data compression.
+#
+# bzip2/libbzip2 version 1.0.4 of 20 December 2006
+# Copyright (C) 1996-2006 Julian Seward <jseward@bzip.org>
+#
+# Please read the WARNING, DISCLAIMER and PATENTS sections in the
+# README file.
+#
+# This program is released under the terms of the license contained
+# in the file LICENSE.
+# ------------------------------------------------------------------
+
SHELL=/bin/sh
CC=gcc
BIGFILES=-D_FILE_OFFSET_BITS=64
-CFLAGS=-fpic -fPIC -Wall -Winline -O -g
+CFLAGS=-fpic -fPIC -Wall -Winline -O2 -g $(BIGFILES)
OBJS= blocksort.o \
huffman.o \
@@ -20,13 +35,13 @@ OBJS= blocksort.o \
bzlib.o
all: $(OBJS)
- $(CC) -shared -Wl,-soname -Wl,libbz2.so.1.0 -o libbz2.so.1.0.3 $(OBJS)
- $(CC) $(CFLAGS) -o bzip2-shared bzip2.c libbz2.so.1.0.3
+ $(CC) -shared -Wl,-soname -Wl,libbz2.so.1.0 -o libbz2.so.1.0.4 $(OBJS)
+ $(CC) $(CFLAGS) -o bzip2-shared bzip2.c libbz2.so.1.0.4
rm -f libbz2.so.1.0
- ln -s libbz2.so.1.0.3 libbz2.so.1.0
+ ln -s libbz2.so.1.0.4 libbz2.so.1.0
clean:
- rm -f $(OBJS) bzip2.o libbz2.so.1.0.3 libbz2.so.1.0 bzip2-shared
+ rm -f $(OBJS) bzip2.o libbz2.so.1.0.4 libbz2.so.1.0 bzip2-shared
blocksort.o: blocksort.c
$(CC) $(CFLAGS) -c blocksort.c
OpenPOWER on IntegriCloud