summaryrefslogtreecommitdiff
path: root/textproc/sp/files/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/sp/files/patch-ad')
-rw-r--r--textproc/sp/files/patch-ad35
1 files changed, 35 insertions, 0 deletions
diff --git a/textproc/sp/files/patch-ad b/textproc/sp/files/patch-ad
new file mode 100644
index 000000000000..a2de3818c2b6
--- /dev/null
+++ b/textproc/sp/files/patch-ad
@@ -0,0 +1,35 @@
+--- Makefile.lib.orig Sun Dec 21 05:07:22 1997
++++ Makefile.lib Wed Jun 2 16:00:57 1999
+@@ -1,16 +1,30 @@
+-CLEANFILES=lib$(LIB).a $(OBJS) $(COBJS) core
++prefix=/usr/local
++exec_prefix=$(prefix)
++# Where to install the binaries
++bindir=$(exec_prefix)/bin
++libdir=$(exec_prefix)/lib
++#INSTALL=cp
++# You might want to change this to uncomment this on BSD systems
++INSTALL=install -c
++VERSION=1
++CLEANFILES=lib$(LIB).a lib$(LIB).so.$(VERSION) $(OBJS) $(COBJS) core
+ ALL_CXXFLAGS=$(CXXFLAGS) -I$(srcdir) -I$(srcdir)/../include $(INCLUDE) \
+ $(DEFINES) $(PIC_FLAG)
+ ALL_CFLAGS=$(CFLAGS) $(DEBUG) $(OPTIMIZE) $(INCLUDE) $(DEFINES) $(PIC_FLAG)
+
+-all: lib$(LIB).a
++all: lib$(LIB).a lib$(LIB).so.$(VERSION)
+ pure: all
+
+ lib$(LIB).a: $(OBJS) $(COBJS)
+ $(AR) r $@ $?
+ $(RANLIB) $@
+
++lib$(LIB).so.$(VERSION): $(SOBJS) $(SCOBJS)
++ $(CC) -shared -o lib$(LIB).so.$(VERSION) $(SOBJS) $(SCOBJS)
++
+ install:
++ $(INSTALL) lib$(LIB).a $(libdir)
++ $(INSTALL) lib$(LIB).so.$(VERSION) $(libdir)
+ install-man:
+ depend: depend_src
+ depend.temp: $(GENSRCS)