174462Salfred#	@(#)Makefile    5.11 (Berkeley) 9/6/90
250476Speter# $FreeBSD$
31901Swollman
4107052Sru.PATH: ${.CURDIR}/rpc ${.CURDIR}/.
574462SalfredSRCS+=	auth_none.c auth_unix.c authunix_prot.c bindresvport.c clnt_bcast.c \
674462Salfred	clnt_dg.c clnt_generic.c clnt_perror.c clnt_raw.c clnt_simple.c \
774462Salfred	clnt_vc.c rpc_dtablesize.c getnetconfig.c getnetpath.c getrpcent.c \
874462Salfred	getrpcport.c mt_misc.c pmap_clnt.c pmap_getmaps.c pmap_getport.c \
974462Salfred	pmap_prot.c pmap_prot2.c pmap_rmt.c rpc_prot.c rpc_commondata.c \
1074462Salfred	rpc_callmsg.c rpc_generic.c rpc_soc.c rpcb_clnt.c rpcb_prot.c \
11181344Sdfr	rpcb_st_xdr.c rpcsec_gss_stub.c svc.c svc_auth.c svc_dg.c \
12181344Sdfr	svc_auth_unix.c svc_generic.c svc_raw.c svc_run.c svc_simple.c \
13181344Sdfr	svc_vc.c
1430624Sbde
1574462Salfred# Secure-RPC
1674462SalfredSRCS+=  auth_time.c auth_des.c authdes_prot.c des_crypt.c des_soft.c \
1774462Salfred	crypt_client.c key_call.c key_prot_xdr.c getpublickey.c \
1874462Salfred	svc_auth_des.c
1974462Salfred
2074462Salfred# Resolver stuff
2174462SalfredSRCS+=	netname.c netnamer.c rpcdname.c
2274462Salfred
2374462Salfred# Misc Source
2474462SalfredSRCS+=	rtime.c
2574462Salfred
2630624Sbde# generated sources
2774462SalfredSRCS+=  crypt_clnt.c crypt_xdr.c crypt.h
2826221Swpaul
29156613SdeischenSYM_MAPS+=${.CURDIR}/rpc/Symbol.map
30156613Sdeischen
3174462SalfredCFLAGS+= -DBROKEN_DES -DPORTMAP -DDES_BUILTIN
32111618SnectarCFLAGS+= -I${.CURDIR}/rpc
3326221Swpaul
3427581SbdeCLEANFILES+= crypt_clnt.c crypt_xdr.c crypt.h
3526221Swpaul
3626221SwpaulRPCDIR= ${DESTDIR}/usr/include/rpcsvc
37231702SdimRPCGEN= RPCGEN_CPP=${CPP:Q} rpcgen -C
3826221Swpaul
3926221Swpaulcrypt_clnt.c: ${RPCDIR}/crypt.x crypt.h
4026221Swpaul	${RPCGEN} -l -o ${.TARGET} ${RPCDIR}/crypt.x
4126221Swpaul
4226221Swpaulcrypt_xdr.c: ${RPCDIR}/crypt.x crypt.h
4326221Swpaul	${RPCGEN} -c -o ${.TARGET} ${RPCDIR}/crypt.x
4426221Swpaul
4526221Swpaulcrypt.h: ${RPCDIR}/crypt.x
4626221Swpaul	${RPCGEN} -h -o ${.TARGET} ${RPCDIR}/crypt.x
4774870SruMAN+=	bindresvport.3 des_crypt.3 getnetconfig.3 getnetpath.3 getrpcent.3 \
4874462Salfred	getrpcport.3 rpc.3 rpc_soc.3 rpc_clnt_auth.3 rpc_clnt_calls.3 \
4974462Salfred	rpc_clnt_create.3 rpc_svc_calls.3 rpc_svc_create.3 rpc_svc_err.3 \
50102147Sbde	rpc_svc_reg.3 rpc_xdr.3 rpcbind.3 publickey.3 rpc_secure.3 \
5174462Salfred	rtime.3
5274870SruMAN+=	publickey.5 rpc.5 netconfig.5
5356629SshinMLINKS+=	bindresvport.3 bindresvport_sa.3 \
54150009Sstefanf		des_crypt.3 ecb_crypt.3 \
55150009Sstefanf		des_crypt.3 cbc_crypt.3 \
56150009Sstefanf		des_crypt.3 des_setparity.3 \
5774462Salfred		getnetconfig.3 setnetconfig.3 \
5874462Salfred		getnetconfig.3 getnetconfigent.3 \
59150009Sstefanf		getnetconfig.3 freenetconfigent.3 \
6074462Salfred		getnetconfig.3 endnetconfig.3 \
6174462Salfred		getnetconfig.3 nc_perror.3 \
6274462Salfred		getnetconfig.3 nc_sperror.3 \
6374462Salfred		getnetpath.3 setnetpath.3 \
6474462Salfred		getnetpath.3 endnetpath.3 \
6530624Sbde		getrpcent.3 getrpcbyname.3 \
6621063Speter		getrpcent.3 getrpcbynumber.3 \
6774462Salfred		getrpcent.3 endrpcent.3 \
6821063Speter		getrpcent.3 setrpcent.3 \
69150009Sstefanf		publickey.3 getpublickey.3 \
70150009Sstefanf		publickey.3 getsecretkey.3 \
7174462Salfred		rpc_clnt_auth.3 auth_destroy.3 \
7274462Salfred		rpc_clnt_auth.3 authnone_create.3 \
7374462Salfred		rpc_clnt_auth.3 authsys_create.3 \
7474462Salfred		rpc_clnt_auth.3 authsys_create_default.3 \
7574462Salfred		rpc_clnt_calls.3 clnt_call.3 \
7674462Salfred		rpc_clnt_calls.3 clnt_perrno.3 \
7774462Salfred		rpc_clnt_calls.3 clnt_perror.3 \
7874462Salfred		rpc_clnt_calls.3 clnt_sperrno.3 \
7974462Salfred		rpc_clnt_calls.3 clnt_sperror.3 \
8074462Salfred		rpc_clnt_calls.3 rpc_call.3 \
8174462Salfred		rpc_clnt_calls.3 rpc_broadcast.3 \
8274462Salfred		rpc_clnt_calls.3 rpc_broadcast_exp.3 \
8374462Salfred		rpc_clnt_calls.3 clnt_freeres.3 \
8474462Salfred		rpc_clnt_calls.3 clnt_geterr.3 \
8574462Salfred		rpc_clnt_create.3 clnt_control.3 \
8674462Salfred		rpc_clnt_create.3 clnt_create.3 \
8799775Salfred		rpc_clnt_create.3 clnt_create_timed.3 \
8874462Salfred		rpc_clnt_create.3 clnt_create_vers.3 \
8999775Salfred		rpc_clnt_create.3 clnt_create_vers_timed.3 \
9074462Salfred		rpc_clnt_create.3 clnt_destroy.3 \
9174462Salfred		rpc_clnt_create.3 clnt_pcreateerror.3 \
9274462Salfred		rpc_clnt_create.3 clnt_spcreateerror.3 \
9374462Salfred		rpc_clnt_create.3 clnt_dg_create.3 \
9474462Salfred		rpc_clnt_create.3 clnt_raw_create.3 \
9574462Salfred		rpc_clnt_create.3 clnt_tli_create.3 \
9674462Salfred		rpc_clnt_create.3 clnt_tp_create.3 \
9799775Salfred		rpc_clnt_create.3 clnt_tp_create_timed.3 \
9874462Salfred		rpc_clnt_create.3 clnt_vc_create.3 \
99150009Sstefanf		rpc_secure.3 authdes_create.3 \
100150009Sstefanf		rpc_secure.3 authdes_getucred.3 \
101150009Sstefanf		rpc_secure.3 getnetname.3 \
102150009Sstefanf		rpc_secure.3 host2netname.3 \
103150009Sstefanf		rpc_secure.3 key_decryptsession.3 \
104150009Sstefanf		rpc_secure.3 key_encryptsession.3 \
105150009Sstefanf		rpc_secure.3 key_gendes.3 \
106150009Sstefanf		rpc_secure.3 key_setsecret.3 \
107150009Sstefanf		rpc_secure.3 netname2host.3 \
108150009Sstefanf		rpc_secure.3 netname2user.3 \
109150009Sstefanf		rpc_secure.3 user2netname.3 \
11074462Salfred		rpc_svc_calls.3 svc_dg_enablecache.3 \
11174462Salfred		rpc_svc_calls.3 svc_exit.3 \
11274462Salfred		rpc_svc_calls.3 svc_freeargs.3 \
11374462Salfred		rpc_svc_calls.3 svc_getargs.3 \
11474462Salfred		rpc_svc_calls.3 svc_getreq_common.3 \
11574462Salfred		rpc_svc_calls.3 svc_getreq_poll.3 \
11674462Salfred		rpc_svc_calls.3 svc_getreqset.3 \
11774462Salfred		rpc_svc_calls.3 svc_getrpccaller.3 \
11874462Salfred		rpc_svc_calls.3 __svc_getcallercreds.3 \
11974462Salfred		rpc_svc_calls.3 svc_pollset.3 \
12074462Salfred		rpc_svc_calls.3 svc_run.3 \
12174462Salfred		rpc_svc_calls.3 svc_sendreply.3 \
12274462Salfred		rpc_svc_create.3 svc_control.3 \
12374462Salfred		rpc_svc_create.3 svc_create.3 \
12474462Salfred		rpc_svc_create.3 svc_dg_create.3 \
12574462Salfred		rpc_svc_create.3 svc_destroy.3 \
12674462Salfred		rpc_svc_create.3 svc_fd_create.3 \
12774462Salfred		rpc_svc_create.3 svc_raw_create.3 \
12874462Salfred		rpc_svc_create.3 svc_tli_create.3 \
12974462Salfred		rpc_svc_create.3 svc_tp_create.3 \
13074462Salfred		rpc_svc_create.3 svc_vc_create.3 \
13174462Salfred		rpc_svc_err.3 svcerr_auth.3 \
13274462Salfred		rpc_svc_err.3 svcerr_decode.3 \
13374462Salfred		rpc_svc_err.3 svcerr_noproc.3 \
13474462Salfred		rpc_svc_err.3 svcerr_noprog.3 \
13574462Salfred		rpc_svc_err.3 svcerr_progvers.3 \
13674462Salfred		rpc_svc_err.3 svcerr_systemerr.3 \
13774462Salfred		rpc_svc_err.3 svcerr_weakauth.3 \
13874462Salfred		rpc_svc_reg.3 rpc_reg.3 \
13974462Salfred		rpc_svc_reg.3 svc_reg.3 \
14074462Salfred		rpc_svc_reg.3 svc_unreg.3 \
14174462Salfred		rpc_svc_reg.3 svc_auth_reg.3 \
14274462Salfred		rpc_svc_reg.3 xprt_register.3 \
14374462Salfred		rpc_svc_reg.3 xprt_unregister.3 \
14474462Salfred		rpcbind.3 rpcb_getmaps.3 \
14574462Salfred		rpcbind.3 rpcb_getaddr.3 \
14674462Salfred		rpcbind.3 rpcb_gettime.3 \
14774462Salfred		rpcbind.3 rpcb_rmtcall.3 \
14874462Salfred		rpcbind.3 rpcb_set.3 \
14974462Salfred		rpcbind.3 rpcb_unset.3 \
15074462Salfred		rpc_soc.3 authunix_create.3 \
15174462Salfred		rpc_soc.3 authunix_create_default.3 \
15274462Salfred		rpc_soc.3 callrpc.3 \
15374462Salfred		rpc_soc.3 clnt_broadcast.3 \
15474462Salfred		rpc_soc.3 clntraw_create.3 \
15574462Salfred		rpc_soc.3 clnttcp_create.3 \
15684487Swpaul		rpc_soc.3 clntunix_create.3 \
15774462Salfred		rpc_soc.3 clntudp_bufcreate.3 \
15874462Salfred		rpc_soc.3 clntudp_create.3 \
15974462Salfred		rpc_soc.3 get_myaddress.3 \
16074462Salfred		rpc_soc.3 pmap_getmaps.3 \
16174462Salfred		rpc_soc.3 pmap_getport.3 \
16274462Salfred		rpc_soc.3 pmap_rmtcall.3 \
16374462Salfred		rpc_soc.3 pmap_set.3 \
16474462Salfred		rpc_soc.3 pmap_unset.3 \
16574462Salfred		rpc_soc.3 registerrpc.3 \
16674462Salfred		rpc_soc.3 rpc_createerr.3 \
16774462Salfred		rpc_soc.3 svc_fds.3 \
16874462Salfred		rpc_soc.3 svc_fdset.3 \
16974462Salfred		rpc_soc.3 svc_getcaller.3 \
17074462Salfred		rpc_soc.3 svc_register.3 \
17174462Salfred		rpc_soc.3 svc_unregister.3 \
17274462Salfred		rpc_soc.3 svcfd_create.3 \
17384487Swpaul		rpc_soc.3 svcunixfd_create.3 \
17474462Salfred		rpc_soc.3 svcraw_create.3 \
17574462Salfred		rpc_soc.3 svctcp_create.3 \
17674462Salfred		rpc_soc.3 svcudp_bufcreate.3 \
17784487Swpaul		rpc_soc.3 svcunix_create.3 \
17874462Salfred		rpc_soc.3 xdr_pmap.3 \
17974462Salfred		rpc_soc.3 xdr_pmaplist.3
180