Libinfo-324.1.tar.gz
[apple/libinfo.git] / rpc.subproj / Makefile
1 Project = rpc
2 ProductType = staticlib
3 Install_Dir = /scratch
4 BuildDebug = YES
5 BuildProfile = YES
6
7 HFILES = auth.h auth_unix.h clnt.h pmap_clnt.h pmap_prot.h pmap_rmt.h\
8 rpc.h rpc_msg.h svc.h svc_auth.h types.h xdr.h pmap_wakeup.h
9
10 CFILES = auth_none.c auth_unix.c authunix_prot.c bindresvport.c\
11 clnt_generic.c clnt_perror.c clnt_raw.c clnt_simple.c\
12 clnt_tcp.c clnt_udp.c get_myaddress.c pmap_clnt.c\
13 pmap_getmaps.c pmap_getport.c pmap_prot.c pmap_prot2.c\
14 pmap_rmt.c rpc_callmsg.c rpc_commondata.c rpc_dtablesize.c\
15 rpc_prot.c svc.c svc_auth.c svc_auth_unix.c svc_raw.c\
16 svc_run.c svc_simple.c svc_tcp.c getrpcent.c svc_udp.c xdr.c\
17 xdr_array.c xdr_float.c xdr_mem.c xdr_rec.c xdr_reference.c\
18 xdr_sizeof.c xdr_stdio.c getrpcport.c pmap_wakeup.c
19
20 MANPAGES = bindresvport.3 getrpcent.3 getrpcport.3 rpc.3 xdr.3
21
22 Install_Headers_Directory = /usr/include/rpc
23 Install_Headers = auth.h auth_unix.h clnt.h pmap_clnt.h pmap_prot.h\
24 pmap_rmt.h rpc.h rpc_msg.h svc.h svc_auth.h types.h\
25 xdr.h
26
27 Extra_CC_Flags = -Wall -fno-common \
28 -I../gen.subproj -I../lookup.subproj \
29 -D__DARWIN_NON_CANCELABLE=1
30
31 include $(MAKEFILEPATH)/CoreOS/ReleaseControl/BSDCommon.make
32
33 after_install:
34 @for LINK in getrpcbyname.3 getrpcbynumber.3 \
35 endrpcent.3 setrpcent.3 ; do \
36 $(LN) -f "$(DSTROOT)/usr/share/man/man3/getrpcent.3" \
37 "$(DSTROOT)/usr/share/man/man3/$${LINK}" ; \
38 done
39 @for LINK in auth_destroy.3 authnone_create.3 authunix_create.3 \
40 authunix_create_default.3 callrpc.3 clnt_broadcast.3 \
41 clnt_call.3 clnt_control.3 clnt_create.3 clnt_destroy.3 \
42 clnt_freeres.3 clnt_geterr.3 clnt_pcreateerror.3 \
43 clnt_perrno.3 clnt_perror.3 clnt_spcreateerror.3 \
44 clnt_sperrno.3 clnt_sperror.3 clntraw_create.3 \
45 clnttcp_create.3 clntudp_bufcreate.3 clntudp_create.3 \
46 get_myaddress.3 pmap_getmaps.3 pmap_getport.3 pmap_rmtcall.3 \
47 pmap_set.3 pmap_unset.3 regsterrpc.3 rpc_createerr.3 \
48 svc_destroy.3 svc_fds.3 svc_fdset.3 svc_getargs.3 \
49 svc_getcaller.3 svc_getreg.3 svc_getregset.3 svc_register.3 \
50 svc_run.3 svc_sendreply.3 svc_unregister.3 svcerr_auth.3 \
51 svcerr_decode.3 svcerr_noproc.3 svcerr_noprog.3 \
52 svcerr_progvers.3 svcerr_systemerr.3 svcerr_weakauth.3 \
53 svcfd_create.3 svcraw_create.3 svctcp_create.3 \
54 svcudp_bufcreate.3 xdr_accepted_reply.3 xdr_authunix_parms.3 \
55 xdr_callhdr.3 xdr_callmsg.3 xdr_opaque_auth.3 xdr_pmap.3 \
56 xdr_pmaplist.3 xdr_rejected_reply.3 xdr_replymsg.3 \
57 xprt_register.3 xprt_unregister.3 ; do \
58 $(LN) -f "$(DSTROOT)/usr/share/man/man3/rpc.3" \
59 "$(DSTROOT)/usr/share/man/man3/$${LINK}" ; \
60 done
61 @for LINK in xdr_array.3 xdr_bool.3 xdr_bytes.3 xdr_char.3 \
62 xdr_destroy.3 xdr_double.3 xdr_enum.3 xdr_float.3 xdr_free.3 \
63 xdr_getpos.3 xdr_inline.3 xdr_int.3 xdr_long.3 \
64 xdrmem_create.3 xdr_opaque.3 xdr_pointer.3 xdrrec_create.3 \
65 xdrrec_endofrecord.3 xdrrec_eof.3 xdrrec_skiprecord.3 \
66 xdr_reference.3 xdr_setpos.3 xdr_short.3 xdrstdio_create.3 \
67 xdr_string.3 xdr_u_char.3 xdr_u_long.3 xdr_u_short.3 \
68 xdr_union.3 xdr_vector.3 xdr_void.3 xdr_wrapstring.3 ; do \
69 $(LN) -f "$(DSTROOT)/usr/share/man/man3/xdr.3" \
70 "$(DSTROOT)/usr/share/man/man3/$${LINK}" ; \
71 done