Deleted Added
full compact
Makefile.inc (1901) Makefile.inc (1916)
1# @(#)Makefile 5.11 (Berkeley) 9/6/90
2
3.PATH: ${.CURDIR}/rpc ${.CURDIR}/.
1# @(#)Makefile 5.11 (Berkeley) 9/6/90
2
3.PATH: ${.CURDIR}/rpc ${.CURDIR}/.
4CFLAGS+=-I${.CURDIR} -I${.CURDIR}/rpc
5SRCS+= auth_none.c auth_unix.c authunix_prot.c bindresvport.c \
6 clnt_generic.c clnt_perror.c clnt_raw.c clnt_simple.c clnt_tcp.c \
7 clnt_udp.c rpc_dtablesize.c get_myaddress.c getrpcent.c getrpcport.c \
8 pmap_clnt.c pmap_getmaps.c pmap_getport.c pmap_prot.c \
9 pmap_prot2.c pmap_rmt.c rpc_prot.c rpc_commondata.c rpc_callmsg.c \
10 svc.c svc_auth.c svc_auth_unix.c svc_raw.c svc_run.c svc_simple.c \
4SRCS+= auth_none.c auth_unix.c authunix_prot.c bindresvport.c \
5 clnt_generic.c clnt_perror.c clnt_raw.c clnt_simple.c clnt_tcp.c \
6 clnt_udp.c rpc_dtablesize.c get_myaddress.c getrpcent.c getrpcport.c \
7 pmap_clnt.c pmap_getmaps.c pmap_getport.c pmap_prot.c \
8 pmap_prot2.c pmap_rmt.c rpc_prot.c rpc_commondata.c rpc_callmsg.c \
9 svc.c svc_auth.c svc_auth_unix.c svc_raw.c svc_run.c svc_simple.c \
11 svc_tcp.c svc_udp.c xdr.c xdr_array.c xdr_mem.c \
12 xdr_rec.c xdr_reference.c xdr_stdio.c
10 svc_tcp.c svc_udp.c
13
14#
15# XXX -- rstat.1 and rstat_svc.8 shouldn't really be here
16# but there's no rstat command, don't know why, so I'm
17# leaving them here in case they're needed sometime later.
18# Paul.
19#
20
21MAN1+= rpc/rstat.1
11
12#
13# XXX -- rstat.1 and rstat_svc.8 shouldn't really be here
14# but there's no rstat command, don't know why, so I'm
15# leaving them here in case they're needed sometime later.
16# Paul.
17#
18
19MAN1+= rpc/rstat.1
22MAN3+= rpc/bindresvport.3 rpc/getrpcent.3 rpc/getrpcport.3 rpc/rpc.3 rpc/xdr.3
20MAN3+= rpc/bindresvport.3 rpc/getrpcent.3 rpc/getrpcport.3 rpc/rpc.3
23MAN5+= rpc/rpc.5
24MAN8+= rpc/rstat_svc.8
25
21MAN5+= rpc/rpc.5
22MAN8+= rpc/rstat_svc.8
23
26
27UNSUPPORTED+= xdr_float.c
28
29HDRS+= auth.h auth_unix.h clnt.h pmap_clnt.h \
30 pmap_prot.h pmap_rmt.h rpc.h rpc_msg.h svc.h svc_auth.h types.h xdr.h
31
32beforeinstall: ${HDRS}
33 @-if [ ! -d ${DESTDIR}/usr/include/rpc ]; then \
34 mkdir ${DESTDIR}/usr/include/rpc; \
35 chown ${BINOWN}.${BINGRP} ${DESTDIR}/usr/include/rpc; \
36 chmod 755 ${DESTDIR}/usr/include/rpc; \
37 fi
38 cd ${.CURDIR}/rpc; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${HDRS} \
39 ${DESTDIR}/usr/include/rpc