Removed
Link Here
|
1 |
--- lib/Makefile.in.orig Wed Jul 13 00:04:25 2005 |
2 |
+++ lib/Makefile.in Wed Jul 13 00:08:12 2005 |
3 |
@@ -56,8 +56,10 @@ |
4 |
${srcdir}/libtar.h \ |
5 |
${srcdir}/internal.h \ |
6 |
../listhash/libtar_listhash.h |
7 |
-LIBTAR_LIBS = ./libtar.a |
8 |
-ALL = libtar.a |
9 |
+LIBTAR_LIBS = ./libtar.a |
10 |
+SHARED_LIB = libtar.so |
11 |
+SHARED_LIB_VER = $(SHARED_LIB).0 |
12 |
+ALL = libtar.a $(SHARED_LIB_VER) |
13 |
|
14 |
DISTCLEANFILES = ../listhash/libtar_listhash.h \ |
15 |
../listhash/libtar_list.c \ |
16 |
@@ -71,6 +73,9 @@ |
17 |
libtar.a: ${LIBTAR_OBJS} ${LIBOBJS} |
18 |
${AR} rc libtar.a ${LIBTAR_OBJS} ${LIBOBJS} |
19 |
${RANLIB} libtar.a |
20 |
+ |
21 |
+${SHARED_LIB_VER}: libtar.a ${LIBTAR_OBJS} ${LIBOBJS} |
22 |
+ ${CC} ${CFLAGS} -shared -Wl,-soname,${SHARED_LIB_VER} -o ${SHARED_LIB_VER} ${LIBTAR_OBJS} ${LIBOBJS} ${LDFLAGS} |
23 |
|
24 |
${LIBTAR_OBJS}: ${LIBTAR_HDRS} |
25 |
|