1984263bcSMatthew Dillon# $FreeBSD: src/usr.sbin/keyserv/Makefile,v 1.5.2.1 2001/04/25 12:09:50 ru Exp $ 2984263bcSMatthew Dillon 3984263bcSMatthew DillonPROG= keyserv 4ce0e08e2SPeter AvalosSRCS= keyserv.c setkey.c crypt_svc.c crypt_server.c crypt.h 5cf09d626SSascha WildnerWARNS?= 2 6984263bcSMatthew Dillon 7984263bcSMatthew DillonMAN= keyserv.8 8984263bcSMatthew Dillon 902fd838eSzrj# DO NOT USE -static, dlopen() for _des_crypt symbol 1002fd838eSzrj# XXX .undef NOSHARED 1102fd838eSzrj 12984263bcSMatthew DillonCFLAGS+= -DKEYSERV_RANDOM -DBROKEN_DES -I. 13984263bcSMatthew Dillon 14304ca408SJohn MarinoDPADD= ${LIBRPCSVC} 15304ca408SJohn MarinoLDADD= -lrpcsvc 16304ca408SJohn Marino 17*117e566dSSascha WildnerDPADD+= ${LIBCRYPTO} 18304ca408SJohn MarinoLDADD+= -lprivate_crypto 1938b720cdSzrjLDFLAGS+= ${PRIVATELIB_LDFLAGS} 20304ca408SJohn MarinoCFLAGS+= -I${.CURDIR}/../../crypto/libressl/include 21984263bcSMatthew Dillon 22984263bcSMatthew DillonRPCDIR= ${DESTDIR}/usr/include/rpcsvc 23984263bcSMatthew Dillon 24984263bcSMatthew DillonCLEANFILES= crypt_svc.c crypt.h 25984263bcSMatthew Dillon 26984263bcSMatthew DillonRPCGEN= rpcgen -C 27984263bcSMatthew Dillon 28984263bcSMatthew Dilloncrypt_svc.c: ${RPCDIR}/crypt.x 29984263bcSMatthew Dillon ${RPCGEN} -m -o ${.TARGET} ${RPCDIR}/crypt.x 30984263bcSMatthew Dillon 31984263bcSMatthew Dilloncrypt.h: ${RPCDIR}/crypt.x 32984263bcSMatthew Dillon ${RPCGEN} -h -o ${.TARGET} ${RPCDIR}/crypt.x 33984263bcSMatthew Dillon 34