1 1.28 lukem # $NetBSD: Makefile.inc,v 1.28 2023/06/03 09:09:10 lukem Exp $ 2 1.1 deraadt 3 1.2 jtc # librpc sources 4 1.17 mrg .PATH: ${.CURDIR}/rpc 5 1.1 deraadt 6 1.12 fvdl SRCS+= auth_none.c auth_unix.c authunix_prot.c bindresvport.c \ 7 1.12 fvdl clnt_bcast.c clnt_dg.c clnt_generic.c clnt_perror.c \ 8 1.12 fvdl clnt_raw.c clnt_simple.c \ 9 1.12 fvdl clnt_vc.c rpc_dtablesize.c \ 10 1.12 fvdl getnetconfig.c getnetpath.c getrpcent.c getrpcport.c \ 11 1.12 fvdl mt_misc.c pmap_clnt.c pmap_getmaps.c pmap_getport.c pmap_prot.c \ 12 1.1 deraadt pmap_prot2.c pmap_rmt.c rpc_prot.c rpc_commondata.c rpc_callmsg.c \ 13 1.12 fvdl rpc_generic.c rpc_soc.c rpcb_clnt.c rpcb_prot.c rpcb_st_xdr.c \ 14 1.12 fvdl svc.c svc_auth.c svc_dg.c svc_auth_unix.c svc_generic.c svc_raw.c \ 15 1.23 christos svc_run.c svc_simple.c svc_vc.c svc_fdset.c \ 16 1.12 fvdl xdr.c xdr_array.c xdr_float.c xdr_mem.c xdr_rec.c xdr_reference.c \ 17 1.19 manu xdr_stdio.c xdr_sizeof.c __rpc_getxid.c 18 1.4 cgd 19 1.12 fvdl CPPFLAGS+= -DPORTMAP 20 1.12 fvdl 21 1.12 fvdl MAN+= bindresvport.3 getnetconfig.3 getnetpath.3 getrpcent.3 getrpcport.3 \ 22 1.12 fvdl rpc.3 rpc_soc.3 rpc_clnt_auth.3 rpc_clnt_calls.3 rpc_clnt_create.3 \ 23 1.12 fvdl rpc_svc_calls.3 rpc_svc_create.3 rpc_svc_err.3 rpc_svc_reg.3 \ 24 1.12 fvdl rpc_xdr.3 rpcbind.3 xdr.3 25 1.11 itojun MLINKS+= bindresvport.3 bindresvport_sa.3 \ 26 1.12 fvdl getnetconfig.3 setnetconfig.3 \ 27 1.12 fvdl getnetconfig.3 getnetconfigent.3 \ 28 1.12 fvdl getnetconfig.3 endnetconfig.3 \ 29 1.12 fvdl getnetconfig.3 nc_perror.3 \ 30 1.12 fvdl getnetconfig.3 nc_sperror.3 \ 31 1.12 fvdl getnetpath.3 setnetpath.3 \ 32 1.12 fvdl getnetpath.3 endnetpath.3 \ 33 1.11 itojun getrpcent.3 getrpcbyname.3 \ 34 1.9 mrg getrpcent.3 getrpcbynumber.3 \ 35 1.9 mrg getrpcent.3 endrpcent.3 \ 36 1.9 mrg getrpcent.3 setrpcent.3 \ 37 1.12 fvdl rpc_clnt_auth.3 auth_destroy.3 \ 38 1.12 fvdl rpc_clnt_auth.3 authnone_create.3 \ 39 1.12 fvdl rpc_clnt_auth.3 authsys_create.3 \ 40 1.12 fvdl rpc_clnt_auth.3 authsys_create_default.3 \ 41 1.27 christos rpc_clnt_auth.3 set_rpc_maxgrouplist.3 \ 42 1.12 fvdl rpc_clnt_calls.3 clnt_call.3 \ 43 1.12 fvdl rpc_clnt_calls.3 clnt_perrno.3 \ 44 1.12 fvdl rpc_clnt_calls.3 clnt_perror.3 \ 45 1.12 fvdl rpc_clnt_calls.3 clnt_sperrno.3 \ 46 1.12 fvdl rpc_clnt_calls.3 clnt_sperror.3 \ 47 1.12 fvdl rpc_clnt_calls.3 rpc_call.3 \ 48 1.12 fvdl rpc_clnt_calls.3 rpc_broadcast.3 \ 49 1.12 fvdl rpc_clnt_calls.3 rpc_broadcast_exp.3 \ 50 1.12 fvdl rpc_clnt_calls.3 clnt_freeres.3 \ 51 1.12 fvdl rpc_clnt_calls.3 clnt_geterr.3 \ 52 1.12 fvdl rpc_clnt_create.3 clnt_control.3 \ 53 1.12 fvdl rpc_clnt_create.3 clnt_create.3 \ 54 1.12 fvdl rpc_clnt_create.3 clnt_create_vers.3 \ 55 1.12 fvdl rpc_clnt_create.3 clnt_destroy.3 \ 56 1.12 fvdl rpc_clnt_create.3 clnt_pcreateerror.3 \ 57 1.12 fvdl rpc_clnt_create.3 clnt_spcreateerror.3 \ 58 1.12 fvdl rpc_clnt_create.3 clnt_dg_create.3 \ 59 1.12 fvdl rpc_clnt_create.3 clnt_raw_create.3 \ 60 1.12 fvdl rpc_clnt_create.3 clnt_tli_create.3 \ 61 1.12 fvdl rpc_clnt_create.3 clnt_tp_create.3 \ 62 1.12 fvdl rpc_clnt_create.3 clnt_vc_create.3 \ 63 1.12 fvdl rpc_svc_calls.3 svc_dg_enablecache.3 \ 64 1.12 fvdl rpc_svc_calls.3 svc_exit.3 \ 65 1.12 fvdl rpc_svc_calls.3 svc_freeargs.3 \ 66 1.12 fvdl rpc_svc_calls.3 svc_getargs.3 \ 67 1.12 fvdl rpc_svc_calls.3 svc_getreq_common.3 \ 68 1.12 fvdl rpc_svc_calls.3 svc_getreq_poll.3 \ 69 1.12 fvdl rpc_svc_calls.3 svc_getreqset.3 \ 70 1.12 fvdl rpc_svc_calls.3 svc_getrpccaller.3 \ 71 1.12 fvdl rpc_svc_calls.3 __svc_getcallercreds.3 \ 72 1.12 fvdl rpc_svc_calls.3 svc_pollset.3 \ 73 1.12 fvdl rpc_svc_calls.3 svc_run.3 \ 74 1.12 fvdl rpc_svc_calls.3 svc_sendreply.3 \ 75 1.12 fvdl rpc_svc_create.3 svc_control.3 \ 76 1.12 fvdl rpc_svc_create.3 svc_create.3 \ 77 1.12 fvdl rpc_svc_create.3 svc_dg_create.3 \ 78 1.12 fvdl rpc_svc_create.3 svc_destroy.3 \ 79 1.12 fvdl rpc_svc_create.3 svc_fd_create.3 \ 80 1.12 fvdl rpc_svc_create.3 svc_raw_create.3 \ 81 1.12 fvdl rpc_svc_create.3 svc_tli_create.3 \ 82 1.12 fvdl rpc_svc_create.3 svc_tp_create.3 \ 83 1.12 fvdl rpc_svc_create.3 svc_vc_create.3 \ 84 1.12 fvdl rpc_svc_err.3 svcerr_auth.3 \ 85 1.12 fvdl rpc_svc_err.3 svcerr_decode.3 \ 86 1.12 fvdl rpc_svc_err.3 svcerr_noproc.3 \ 87 1.12 fvdl rpc_svc_err.3 svcerr_noprog.3 \ 88 1.12 fvdl rpc_svc_err.3 svcerr_progvers.3 \ 89 1.12 fvdl rpc_svc_err.3 svcerr_systemerr.3 \ 90 1.12 fvdl rpc_svc_err.3 svcerr_weakauth.3 \ 91 1.12 fvdl rpc_svc_reg.3 rpc_reg.3 \ 92 1.12 fvdl rpc_svc_reg.3 svc_reg.3 \ 93 1.12 fvdl rpc_svc_reg.3 svc_unreg.3 \ 94 1.12 fvdl rpc_svc_reg.3 svc_auth_reg.3 \ 95 1.12 fvdl rpc_svc_reg.3 xprt_register.3 \ 96 1.12 fvdl rpc_svc_reg.3 xprt_unregister.3 \ 97 1.12 fvdl rpc_xdr.3 xdr_accepted_reply.3 \ 98 1.12 fvdl rpc_xdr.3 xdr_authsys_parms.3 \ 99 1.12 fvdl rpc_xdr.3 xdr_callhdr.3 \ 100 1.12 fvdl rpc_xdr.3 xdr_callmsg.3 \ 101 1.12 fvdl rpc_xdr.3 xdr_opaque_auth.3 \ 102 1.12 fvdl rpc_xdr.3 xdr_rejected_reply.3 \ 103 1.12 fvdl rpc_xdr.3 xdr_replymsg.3 \ 104 1.12 fvdl rpcbind.3 rpcb_getmaps.3 \ 105 1.12 fvdl rpcbind.3 rpcb_getaddr.3 \ 106 1.12 fvdl rpcbind.3 rpcb_gettime.3 \ 107 1.12 fvdl rpcbind.3 rpcb_rmtcall.3 \ 108 1.12 fvdl rpcbind.3 rpcb_set.3 \ 109 1.12 fvdl rpcbind.3 rpcb_unset.3 \ 110 1.12 fvdl rpc_soc.3 authunix_create.3 \ 111 1.12 fvdl rpc_soc.3 authunix_create_default.3 \ 112 1.12 fvdl rpc_soc.3 callrpc.3 \ 113 1.12 fvdl rpc_soc.3 clnt_broadcast.3 \ 114 1.12 fvdl rpc_soc.3 clntraw_create.3 \ 115 1.12 fvdl rpc_soc.3 clnttcp_create.3 \ 116 1.12 fvdl rpc_soc.3 clntudp_bufcreate.3 \ 117 1.12 fvdl rpc_soc.3 clntudp_create.3 \ 118 1.12 fvdl rpc_soc.3 get_myaddress.3 \ 119 1.12 fvdl rpc_soc.3 pmap_getmaps.3 \ 120 1.12 fvdl rpc_soc.3 pmap_getport.3 \ 121 1.12 fvdl rpc_soc.3 pmap_rmtcall.3 \ 122 1.12 fvdl rpc_soc.3 pmap_set.3 \ 123 1.12 fvdl rpc_soc.3 pmap_unset.3 \ 124 1.12 fvdl rpc_soc.3 registerrpc.3 \ 125 1.12 fvdl rpc_soc.3 rpc_createerr.3 \ 126 1.12 fvdl rpc_soc.3 svc_fds.3 \ 127 1.12 fvdl rpc_soc.3 svc_fdset.3 \ 128 1.12 fvdl rpc_soc.3 svc_getcaller.3 \ 129 1.12 fvdl rpc_soc.3 svc_register.3 \ 130 1.12 fvdl rpc_soc.3 svc_unregister.3 \ 131 1.12 fvdl rpc_soc.3 svcfd_create.3 \ 132 1.12 fvdl rpc_soc.3 svcraw_create.3 \ 133 1.12 fvdl rpc_soc.3 svctcp_create.3 \ 134 1.16 lukem rpc_soc.3 svcudp_create.3 \ 135 1.12 fvdl rpc_soc.3 svcudp_bufcreate.3 \ 136 1.12 fvdl rpc_soc.3 xdr_pmap.3 \ 137 1.12 fvdl rpc_soc.3 xdr_pmaplist.3 \ 138 1.6 cgd xdr.3 xdr_array.3 \ 139 1.6 cgd xdr.3 xdr_bool.3 \ 140 1.6 cgd xdr.3 xdr_bytes.3 \ 141 1.6 cgd xdr.3 xdr_char.3 \ 142 1.6 cgd xdr.3 xdr_destroy.3 \ 143 1.6 cgd xdr.3 xdr_double.3 \ 144 1.6 cgd xdr.3 xdr_enum.3 \ 145 1.6 cgd xdr.3 xdr_float.3 \ 146 1.6 cgd xdr.3 xdr_free.3 \ 147 1.6 cgd xdr.3 xdr_getpos.3 \ 148 1.6 cgd xdr.3 xdr_inline.3 \ 149 1.6 cgd xdr.3 xdr_int.3 \ 150 1.6 cgd xdr.3 xdr_long.3 \ 151 1.6 cgd xdr.3 xdrmem_create.3 \ 152 1.6 cgd xdr.3 xdr_opaque.3 \ 153 1.6 cgd xdr.3 xdr_pointer.3 \ 154 1.6 cgd xdr.3 xdrrec_create.3 \ 155 1.6 cgd xdr.3 xdrrec_endofrecord.3 \ 156 1.6 cgd xdr.3 xdrrec_eof.3 \ 157 1.6 cgd xdr.3 xdrrec_skiprecord.3 \ 158 1.6 cgd xdr.3 xdr_reference.3 \ 159 1.6 cgd xdr.3 xdr_setpos.3 \ 160 1.6 cgd xdr.3 xdr_short.3 \ 161 1.20 manu xdr.3 xdr_sizeof.3 \ 162 1.6 cgd xdr.3 xdrstdio_create.3 \ 163 1.6 cgd xdr.3 xdr_string.3 \ 164 1.6 cgd xdr.3 xdr_u_char.3 \ 165 1.6 cgd xdr.3 xdr_u_long.3 \ 166 1.6 cgd xdr.3 xdr_u_short.3 \ 167 1.6 cgd xdr.3 xdr_union.3 \ 168 1.6 cgd xdr.3 xdr_vector.3 \ 169 1.6 cgd xdr.3 xdr_void.3 \ 170 1.6 cgd xdr.3 xdr_wrapstring.3 171 1.26 mrg 172 1.28 lukem COPTS.clnt_bcast.c+= ${CC_WNO_CAST_FUNCTION_TYPE} 173 1.28 lukem COPTS.clnt_generic.c+= ${CC_WNO_CAST_FUNCTION_TYPE} 174 1.28 lukem COPTS.clnt_vc.c+= ${CC_WNO_CAST_FUNCTION_TYPE} 175 1.28 lukem COPTS.rpcb_clnt.c+= ${CC_WNO_CAST_FUNCTION_TYPE} 176 1.28 lukem COPTS.xdr_sizeof.c+= ${CC_WNO_CAST_FUNCTION_TYPE} 177 1.28 lukem COPTS.svc_simple.c+= ${CC_WNO_CAST_FUNCTION_TYPE} 178 1.28 lukem COPTS.pmap_getmaps.c+= ${CC_WNO_CAST_FUNCTION_TYPE} 179 1.28 lukem COPTS.rpc_generic.c+= ${CC_WNO_CAST_FUNCTION_TYPE} 180 1.28 lukem COPTS.getrpcent.c+= ${CC_WNO_STRINGOP_TRUNCATION} 181