head	1.10;
access;
symbols
	RELEASE_4_9_0:1.9
	RELEASE_5_1_0:1.9
	RELEASE_4_8_0:1.9
	RELEASE_5_0_0:1.9
	RELEASE_4_7_0:1.9
	RELEASE_4_6_2:1.9
	RELEASE_4_6_1:1.9
	RELEASE_4_6_0:1.9
	RELEASE_5_0_DP1:1.9
	RELEASE_4_5_0:1.9
	RELEASE_4_4_0:1.9
	RELEASE_4_3_0:1.9
	RELEASE_4_2_0:1.9
	RELEASE_4_1_1:1.9
	RELEASE_4_1_0:1.9
	RELEASE_3_5_0:1.9
	RELEASE_4_0_0:1.9
	RELEASE_3_4_0:1.7
	RELEASE_3_3_0:1.7
	RELEASE_3_2_0:1.7
	RELEASE_3_1_0:1.7
	RELEASE_2_2_8:1.7
	RELEASE_3_0_0:1.7
	RELEASE_2_2_7:1.1.1.1
	RELEASE_2_2_6:1.1.1.1
	RELEASE_2_2_5:1.1.1.1
	RELEASE_2_2_1:1.1.1.1
	RELEASE_2_2_2:1.1.1.1
	ache:1.1.1.1;
locks; strict;
comment	@# @;


1.10
date	2003.10.05.03.58.53;	author kris;	state dead;
branches;
next	1.9;

1.9
date	2000.02.21.11.38.00;	author kris;	state Exp;
branches;
next	1.8;

1.8
date	2000.02.21.09.19.18;	author kris;	state Exp;
branches;
next	1.7;

1.7
date	98.09.16.22.48.46;	author smace;	state Exp;
branches;
next	1.6;

1.6
date	98.09.16.14.08.49;	author smace;	state Exp;
branches;
next	1.5;

1.5
date	98.09.15.14.54.01;	author smace;	state Exp;
branches;
next	1.4;

1.4
date	98.09.15.14.49.08;	author smace;	state Exp;
branches;
next	1.3;

1.3
date	98.09.15.03.38.56;	author smace;	state Exp;
branches;
next	1.2;

1.2
date	98.09.14.22.33.26;	author smace;	state Exp;
branches;
next	1.1;

1.1
date	97.02.02.20.11.07;	author ache;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	97.02.02.20.11.07;	author ache;	state Exp;
branches;
next	;


desc
@@


1.10
log
@Remove the rsaref port, which fulfilled its usefulness a long time ago.
@
text
@# $FreeBSD: ports/security/rsaref/files/Makefile,v 1.9 2000/02/21 11:38:00 kris Exp $

O= o
SO= so
LIB= ar

.SUFFIXES: .c .so .o

.c.so:
	${CC} -fpic -DPIC ${CFLAGS} -c ${.IMPSRC} -o ${.TARGET}

RSAREFLIB=librsaref.a
SORSAREFLIB=librsaref.so.2

all: ${RSAREFLIB} ${SORSAREFLIB}

$(RSAREFLIB) : desc.$(O) digit.$(O) md2c.$(O) md5c.$(O) nn.$(O) prime.$(O)\
  rsa.$(O) r_encode.$(O) r_dh.$(O) r_enhanc.$(O) r_keygen.$(O) r_random.$(O)\
  r_stdlib.$(O)
	$(LIB) rc $@@ $>
	ranlib $@@

$(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)
.if ${PORTOBJFORMAT} == elf
	${CC} -o $@@ -shared -Wl,-soname,$@@ $>
.else
	ld -Bshareable -x -o $@@ $>
.endif
@


1.9
log
@Oops, previous commit broke installing. Fix this and reorganise a bit
more.
@
text
@d1 1
a1 1
# $FreeBSD: ports/security/rsaref/files/Makefile,v 1.8 2000/02/21 09:19:18 kris Exp $
@


1.8
log
@Clean up the makefile a bit (PR) and add a bunch of new MASTER_SITEs

PR:	15970
Submitted by:	tkato@@prontomail.ne.jp
@
text
@d1 1
a1 1
# $FreeBSD$
a12 1
.if ${PORTOBJFORMAT} == elf
a13 3
.else
SORSAREFLIB=librsaref.so.2.0
.endif
a30 5

install:
	${INSTALL_DATA} rsa.h _des.h _md2.h _md5.h rsaref.h global.h ${PREFIX}/include
	${INSTALL_DATA} ${RSAREFLIB} ${SORSAREFLIB} ${PREFIX}/lib
	ln -sf ${SORSAREFLIB} ${PREFIX}/lib/librsaref.so
@


1.7
log
@Fix Package build for aout system
symlink .so in all cases
@
text
@d1 2
d37 3
a39 8
	install -c -m 444 -o bin -g bin rsa.h _des.h _md2.h _md5.h rsaref.h global.h ${PREFIX}/include
.if ${PORTOBJFORMAT} == elf
	install -c -m 644 -o bin -g bin librsaref.a librsaref.so.2 ${PREFIX}/lib
	(cd ${PREFIX}/lib; ln -sf librsaref.so.2 librsaref.so)
.else
	install -c -m 644 -o bin -g bin librsaref.a librsaref.so.2.0 ${PREFIX}/lib
	(cd ${PREFIX}/lib; ln -sf librsaref.so.2.0 librsaref.so)
.endif
@


1.6
log
@Fix building problems on aout system
@
text
@d41 1
@


1.5
log
@fix typo in previous commit
@
text
@d11 1
d13 3
d28 1
a28 1
.if defined(PORTOBJFORMAT) && ${PORTOBJFORMAT} == elf
d34 8
a41 1

@


1.4
log
@Support building on non-elf machine
@
text
@d24 1
a24 1
.if defined(PORTOBJFORMAT) && PORTOBJFORMAT == elf
@


1.3
log
@make ELF conversion comply with standard
@
text
@d24 1
d26 4
@


1.2
log
@Convert to Elf.
@
text
@d24 1
a24 1
	${CC} -o $@@ -shared -Wl,-rpath,${PREFIX}/lib -Wl,-soname,$@@ $>
@


1.1
log
@Initial revision
@
text
@d11 1
a11 1
SORSAREFLIB=librsaref.so.2.0
d24 1
a24 1
	ld -Bshareable -x -o $@@ $>
@


1.1.1.1
log
@encryption/authentication library, RSA/MDX/DES
@
text
@@
