|
|
1.1 root 1: # @(#)Makefile 5.7 (Berkeley) 7/1/90
2:
3: LIB= rpc
4: CFLAGS+=-I${.CURDIR}
5: SRCS= auth_none.c auth_unix.c authunix_prot.c clnt_perror.c clnt_raw.c \
6: clnt_simple.c clnt_tcp.c clnt_udp.c pmap_clnt.c pmap_getmaps.c \
7: pmap_getport.c pmap_prot.c pmap_rmt.c rpc_prot.c svc.c svc_auth.c \
8: svc_auth_unix.c svc_raw.c svc_simple.c svc_tcp.c svc_udp.c xdr.c \
9: xdr_array.c xdr_float.c xdr_mem.c xdr_rec.c xdr_reference.c \
10: xdr_stdio.c
11: HDRS= auth.h auth_unix.h clnt.h pmap_clnt.h pmap_prot.h rpc.h rpc_msg.h \
12: svc.h svc_auth.h types.h xdr.h
13: MAN8= portmap.0
14: .PATH: ${.CURDIR} ${.CURDIR}/doc
15: CLEANFILES=portmap
16:
17: all: portmap
18:
19: portmap: portmap.c librpc.a
20: ranlib librpc.a
21: ${CC} ${CFLAGS} ${.CURDIR}/portmap.c librpc.a -lutil -o ${.TARGET}
22:
23: beforeinstall: hdrs
24: install ${STRIP} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} portmap \
25: ${DESTDIR}/usr/sbin/portmap
26:
27: hdrs: ${HDRS}
28: cd ${.CURDIR}; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${HDRS} \
29: ${DESTDIR}/usr/include/rpc
30:
31: .include <bsd.lib.mk>
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.