diff options
author | wollman <wollman@FreeBSD.org> | 1994-08-07 18:36:12 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1994-08-07 18:36:12 +0000 |
commit | ad3e7cd01dd88965992ef4f0a5d33ca2af3b2dce (patch) | |
tree | 8a5236154c2efeca93751cc9f2fed9b185835df0 /lib/libc/rpc/Makefile.inc | |
parent | a4620e09c1a3b99b108eeb8ee9b8077dcc1896c3 (diff) | |
download | FreeBSD-src-ad3e7cd01dd88965992ef4f0a5d33ca2af3b2dce.zip FreeBSD-src-ad3e7cd01dd88965992ef4f0a5d33ca2af3b2dce.tar.gz |
Moving Sun RPC code into libc, part 1. Based on work done by a number of
people, including J.T. Conklin, Theo de Raadt, Paul Richards, and probably
someone else who's going to flame me as soon as they see this message.
Diffstat (limited to 'lib/libc/rpc/Makefile.inc')
-rw-r--r-- | lib/libc/rpc/Makefile.inc | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/lib/libc/rpc/Makefile.inc b/lib/libc/rpc/Makefile.inc new file mode 100644 index 0000000..8776d9d --- /dev/null +++ b/lib/libc/rpc/Makefile.inc @@ -0,0 +1,39 @@ +# @(#)Makefile 5.11 (Berkeley) 9/6/90 + +.PATH: ${.CURDIR}/rpc ${.CURDIR}/. +CFLAGS+=-I${.CURDIR} -I${.CURDIR}/rpc +SRCS+= auth_none.c auth_unix.c authunix_prot.c bindresvport.c \ + clnt_generic.c clnt_perror.c clnt_raw.c clnt_simple.c clnt_tcp.c \ + clnt_udp.c rpc_dtablesize.c get_myaddress.c getrpcent.c getrpcport.c \ + pmap_clnt.c pmap_getmaps.c pmap_getport.c pmap_prot.c \ + pmap_prot2.c pmap_rmt.c rpc_prot.c rpc_commondata.c rpc_callmsg.c \ + svc.c svc_auth.c svc_auth_unix.c svc_raw.c svc_run.c svc_simple.c \ + svc_tcp.c svc_udp.c xdr.c xdr_array.c xdr_mem.c \ + xdr_rec.c xdr_reference.c xdr_stdio.c + +# +# XXX -- rstat.1 and rstat_svc.8 shouldn't really be here +# but there's no rstat command, don't know why, so I'm +# leaving them here in case they're needed sometime later. +# Paul. +# + +MAN1+= rpc/rstat.1 +MAN3+= rpc/bindresvport.3 rpc/getrpcent.3 rpc/getrpcport.3 rpc/rpc.3 rpc/xdr.3 +MAN5+= rpc/rpc.5 +MAN8+= rpc/rstat_svc.8 + + +UNSUPPORTED+= xdr_float.c + +HDRS+= auth.h auth_unix.h clnt.h pmap_clnt.h \ + pmap_prot.h pmap_rmt.h rpc.h rpc_msg.h svc.h svc_auth.h types.h xdr.h + +beforeinstall: ${HDRS} + @-if [ ! -d ${DESTDIR}/usr/include/rpc ]; then \ + mkdir ${DESTDIR}/usr/include/rpc; \ + chown ${BINOWN}.${BINGRP} ${DESTDIR}/usr/include/rpc; \ + chmod 755 ${DESTDIR}/usr/include/rpc; \ + fi + cd ${.CURDIR}/rpc; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${HDRS} \ + ${DESTDIR}/usr/include/rpc |