Convert to Elf.

This commit is contained in:
Scott Mace 1998-09-14 22:33:48 +00:00
parent f74a079f9c
commit 380961dbc9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=13123
3 changed files with 10 additions and 6 deletions

View File

@ -4,7 +4,7 @@
# Date created: 2 Feb 1997
# Whom: ache
#
# $Id: Makefile,v 1.2 1997/02/02 21:25:02 ache Exp $
# $Id: Makefile,v 1.3 1997/07/17 15:12:58 max Exp $
#
PKGNAME= rsaref-2.0
@ -30,12 +30,15 @@ do-install:
${INSTALL_DATA} rsa.h _des.h _md2.h _md5.h rsaref.h global.h \
${PREFIX}/include
cd ${WRKSRC} && \
${INSTALL_DATA} librsaref.a librsaref.so.2.0 \
${INSTALL_DATA} librsaref.a librsaref.so.2 \
${PREFIX}/lib
${LDCONFIG} -m ${PREFIX}/lib
(cd ${PREFIX}/lib; ln -sf librsaref.so.2 librsaref.so)
install -d -m 555 ${PREFIX}/share/doc/rsaref
cd ${WRKDIR}/doc && \
${INSTALL_DATA} info.txt rsaref.txt \
${PREFIX}/share/doc/rsaref
post-install:
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
.include <bsd.port.mk>

View File

@ -8,7 +8,7 @@ LIB= ar
${CC} -fpic -DPIC ${CFLAGS} -c ${.IMPSRC} -o ${.TARGET}
RSAREFLIB=librsaref.a
SORSAREFLIB=librsaref.so.2.0
SORSAREFLIB=librsaref.so.2
all: ${RSAREFLIB} ${SORSAREFLIB}
@ -21,5 +21,5 @@ $(RSAREFLIB) : desc.$(O) digit.$(O) md2c.$(O) md5c.$(O) nn.$(O) prime.$(O)\
$(SORSAREFLIB) : desc.$(SO) digit.$(SO) md2c.$(SO) md5c.$(SO) nn.$(SO) prime.$(SO)\
rsa.$(SO) r_encode.$(SO) r_dh.$(SO) r_enhanc.$(SO) r_keygen.$(SO) r_random.$(SO)\
r_stdlib.$(SO)
ld -Bshareable -x -o $@ $>
${CC} -o $@ -shared -Wl,-rpath,${PREFIX}/lib -Wl,-soname,$@ $>

View File

@ -1,5 +1,6 @@
lib/librsaref.a
lib/librsaref.so.2.0
lib/librsaref.so.2
lib/librsaref.so
@exec /sbin/ldconfig -m %B
@unexec /sbin/ldconfig -R
include/rsa.h