1 # exit immediately on failure 
   4 function InstallHeaders
() { 
   5         DESTDIR
="$DSTROOT/$INSTALL_PATH_PREFIX/$1" 
   7         install -d -o "$INSTALL_OWNER" -g "$INSTALL_GROUP" -m 0755 "$DESTDIR" 
   8         install -o "$INSTALL_OWNER" -g "$INSTALL_GROUP" -m 0444 "$@" "$DESTDIR" 
  11 InstallHeaders 
/usr
/include \
 
  12         gen.subproj
/ifaddrs.h \
 
  13         lookup.subproj
/aliasdb.h \
 
  14         lookup.subproj
/bootparams.h \
 
  15         lookup.subproj
/grp.h \
 
  16         lookup.subproj
/netdb.h \
 
  17         lookup.subproj
/printerdb.h \
 
  18         lookup.subproj
/pwd.h \
 
  19         membership.subproj
/membership.h \
 
  20         membership.subproj
/ntsid.h
 
  22 InstallHeaders 
/usr
/local
/include \
 
  23         gen.subproj
/configuration_profile.h \
 
  24         lookup.subproj
/ils.h \
 
  25         lookup.subproj
/kvbuf.h \
 
  26         lookup.subproj
/libinfo.h \
 
  27         lookup.subproj
/si_data.h \
 
  28         lookup.subproj
/si_module.h \
 
  29         lookup.subproj
/thread_data.h
 
  31 InstallHeaders 
/usr
/local
/include \
 
  32         lookup.subproj
/netdb_async.h \
 
  33         membership.subproj
/membershipPriv.h
 
  35 InstallHeaders 
/usr
/include
/rpc \
 
  37         rpc.subproj
/auth_unix.h \
 
  39         rpc.subproj
/pmap_clnt.h \
 
  40         rpc.subproj
/pmap_prot.h \
 
  41         rpc.subproj
/pmap_rmt.h \
 
  43         rpc.subproj
/rpc_msg.h \
 
  45         rpc.subproj
/svc_auth.h \
 
  49 InstallHeaders 
/usr
/include
/rpcsvc \
 
  50         nis.subproj
/yp_prot.h \
 
  53 # Don't install man pages for installhdrs nor simulator builds 
  54 if [ "$ACTION" == "installhdrs" -o \
 
  55      "${RC_ProjectName%_Sim}" != "${RC_ProjectName}" ] ; then 
  59 function InstallManPages
() { 
  60         for MANPAGE 
in "$@"; do 
  61                 SECTION
=`basename "${MANPAGE/*./}"` 
  62                 MANDIR
="$DSTROOT"/usr
/share
/man
/man
"$SECTION" 
  63                 install -d -o "$INSTALL_OWNER" -g "$INSTALL_GROUP" -m 0755 "$MANDIR" 
  64                 install -o "$INSTALL_OWNER" -g "$INSTALL_GROUP" -m 0444 "$MANPAGE" "$MANDIR" 
  68 function LinkManPages
() { 
  69         MANPAGE
=`basename "$1"` 
  70         SECTION
=`basename "${MANPAGE/*./}"` 
  71         MANDIR
="$DSTROOT"/usr
/share
/man
/man
"$SECTION" 
  74                 ln -hf "$MANDIR/$MANPAGE" "$MANDIR/$LINK" 
  79         gen.subproj
/getifaddrs
.3 \
 
  80         gen.subproj
/getifmaddrs
.3 \
 
  81         gen.subproj
/gethostbyname
.3 \
 
  82         gen.subproj
/getipnodebyname
.3 \
 
  83         gen.subproj
/getnetent
.3 \
 
  84         gen.subproj
/getprotoent
.3 \
 
  85         gen.subproj
/getservent
.3 \
 
  86         gen.subproj
/if_indextoname
.3 \
 
  87         gen.subproj
/inet6_rth_space
.3 \
 
  88         gen.subproj
/inet6_rthdr_space
.3 \
 
  89         gen.subproj
/inet6_option_space
.3 \
 
  90         gen.subproj
/inet6_opt_init
.3 
  93         lookup.subproj
/bootparams
.5 \
 
  94         lookup.subproj
/gai_strerror
.3 \
 
  95         lookup.subproj
/getaddrinfo
.3 \
 
  96         lookup.subproj
/getfsent
.3 \
 
  97         lookup.subproj
/getgrent
.3 \
 
  98         lookup.subproj
/getgrouplist
.3 \
 
  99         lookup.subproj
/getnameinfo
.3 \
 
 100         lookup.subproj
/getnetgrent
.3 \
 
 101         lookup.subproj
/getpwent
.3 \
 
 102         lookup.subproj
/initgroups
.3 
 105         membership.subproj
/mbr_check_membership
.3 \
 
 106         membership.subproj
/mbr_uid_to_uuid
.3 
 109         nis.subproj
/yp_all
.3 \
 
 110         nis.subproj
/yp_bind
.3 \
 
 111         nis.subproj
/yp_first
.3 \
 
 112         nis.subproj
/yp_get_default_domain
.3 \
 
 113         nis.subproj
/yp_master
.3 \
 
 114         nis.subproj
/yp_match
.3 \
 
 115         nis.subproj
/yp_next
.3 \
 
 116         nis.subproj
/yp_order
.3 \
 
 117         nis.subproj
/yp_unbind
.3 \
 
 118         nis.subproj
/ypclnt
.3 \
 
 119         nis.subproj
/yperr_string
.3 \
 
 120         nis.subproj
/ypprot_err
.3 \
 
 124         rpc.subproj
/bindresvport
.3 \
 
 125         rpc.subproj
/getrpcent
.3 \
 
 126         rpc.subproj
/getrpcport
.3 \
 
 131         util.subproj
/rcmd
.3 \
 
 132         util.subproj
/hosts.equiv
.5 
 134 LinkManPages gethostbyname
.3 \
 
 135         endhostent
.3 gethostbyaddr
.3 gethostbyname2.3 \
 
 136         gethostent
.3 herror
.3 hstrerror
.3 sethostent
.3 
 138 LinkManPages getifaddrs
.3 \
 
 141 LinkManPages getipnodebyname
.3 \
 
 142         freehostent
.3 getipnodebyaddr
.3 
 144 LinkManPages getnetent
.3 \
 
 145         endnetent
.3 getnetbyaddr
.3 getnetbyname
.3 setnetent
.3 
 147 LinkManPages getprotoent
.3 \
 
 148         endprotoent
.3 getprotobyname
.3 getprotobynumber
.3 setprotoent
.3 
 150 LinkManPages getservent
.3 \
 
 151         endservent
.3 getservbyname
.3 getservbyport
.3 setservent
.3 
 153 LinkManPages if_indextoname
.3 \
 
 154         if_freenameindex
.3 if_nameindex
.3 if_nametoindex
.3 
 156 LinkManPages inet6_option_space
.3 \
 
 157         inet6_option_alloc
.3 inet6_option_append
.3 \
 
 158         inet6_option_find
.3 inet6_option_init
.3 inet6_option_next
.3 
 160 LinkManPages inet6_rthdr_space
.3 \
 
 161         inet6_rthdr_add
.3 inet6_rthdr_getaddr
.3 \
 
 162         inet6_rthdr_getflags
.3 inet6_rthdr_init
.3 \
 
 163         inet6_rthdr_lasthop
.3 inet6_rthdr_reverse
.3 \
 
 164         inet6_rthdr_segments
.3 
 166 LinkManPages inet6_opt_init
.3 \
 
 167         inet6_opt_append
.3 inet6_opt_finish
.3 inet6_opt_set_val
.3 \
 
 168         inet6_opt_next
.3 inet6_opt_find
.3 inet6_opt_get_val
.3 
 170 LinkManPages getaddrinfo
.3 \
 
 173 LinkManPages getfsent
.3 \
 
 174         endfsent
.3 getfsfile
.3 getfsspec
.3 getfstype
.3 setfsent
.3 
 176 LinkManPages getgrent
.3 \
 
 177         endgrent
.3 getgrgid
.3 getgrgid_r
.3 getgrnam
.3 \
 
 178         getgrnam_r
.3 setgrent
.3 setgroupent
.3 
 180 LinkManPages getnetgrent
.3 \
 
 181         endnetgrent
.3 innetgr
.3 setnetgrent
.3 
 183 LinkManPages getpwent
.3 \
 
 184         endpwent
.3 getpwnam
.3 getpwnam_r
.3 getpwuid
.3 \
 
 185         getpwuid_r
.3 setpassent
.3 setpwent
.3 setpwfile
.3 \
 
 186         getpwuuid
.3 getpwuuid_r
.3 
 188 LinkManPages mbr_uid_to_uuid
.3 \
 
 189         mbr_gid_to_uuid
.3 mbr_sid_to_uuid
.3 mbr_uuid_to_id
.3 mbr_uuid_to_sid
.3 \
 
 190         mbr_sid_to_string
.3 mbr_string_to_sid
.3 
 192 LinkManPages mbr_check_membership
.3 \
 
 193         mbr_check_service_membership
.3 
 195 LinkManPages getrpcent
.3 \
 
 196         getrpcbyname
.3 getrpcbynumber
.3 endrpcent
.3 setrpcent
.3 
 199         auth_destroy
.3 authnone_create
.3 authunix_create
.3 \
 
 200         authunix_create_default
.3 callrpc
.3 clnt_broadcast
.3 \
 
 201         clnt_call
.3 clnt_control
.3 clnt_create
.3 clnt_destroy
.3 \
 
 202         clnt_freeres
.3 clnt_geterr
.3 clnt_pcreateerror
.3 \
 
 203         clnt_perrno
.3 clnt_perror
.3 clnt_spcreateerror
.3 \
 
 204         clnt_sperrno
.3 clnt_sperror
.3 clntraw_create
.3 \
 
 205         clnttcp_create
.3 clntudp_bufcreate
.3 clntudp_create
.3 \
 
 206         get_myaddress
.3 pmap_getmaps
.3 pmap_getport
.3 pmap_rmtcall
.3 \
 
 207         pmap_set
.3 pmap_unset
.3 regsterrpc
.3 rpc_createerr
.3 \
 
 208         svc_destroy
.3 svc_fds
.3 svc_fdset
.3 svc_getargs
.3 \
 
 209         svc_getcaller
.3 svc_getreg
.3 svc_getregset
.3 svc_register
.3 \
 
 210         svc_run
.3 svc_sendreply
.3 svc_unregister
.3 svcerr_auth
.3 \
 
 211         svcerr_decode
.3 svcerr_noproc
.3 svcerr_noprog
.3 \
 
 212         svcerr_progvers
.3 svcerr_systemerr
.3 svcerr_weakauth
.3 \
 
 213         svcfd_create
.3 svcraw_create
.3 svctcp_create
.3 \
 
 214         svcudp_bufcreate
.3 xdr_accepted_reply
.3 xdr_authunix_parms
.3 \
 
 215         xdr_callhdr
.3 xdr_callmsg
.3 xdr_opaque_auth
.3 xdr_pmap
.3 \
 
 216         xdr_pmaplist
.3 xdr_rejected_reply
.3 xdr_replymsg
.3 \
 
 217         xprt_register
.3 xprt_unregister
.3 
 220         xdr_array
.3 xdr_bool
.3 xdr_bytes
.3 xdr_char
.3 \
 
 221         xdr_destroy
.3 xdr_double
.3 xdr_enum
.3 xdr_float
.3 xdr_free
.3 \
 
 222         xdr_getpos
.3 xdr_inline
.3 xdr_int
.3 xdr_long
.3 \
 
 223         xdrmem_create
.3 xdr_opaque
.3 xdr_pointer
.3 xdrrec_create
.3 \
 
 224         xdrrec_endofrecord
.3 xdrrec_eof
.3 xdrrec_skiprecord
.3 \
 
 225         xdr_reference
.3 xdr_setpos
.3 xdr_short
.3 xdrstdio_create
.3 \
 
 226         xdr_string
.3 xdr_u_char
.3 xdr_u_long
.3 xdr_u_short
.3 \
 
 227         xdr_union
.3 xdr_vector
.3 xdr_void
.3 xdr_wrapstring
.3 
 229 LinkManPages rcmd
.3 \
 
 230         iruserok
.3 iruserok_sa
.3 rcmd_af
.3 rresvport
.3 rresvport_af
.3 ruserok
.3 
 232 LinkManPages hosts.equiv
.5 \