aboutsummaryrefslogtreecommitdiff
path: root/Makefile-libbz2_so
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile-libbz2_so')
-rw-r--r--Makefile-libbz2_so12
1 files changed, 6 insertions, 6 deletions
diff --git a/Makefile-libbz2_so b/Makefile-libbz2_so
index 4986fe2..458c5a1 100644
--- a/Makefile-libbz2_so
+++ b/Makefile-libbz2_so
@@ -1,6 +1,6 @@
1 1
2# This Makefile builds a shared version of the library, 2# This Makefile builds a shared version of the library,
3# libbz2.so.1.0.2, with soname libbz2.so.1.0, 3# libbz2.so.1.0.3, with soname libbz2.so.1.0,
4# at least on x86-Linux (RedHat 7.2), 4# at least on x86-Linux (RedHat 7.2),
5# with gcc-2.96 20000731 (Red Hat Linux 7.1 2.96-98). 5# with gcc-2.96 20000731 (Red Hat Linux 7.1 2.96-98).
6# Please see the README file for some 6# Please see the README file for some
@@ -9,7 +9,7 @@
9SHELL=/bin/sh 9SHELL=/bin/sh
10CC=gcc 10CC=gcc
11BIGFILES=-D_FILE_OFFSET_BITS=64 11BIGFILES=-D_FILE_OFFSET_BITS=64
12CFLAGS=-fpic -fPIC -Wall -Winline -O2 -fomit-frame-pointer -fno-strength-reduce $(BIGFILES) 12CFLAGS=-fpic -fPIC -Wall -Winline -O -g
13 13
14OBJS= blocksort.o \ 14OBJS= blocksort.o \
15 huffman.o \ 15 huffman.o \
@@ -20,13 +20,13 @@ OBJS= blocksort.o \
20 bzlib.o 20 bzlib.o
21 21
22all: $(OBJS) 22all: $(OBJS)
23 $(CC) -shared -Wl,-soname -Wl,libbz2.so.1.0 -o libbz2.so.1.0.2 $(OBJS) 23 $(CC) -shared -Wl,-soname -Wl,libbz2.so.1.0 -o libbz2.so.1.0.3 $(OBJS)
24 $(CC) $(CFLAGS) -o bzip2-shared bzip2.c libbz2.so.1.0.2 24 $(CC) $(CFLAGS) -o bzip2-shared bzip2.c libbz2.so.1.0.3
25 rm -f libbz2.so.1.0 25 rm -f libbz2.so.1.0
26 ln -s libbz2.so.1.0.2 libbz2.so.1.0 26 ln -s libbz2.so.1.0.3 libbz2.so.1.0
27 27
28clean: 28clean:
29 rm -f $(OBJS) bzip2.o libbz2.so.1.0.2 libbz2.so.1.0 bzip2-shared 29 rm -f $(OBJS) bzip2.o libbz2.so.1.0.3 libbz2.so.1.0 bzip2-shared
30 30
31blocksort.o: blocksort.c 31blocksort.o: blocksort.c
32 $(CC) $(CFLAGS) -c blocksort.c 32 $(CC) $(CFLAGS) -c blocksort.c