1999-08-28 01:35:59 +00:00
|
|
|
# $FreeBSD$
|
1997-05-28 15:44:22 +00:00
|
|
|
|
|
|
|
PROG= keyserv
|
2001-03-26 14:42:20 +00:00
|
|
|
MAN= keyserv.8
|
2001-07-20 06:20:32 +00:00
|
|
|
SRCS= keyserv.c setkey.c crypt_svc.c crypt_server.c crypt.h
|
2001-03-26 14:42:20 +00:00
|
|
|
|
1997-05-28 15:44:22 +00:00
|
|
|
CFLAGS+= -DKEYSERV_RANDOM -DBROKEN_DES -I.
|
1998-09-16 01:50:04 +00:00
|
|
|
.if $(OBJFORMAT) == elf
|
|
|
|
CFLAGS+= -DOBJFORMAT_ELF
|
|
|
|
.endif
|
1997-05-28 15:44:22 +00:00
|
|
|
|
2001-07-30 11:18:09 +00:00
|
|
|
DPADD= ${LIBMP} ${LIBCRYPTO} ${LIBRPCSVC}
|
2001-07-29 08:58:22 +00:00
|
|
|
LDADD= -lmp -lcrypto -lrpcsvc
|
1997-05-28 15:44:22 +00:00
|
|
|
|
|
|
|
RPCDIR= ${DESTDIR}/usr/include/rpcsvc
|
|
|
|
|
|
|
|
CLEANFILES= crypt_svc.c crypt.h
|
|
|
|
|
|
|
|
RPCGEN= rpcgen -C
|
|
|
|
|
1998-05-09 13:32:37 +00:00
|
|
|
crypt_svc.c: ${RPCDIR}/crypt.x
|
1997-05-28 15:44:22 +00:00
|
|
|
${RPCGEN} -m -o ${.TARGET} ${RPCDIR}/crypt.x
|
|
|
|
|
|
|
|
crypt.h: ${RPCDIR}/crypt.x
|
|
|
|
${RPCGEN} -h -o ${.TARGET} ${RPCDIR}/crypt.x
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|