mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-04 09:09:56 +00:00
90e655ea4e
These are not perfectly in agreement with each other style-wise, but they are orders of orders of magnitude more consistent style-wise than before.
28 lines
520 B
Makefile
28 lines
520 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.
|
|
.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>
|