Build shared lib too.
Submitted by: Tim Vanderhoek <ac199@freenet.hamilton.on.ca>
This commit is contained in:
parent
2edc194633
commit
6e400050e5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=6093
@ -3,7 +3,7 @@
|
||||
# Date Created: 04 Aug 1996
|
||||
# Whom: Tim Vanderhoek <ac199@freenet.hamilton.on.ca>
|
||||
#
|
||||
# $Id: Makefile,v 1.6 1997/03/29 21:45:24 obrien Exp $
|
||||
# $Id: Makefile,v 1.7 1997/03/29 22:11:59 obrien Exp $
|
||||
#
|
||||
|
||||
DISTNAME= uudeview-0.5.13
|
||||
@ -16,7 +16,7 @@ MASTER_SITES= ftp://ftp.uni-frankfurt.de/pub/dist/frank/ \
|
||||
MAINTAINER= ac199@freenet.hamilton.on.ca
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
ALL_TARGET= libuu.a # libuu.so.1.0
|
||||
ALL_TARGET= libuu.a libuu.so.1.0
|
||||
MAN3= uulib.3
|
||||
|
||||
DOCFILES+= HISTORY
|
||||
@ -31,7 +31,7 @@ DOCFILES+= doc/td-v3.c
|
||||
DOCFILES+= doc/test.txt
|
||||
|
||||
do-install:
|
||||
@# ${INSTALL_DATA} ${WRKSRC}/uulib/libuu.so.1.0 ${PREFIX}/lib
|
||||
${INSTALL_DATA} ${WRKSRC}/uulib/libuu.so.1.0 ${PREFIX}/lib
|
||||
${INSTALL_DATA} ${WRKSRC}/uulib/libuu.a ${PREFIX}/lib
|
||||
/usr/bin/ranlib ${PREFIX}/lib/libuu.a
|
||||
${INSTALL_DATA} ${WRKSRC}/uulib/uudeview.h ${PREFIX}/include/uu.h
|
||||
|
39
converters/uulib/files/patch-aa
Normal file
39
converters/uulib/files/patch-aa
Normal file
@ -0,0 +1,39 @@
|
||||
*** uulib/Makefile.in Mon Oct 14 16:19:18 1996
|
||||
--- /devel/ports/new.new.uulib/src/uulib/Makefile.in Sun Feb 9 23:37:42 1997
|
||||
***************
|
||||
*** 50,56 ****
|
||||
#
|
||||
|
||||
.SUFFIXES:
|
||||
! .SUFFIXES: .c .o
|
||||
|
||||
all: libuu.a
|
||||
|
||||
--- 50,56 ----
|
||||
#
|
||||
|
||||
.SUFFIXES:
|
||||
! .SUFFIXES: .c .o .so
|
||||
|
||||
all: libuu.a
|
||||
|
||||
***************
|
||||
*** 73,80 ****
|
||||
--- 73,89 ----
|
||||
ar r $@ $(UULIB_OBJ)
|
||||
-$(RANLIB) $@
|
||||
|
||||
+ SOBJS= $(UULIB_OBJ:.o=.so)
|
||||
+ libuu.so.1.0: $(SOBJS)
|
||||
+ rm -f $(.TARGET)
|
||||
+ ld -Bshareable -x -o libuu.so.1.0 `lorder $(SOBJS) | tsort -q`
|
||||
+
|
||||
+ .c.so:
|
||||
+ $(CC) -fpic -DPIC -c -o $(.TARGET) $(CFLAGS) $(VDEF) $(.IMPSRC)
|
||||
+
|
||||
.c.o:
|
||||
$(CC) -c $(CFLAGS) $(VDEF) $<
|
||||
+
|
||||
|
||||
uuencode.o: uuencode.c uudeview.h uuint.h uustring.h fptools.h config.h
|
||||
uulib.o: uulib.c uudeview.h uuint.h uustring.h fptools.h config.h
|
14
converters/uulib/files/patch-ab
Normal file
14
converters/uulib/files/patch-ab
Normal file
@ -0,0 +1,14 @@
|
||||
*** Makefile.in Mon Oct 14 16:19:01 1996
|
||||
--- /devel/ports/new.new.uulib/src/Makefile.in Mon Feb 10 00:03:24 1997
|
||||
***************
|
||||
*** 170,175 ****
|
||||
--- 170,179 ----
|
||||
libuu.a: uulib/config.h
|
||||
(cd uulib; $(MAKE) CC='$(CC)' CFLAGS='$(CFLAGS)' LIBS='$(LIBS)' )
|
||||
|
||||
+ libuu.so.1.0: uulib/config.h
|
||||
+ (cd uulib; $(MAKE) CC='$(CC)' CFLAGS='$(CFLAGS)' LIBS='$(LIBS)' \
|
||||
+ libuu.so.1.0 )
|
||||
+
|
||||
minews:
|
||||
(cd inews; $(MAKE) CC='$(CC)' CFLAGS='$(CFLAGS)' LIBS='$(LIBS)' )
|
@ -1,4 +1,5 @@
|
||||
lib/libuu.a
|
||||
lib/libuu.so.1.0
|
||||
include/uu.h
|
||||
share/doc/uulib/Makefile
|
||||
share/doc/uulib/README
|
||||
|
Loading…
Reference in New Issue
Block a user