1# @(#)Makefile 5.11 (Berkeley) 9/6/90 2# $FreeBSD: src/lib/libc/rpc/Makefile.inc,v 1.17.2.2 2001/04/25 10:04:08 ru Exp $ 3# $DragonFly: src/lib/libc/rpc/Makefile.inc,v 1.3 2005/08/05 23:43:19 swildner Exp $ 4 5.PATH: ${.CURDIR}/../libc/rpc ${.CURDIR}/. 6 7SRCS+= auth_des.c auth_none.c auth_time.c auth_unix.c \ 8 authdes_prot.c authunix_prot.c bindresvport.c \ 9 clnt_generic.c clnt_perror.c clnt_raw.c clnt_simple.c clnt_tcp.c \ 10 clnt_udp.c clnt_unix.c crypt_client.c des_crypt.c des_soft.c \ 11 get_myaddress.c getpublickey.c getrpcent.c getrpcport.c \ 12 key_call.c key_prot_xdr.c netname.c netnamer.c \ 13 pmap_clnt.c pmap_getmaps.c pmap_getport.c pmap_prot.c \ 14 pmap_prot2.c pmap_rmt.c rpc_callmsg.c rpc_commondata.c \ 15 rpc_dtablesize.c rpc_prot.c rpcdname.c rtime.c \ 16 svc.c svc_auth.c svc_auth_des.c svc_auth_unix.c \ 17 svc_raw.c svc_run.c svc_simple.c \ 18 svc_tcp.c svc_udp.c svc_unix.c 19 20# generated sources 21SRCS+= crypt_clnt.c crypt_xdr.c crypt.h 22 23CFLAGS+= -DBROKEN_DES 24 25CLEANFILES+= crypt_clnt.c crypt_xdr.c crypt.h 26 27RPCDIR= ${DESTDIR}/usr/include/rpcsvc 28RPCGEN= rpcgen -C 29 30crypt_clnt.c: ${RPCDIR}/crypt.x crypt.h 31 ${RPCGEN} -l -o ${.TARGET} ${RPCDIR}/crypt.x 32 33crypt_xdr.c: ${RPCDIR}/crypt.x crypt.h 34 ${RPCGEN} -c -o ${.TARGET} ${RPCDIR}/crypt.x 35 36crypt.h: ${RPCDIR}/crypt.x 37 ${RPCGEN} -h -o ${.TARGET} ${RPCDIR}/crypt.x 38 39.if ${LIB} == "c" 40 41MAN+= bindresvport.3 des_crypt.3 getrpcent.3 getrpcport.3 publickey.3 rpc.3 \ 42 rpc_secure.3 rtime.3 43MAN+= publickey.5 rpc.5 44 45MLINKS+= bindresvport.3 bindresvport_sa.3 \ 46 des_crypt.3 cbc_crypt.3 \ 47 des_crypt.3 des_setparity.3 \ 48 des_crypt.3 ecb_crypt.3 \ 49 getrpcent.3 endrpcent.3 \ 50 getrpcent.3 getrpcbyname.3 \ 51 getrpcent.3 getrpcbynumber.3 \ 52 getrpcent.3 setrpcent.3 \ 53 publickey.3 getpublickey.3 \ 54 publickey.3 getsecretkey.3 \ 55 rpc.3 auth_destroy.3 \ 56 rpc.3 authnone_create.3 \ 57 rpc.3 authunix_create.3 \ 58 rpc.3 authunix_create_default.3 \ 59 rpc.3 callrpc.3 \ 60 rpc.3 clnt_broadcast.3 \ 61 rpc.3 clnt_call.3 \ 62 rpc.3 clnt_control.3 \ 63 rpc.3 clnt_create.3 \ 64 rpc.3 clnt_destroy.3 \ 65 rpc.3 clnt_freeres.3 \ 66 rpc.3 clnt_geterr.3 \ 67 rpc.3 clnt_pcreateerror.3 \ 68 rpc.3 clnt_perrno.3 \ 69 rpc.3 clnt_perror.3 \ 70 rpc.3 clnt_spcreateerror.3 \ 71 rpc.3 clnt_sperrno.3 \ 72 rpc.3 clnt_sperror.3 \ 73 rpc.3 clntraw_create.3 \ 74 rpc.3 clnttcp_create.3 \ 75 rpc.3 clntudp_bufcreate.3 \ 76 rpc.3 clntudp_create.3 \ 77 rpc.3 get_myaddress.3 \ 78 rpc.3 pmap_getmaps.3 \ 79 rpc.3 pmap_getport.3 \ 80 rpc.3 pmap_rmtcall.3 \ 81 rpc.3 pmap_set.3 \ 82 rpc.3 pmap_unset.3 \ 83 rpc.3 regsterrpc.3 \ 84 rpc.3 rpc_createerr.3 \ 85 rpc.3 svc_destroy.3 \ 86 rpc.3 svc_fds.3 \ 87 rpc.3 svc_fdset.3 \ 88 rpc.3 svc_getargs.3 \ 89 rpc.3 svc_getcaller.3 \ 90 rpc.3 svc_getreg.3 \ 91 rpc.3 svc_getregset.3 \ 92 rpc.3 svc_register.3 \ 93 rpc.3 svc_run.3 \ 94 rpc.3 svc_sendreply.3 \ 95 rpc.3 svc_unregister.3 \ 96 rpc.3 svcerr_auth.3 \ 97 rpc.3 svcerr_decode.3 \ 98 rpc.3 svcerr_noproc.3 \ 99 rpc.3 svcerr_noprog.3 \ 100 rpc.3 svcerr_progvers.3 \ 101 rpc.3 svcerr_systemerr.3 \ 102 rpc.3 svcerr_weakauth.3 \ 103 rpc.3 svcfd_create.3 \ 104 rpc.3 svcraw_create.3 \ 105 rpc.3 svctcp_create.3 \ 106 rpc.3 svcudp_bufcreate.3 \ 107 rpc.3 xdr_accepted_reply.3 \ 108 rpc.3 xdr_authunix_parms.3 \ 109 rpc.3 xdr_callhdr.3 \ 110 rpc.3 xdr_callmsg.3 \ 111 rpc.3 xdr_opaque_auth.3 \ 112 rpc.3 xdr_pmap.3 \ 113 rpc.3 xdr_pmaplist.3 \ 114 rpc.3 xdr_rejected_reply.3 \ 115 rpc.3 xdr_replymsg.3 \ 116 rpc.3 xprt_register.3 \ 117 rpc.3 xprt_unregister.3 118.endif 119