freebsd-dev/usr.sbin/keyserv/Makefile
Alfred Perlstein 4ed6d63483 Hopefully fix some of the bugs in passing credentials over UNIX domain sockets.
Make struct cmessage visible from socket.h (about 4 places were
defining it for themselves which wasn't good)

Make __rpc_get_local_uid() useable and give it prototype that's
visible.

Fix some issues with printing out usernames from rpcbind and keyserv.
2001-03-22 04:31:30 +00:00

27 lines
505 B
Makefile

# $FreeBSD$
PROG= keyserv
SRCS= keyserv.c setkey.c crypt_svc.c crypt_server.c crypt.h
CFLAGS+= -DKEYSERV_RANDOM -DBROKEN_DES -I.
.if $(OBJFORMAT) == elf
CFLAGS+= -DOBJFORMAT_ELF
.endif
DPADD= ${LIBMP} ${LIBRPCSVC}
LDADD= -lmp -lrpcsvc
RPCDIR= ${DESTDIR}/usr/include/rpcsvc
CLEANFILES= crypt_svc.c crypt.h
RPCGEN= rpcgen -C
crypt_svc.c: ${RPCDIR}/crypt.x
${RPCGEN} -m -o ${.TARGET} ${RPCDIR}/crypt.x
crypt.h: ${RPCDIR}/crypt.x
${RPCGEN} -h -o ${.TARGET} ${RPCDIR}/crypt.x
.include <bsd.prog.mk>