freebsd-dev/usr.sbin/keyserv/Makefile
Bryan Drewery c99b67a794 Utilize SYSROOT from r320119 in places where DESTDIR may be wanting WORLDTMP.
Since buildenv exports SYSROOT all of these uses will now look in
WORLDTMP by default.

sys/boot/efi/loader/Makefile
        A LIBSTAND hack is no longer required for buildenv.

MFC after:	2 weeks
Sponsored by:	Dell EMC Isilon
2017-06-19 20:47:24 +00:00

26 lines
475 B
Makefile

# $FreeBSD$
PROG= keyserv
MAN= keyserv.8
SRCS= keyserv.c setkey.c crypt_svc.c crypt_server.c crypt.h
CFLAGS+= -DKEYSERV_RANDOM -DBROKEN_DES -I.
LIBADD= mp rpcsvc
WARNS?= 1
RPCDIR= ${SYSROOT:U${DESTDIR}}/usr/include/rpcsvc
CLEANFILES= crypt_svc.c crypt.h
RPCGEN= RPCGEN_CPP=${CPP:Q} 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>