head	1.1;
branch	1.1.1;
access;
symbols
	pjones-sparse-experiment:1.1.1.1.0.10
	rpm-4_4:1.1.1.1.0.8
	rpm-4_3_1-start:1.1.1.1
	rpm-4_3:1.1.1.1.0.6
	rpm-4_2_1-release:1.1.1.1
	rpm-4_1_1-release:1.1.1.1
	rpm-4_2-release:1.1.1.1
	rpm-4_2:1.1.1.1.0.4
	rpm-4_1-release:1.1.1.1
	rpm-4_1:1.1.1.1.0.2
	bzip2-1_0_1:1.1.1.1
	bzip2-1_0_1-vendor:1.1.1;
locks; strict;
comment	@# @;


1.1
date	2001.11.21.19.45.47;	author jbj;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2001.11.21.19.45.47;	author jbj;	state Exp;
branches
	1.1.1.1.8.1;
next	;

1.1.1.1.8.1
date	2004.11.19.15.48.28;	author jbj;	state dead;
branches;
next	;


desc
@@


1.1
log
@Initial revision
@
text
@
# This Makefile builds a shared version of the library, 
# libbz2.so.1.0.1, with soname libbz2.so.1.0,
# at least on x86-Linux (RedHat 5.2), 
# with gcc-2.7.2.3.  Please see the README file for some 
# important info about building the library like this.

SHELL=/bin/sh
CC=gcc
BIGFILES=-D_FILE_OFFSET_BITS=64
CFLAGS=-fpic -fPIC -Wall -Winline -O2 -fomit-frame-pointer -fno-strength-reduce $(BIGFILES)

OBJS= blocksort.o  \
      huffman.o    \
      crctable.o   \
      randtable.o  \
      compress.o   \
      decompress.o \
      bzlib.o

all: $(OBJS)
	$(CC) -shared -Wl,-soname -Wl,libbz2.so.1.0 -o libbz2.so.1.0.1 $(OBJS)
	$(CC) $(CFLAGS) -o bzip2-shared bzip2.c libbz2.so.1.0.1
	rm -f libbz2.so.1.0
	ln -s libbz2.so.1.0.1 libbz2.so.1.0

clean: 
	rm -f $(OBJS) bzip2.o libbz2.so.1.0.1 libbz2.so.1.0 bzip2-shared

blocksort.o: blocksort.c
	$(CC) $(CFLAGS) -c blocksort.c
huffman.o: huffman.c
	$(CC) $(CFLAGS) -c huffman.c
crctable.o: crctable.c
	$(CC) $(CFLAGS) -c crctable.c
randtable.o: randtable.c
	$(CC) $(CFLAGS) -c randtable.c
compress.o: compress.c
	$(CC) $(CFLAGS) -c compress.c
decompress.o: decompress.c
	$(CC) $(CFLAGS) -c decompress.c
bzlib.o: bzlib.c
	$(CC) $(CFLAGS) -c bzlib.c
@


1.1.1.1
log
@track: auto import
@
text
@@


1.1.1.1.8.1
log
@Not on rpm-4_4.
@
text
@@

