1999-08-28 01:35:59 +00:00
|
|
|
# $FreeBSD$
|
1997-05-28 15:44:22 +00:00
|
|
|
|
|
|
|
PROG= keyserv
|
1998-05-09 13:32:37 +00:00
|
|
|
SRCS= keyserv.c setkey.c keyserv_uid.c crypt_svc.c crypt_server.c crypt.h
|
1997-05-28 15:44:22 +00:00
|
|
|
|
|
|
|
MAN8= keyserv.8
|
|
|
|
|
|
|
|
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
|
|
|
|
1997-12-16 17:43:33 +00:00
|
|
|
DPADD= ${LIBMP} ${LIBRPCSVC}
|
|
|
|
LDADD= -lmp -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>
|