diff options
author | Julian Seward <jseward@acm.org> | 2001-12-30 22:13:13 +0100 |
---|---|---|
committer | Julian Seward <jseward@acm.org> | 2001-12-30 22:13:13 +0100 |
commit | 099d844292f60f9d58914da29e5773204dc55e7a (patch) | |
tree | 04bdb38dbcd894d6fdbbc3253e216d029cade5c6 /Makefile-libbz2_so | |
parent | 795b859eee96c700e8f3c3fe68e6a9a39d95797c (diff) | |
download | bzip2-1.0.2.tar.gz bzip2-1.0.2.tar.bz2 bzip2-1.0.2.zip |
bzip2-1.0.2bzip2-1.0.2
Diffstat (limited to 'Makefile-libbz2_so')
-rw-r--r-- | Makefile-libbz2_so | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/Makefile-libbz2_so b/Makefile-libbz2_so index a347c50..4986fe2 100644 --- a/Makefile-libbz2_so +++ b/Makefile-libbz2_so | |||
@@ -1,8 +1,9 @@ | |||
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.1, with soname libbz2.so.1.0, | 3 | # libbz2.so.1.0.2, with soname libbz2.so.1.0, |
4 | # at least on x86-Linux (RedHat 5.2), | 4 | # at least on x86-Linux (RedHat 7.2), |
5 | # with gcc-2.7.2.3. Please see the README file for some | 5 | # with gcc-2.96 20000731 (Red Hat Linux 7.1 2.96-98). |
6 | # Please see the README file for some | ||
6 | # important info about building the library like this. | 7 | # important info about building the library like this. |
7 | 8 | ||
8 | SHELL=/bin/sh | 9 | SHELL=/bin/sh |
@@ -19,13 +20,13 @@ OBJS= blocksort.o \ | |||
19 | bzlib.o | 20 | bzlib.o |
20 | 21 | ||
21 | all: $(OBJS) | 22 | all: $(OBJS) |
22 | $(CC) -shared -Wl,-soname -Wl,libbz2.so.1.0 -o libbz2.so.1.0.1 $(OBJS) | 23 | $(CC) -shared -Wl,-soname -Wl,libbz2.so.1.0 -o libbz2.so.1.0.2 $(OBJS) |
23 | $(CC) $(CFLAGS) -o bzip2-shared bzip2.c libbz2.so.1.0.1 | 24 | $(CC) $(CFLAGS) -o bzip2-shared bzip2.c libbz2.so.1.0.2 |
24 | rm -f libbz2.so.1.0 | 25 | rm -f libbz2.so.1.0 |
25 | ln -s libbz2.so.1.0.1 libbz2.so.1.0 | 26 | ln -s libbz2.so.1.0.2 libbz2.so.1.0 |
26 | 27 | ||
27 | clean: | 28 | clean: |
28 | rm -f $(OBJS) bzip2.o libbz2.so.1.0.1 libbz2.so.1.0 bzip2-shared | 29 | rm -f $(OBJS) bzip2.o libbz2.so.1.0.2 libbz2.so.1.0 bzip2-shared |
29 | 30 | ||
30 | blocksort.o: blocksort.c | 31 | blocksort.o: blocksort.c |
31 | $(CC) $(CFLAGS) -c blocksort.c | 32 | $(CC) $(CFLAGS) -c blocksort.c |