changeset 14173:6b6815d682dd

3600 edit(1) is a bad .so reference Reviewed by: Richard Lowe <richlowe@richlowe.net> Reviewed by: Garrett D'Amore <garrett@damore.org> Reviewed by: Gordon Ross <gordon.w.ross@gmail.com> Approved by: Richard Lowe <richlowe@richlowe.net>
author Yuri Pankov <yuri.pankov@nexenta.com>
date Thu, 29 Aug 2013 02:33:28 +0400
parents be36a38bac3d
children f63fe73094ce
files usr/src/man/Makefile usr/src/man/Makefile.man usr/src/man/man1/Makefile usr/src/man/man1b/Makefile usr/src/man/man1c/Makefile usr/src/man/man1has/Makefile usr/src/man/man1m/Makefile usr/src/man/man2/Makefile usr/src/man/man3/Makefile usr/src/man/man3bsm/Makefile usr/src/man/man3c/Makefile usr/src/man/man3c_db/Makefile usr/src/man/man3cfgadm/Makefile usr/src/man/man3commputil/Makefile usr/src/man/man3contract/Makefile usr/src/man/man3cpc/Makefile usr/src/man/man3curses/Makefile usr/src/man/man3dat/Makefile usr/src/man/man3devid/Makefile usr/src/man/man3devinfo/Makefile usr/src/man/man3dlpi/Makefile usr/src/man/man3dns_sd/Makefile usr/src/man/man3elf/Makefile usr/src/man/man3exacct/Makefile usr/src/man/man3ext/Makefile usr/src/man/man3fcoe/Makefile usr/src/man/man3fstyp/Makefile usr/src/man/man3gen/Makefile usr/src/man/man3gss/Makefile usr/src/man/man3head/Makefile usr/src/man/man3iscsit/Makefile usr/src/man/man3kstat/Makefile usr/src/man/man3kvm/Makefile usr/src/man/man3ldap/Makefile usr/src/man/man3lgrp/Makefile usr/src/man/man3lib/Makefile usr/src/man/man3libucb/Makefile usr/src/man/man3mail/Makefile usr/src/man/man3malloc/Makefile usr/src/man/man3mp/Makefile usr/src/man/man3mpapi/Makefile usr/src/man/man3nsl/Makefile usr/src/man/man3nvpair/Makefile usr/src/man/man3pam/Makefile usr/src/man/man3papi/Makefile usr/src/man/man3perl/Makefile usr/src/man/man3picl/Makefile usr/src/man/man3picltree/Makefile usr/src/man/man3pool/Makefile usr/src/man/man3proc/Makefile usr/src/man/man3project/Makefile usr/src/man/man3resolv/Makefile usr/src/man/man3rpc/Makefile usr/src/man/man3rsm/Makefile usr/src/man/man3sasl/Makefile usr/src/man/man3scf/Makefile usr/src/man/man3sec/Makefile usr/src/man/man3secdb/Makefile usr/src/man/man3sip/Makefile usr/src/man/man3slp/Makefile usr/src/man/man3socket/Makefile usr/src/man/man3stmf/Makefile usr/src/man/man3sysevent/Makefile usr/src/man/man3tecla/Makefile usr/src/man/man3tnf/Makefile usr/src/man/man3tsol/Makefile usr/src/man/man3ucb/Makefile usr/src/man/man3uuid/Makefile usr/src/man/man3volmgt/Makefile usr/src/man/man3xcurses/Makefile usr/src/man/man3xnet/Makefile usr/src/man/man4/Makefile usr/src/man/man5/Makefile usr/src/man/man7/Makefile usr/src/man/man7d/Makefile usr/src/man/man7fs/Makefile usr/src/man/man7i/Makefile usr/src/man/man7ipp/Makefile usr/src/man/man7m/Makefile usr/src/man/man7p/Makefile usr/src/man/man9/Makefile usr/src/man/man9e/Makefile usr/src/man/man9f/Makefile usr/src/man/man9p/Makefile usr/src/man/man9s/Makefile usr/src/pkg/manifests/SUNWcs.man1.inc usr/src/pkg/manifests/SUNWcs.man1m.inc usr/src/pkg/manifests/SUNWcs.man4.inc usr/src/pkg/manifests/SUNWcs.man5.inc usr/src/pkg/manifests/compatibility-ucb.mf usr/src/pkg/manifests/developer-tnf.mf usr/src/pkg/manifests/diagnostic-cpu-counters.mf usr/src/pkg/manifests/driver-firewire.mf usr/src/pkg/manifests/driver-usb.mf usr/src/pkg/manifests/library-libtecla.mf usr/src/pkg/manifests/library-print-open-printing-ipp.mf usr/src/pkg/manifests/library-security-tcp-wrapper.mf usr/src/pkg/manifests/naming-ldap.mf usr/src/pkg/manifests/network-iscsi-target.mf usr/src/pkg/manifests/print-lp-print-client-commands.mf usr/src/pkg/manifests/service-hal.mf usr/src/pkg/manifests/service-network-dns-mdns.mf usr/src/pkg/manifests/service-network-ftp.mf usr/src/pkg/manifests/service-network-network-clients.mf usr/src/pkg/manifests/service-network-network-servers.mf usr/src/pkg/manifests/service-network-nis.mf usr/src/pkg/manifests/service-network-smtp-sendmail.mf usr/src/pkg/manifests/service-network-telnet.mf usr/src/pkg/manifests/service-network-tftp.mf usr/src/pkg/manifests/service-network-uucp.mf usr/src/pkg/manifests/service-picl.mf usr/src/pkg/manifests/service-resource-pools.mf usr/src/pkg/manifests/service-security-gss.mf usr/src/pkg/manifests/service-storage-media-volume-manager.mf usr/src/pkg/manifests/storage-metassist.mf usr/src/pkg/manifests/storage-stmf.mf usr/src/pkg/manifests/storage-svm.mf usr/src/pkg/manifests/system-accounting-legacy.mf usr/src/pkg/manifests/system-boot-network.mf usr/src/pkg/manifests/system-extended-system-utilities.mf usr/src/pkg/manifests/system-file-system-smb.mf usr/src/pkg/manifests/system-header.mf usr/src/pkg/manifests/system-kernel-platform.mf usr/src/pkg/manifests/system-kernel-ultra-wideband.mf usr/src/pkg/manifests/system-kernel.man2.inc usr/src/pkg/manifests/system-kernel.man4.inc usr/src/pkg/manifests/system-kernel.man7.inc usr/src/pkg/manifests/system-kernel.man7d.inc usr/src/pkg/manifests/system-kernel.man7fs.inc usr/src/pkg/manifests/system-kernel.man7m.inc usr/src/pkg/manifests/system-kernel.man7p.inc usr/src/pkg/manifests/system-kernel.man9.inc usr/src/pkg/manifests/system-kernel.man9e.inc usr/src/pkg/manifests/system-kernel.man9f.inc usr/src/pkg/manifests/system-kernel.man9p.inc usr/src/pkg/manifests/system-kernel.man9s.inc usr/src/pkg/manifests/system-library-security-libsasl.mf usr/src/pkg/manifests/system-library-storage-libmpapi.mf usr/src/pkg/manifests/system-library.man3.inc usr/src/pkg/manifests/system-library.man3bsm.inc usr/src/pkg/manifests/system-library.man3c.inc usr/src/pkg/manifests/system-library.man3c_db.inc usr/src/pkg/manifests/system-library.man3cfgadm.inc usr/src/pkg/manifests/system-library.man3commputil.inc usr/src/pkg/manifests/system-library.man3contract.inc usr/src/pkg/manifests/system-library.man3curses.inc usr/src/pkg/manifests/system-library.man3devid.inc usr/src/pkg/manifests/system-library.man3devinfo.inc usr/src/pkg/manifests/system-library.man3dlpi.inc usr/src/pkg/manifests/system-library.man3elf.inc usr/src/pkg/manifests/system-library.man3exacct.inc usr/src/pkg/manifests/system-library.man3ext.inc usr/src/pkg/manifests/system-library.man3fstyp.inc usr/src/pkg/manifests/system-library.man3gen.inc usr/src/pkg/manifests/system-library.man3kstat.inc usr/src/pkg/manifests/system-library.man3kvm.inc usr/src/pkg/manifests/system-library.man3ldap.inc usr/src/pkg/manifests/system-library.man3lgrp.inc usr/src/pkg/manifests/system-library.man3lib.inc usr/src/pkg/manifests/system-library.man3mail.inc usr/src/pkg/manifests/system-library.man3malloc.inc usr/src/pkg/manifests/system-library.man3mp.inc usr/src/pkg/manifests/system-library.man3nsl.inc usr/src/pkg/manifests/system-library.man3nvpair.inc usr/src/pkg/manifests/system-library.man3pam.inc usr/src/pkg/manifests/system-library.man3scf.inc usr/src/pkg/manifests/system-library.man3sec.inc usr/src/pkg/manifests/system-library.man3secdb.inc usr/src/pkg/manifests/system-library.man3sip.inc usr/src/pkg/manifests/system-library.man3socket.inc usr/src/pkg/manifests/system-library.man3tsol.inc usr/src/pkg/manifests/system-library.man3uuid.inc usr/src/pkg/manifests/system-library.man3volmgt.inc usr/src/pkg/manifests/system-library.man3xcurses.inc usr/src/pkg/manifests/system-library.man3xnet.inc usr/src/pkg/manifests/system-library.man5.inc usr/src/pkg/manifests/system-network-http-cache-accelerator.mf usr/src/pkg/manifests/system-network-nis.mf usr/src/pkg/manifests/system-network-routing.mf usr/src/pkg/manifests/system-remote-shared-memory.mf usr/src/pkg/manifests/system-security-kerberos-5.mf usr/src/pkg/manifests/system-storage-fibre-channel-port-utility.mf usr/src/pkg/manifests/system-storage-sasinfo.mf usr/src/pkg/manifests/text-doctools.mf
diffstat 184 files changed, 13578 insertions(+), 11524 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/man/Makefile	Fri Aug 30 01:19:35 2013 -0800
+++ b/usr/src/man/Makefile	Thu Aug 29 02:33:28 2013 +0400
@@ -9,104 +9,105 @@
 # at http://www.illumos.org/license/CDDL.
 #
 
+#
 # Copyright 2011, Richard Lowe
+# Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
+#
 
-SUBDIRS=man1		\
-	man1b		\
-	man1c		\
-	man1has		\
-	man1m		\
-	man2		\
-	man3		\
-	man3bsm		\
-	man3c		\
-	man3c_db	\
-	man3cfgadm	\
-	man3commputil	\
-	man3contract	\
-	man3cpc		\
-	man3curses	\
-	man3dat		\
-	man3devid	\
-	man3devinfo	\
-	man3dlpi	\
-	man3dns_sd	\
-	man3elf		\
-	man3exacct	\
-	man3ext		\
-	man3fcoe	\
-	man3fstyp	\
-	man3gen		\
-	man3gss		\
-	man3head	\
-	man3iscsit	\
-	man3kstat	\
-	man3kvm		\
-	man3ldap	\
-	man3lgrp	\
-	man3lib		\
-	man3libucb	\
-	man3mail	\
-	man3malloc	\
-	man3mp		\
-	man3mpapi	\
-	man3nsl		\
-	man3nvpair	\
-	man3pam		\
-	man3papi	\
-	man3perl	\
-	man3picl	\
-	man3picltree	\
-	man3pool	\
-	man3proc	\
-	man3project	\
-	man3resolv	\
-	man3rpc		\
-	man3rsm		\
-	man3sasl	\
-	man3scf		\
-	man3sec		\
-	man3secdb	\
-	man3sip		\
-	man3slp		\
-	man3socket	\
-	man3stmf	\
-	man3sysevent	\
-	man3tecla	\
-	man3tnf		\
-	man3tsol	\
-	man3ucb		\
-	man3uuid	\
-	man3volmgt	\
-	man3xcurses	\
-	man3xnet	\
-	man4		\
-	man5		\
-	man7		\
-	man7d		\
-	man7fs		\
-	man7i		\
-	man7ipp		\
-	man7m		\
-	man7p		\
-	man9		\
-	man9e		\
-	man9f		\
-	man9p		\
-	man9s
+SUBDIRS=	man1		\
+		man1b		\
+		man1c		\
+		man1has		\
+		man1m		\
+		man2		\
+		man3		\
+		man3bsm		\
+		man3c		\
+		man3c_db	\
+		man3cfgadm	\
+		man3commputil	\
+		man3contract	\
+		man3cpc		\
+		man3curses	\
+		man3dat		\
+		man3devid	\
+		man3devinfo	\
+		man3dlpi	\
+		man3dns_sd	\
+		man3elf		\
+		man3exacct	\
+		man3ext		\
+		man3fcoe	\
+		man3fstyp	\
+		man3gen		\
+		man3gss		\
+		man3head	\
+		man3iscsit	\
+		man3kstat	\
+		man3kvm		\
+		man3ldap	\
+		man3lgrp	\
+		man3lib		\
+		man3libucb	\
+		man3mail	\
+		man3malloc	\
+		man3mp		\
+		man3mpapi	\
+		man3nsl		\
+		man3nvpair	\
+		man3pam		\
+		man3papi	\
+		man3perl	\
+		man3picl	\
+		man3picltree	\
+		man3pool	\
+		man3proc	\
+		man3project	\
+		man3resolv	\
+		man3rpc		\
+		man3rsm		\
+		man3sasl	\
+		man3scf		\
+		man3sec		\
+		man3secdb	\
+		man3sip		\
+		man3slp		\
+		man3socket	\
+		man3stmf	\
+		man3sysevent	\
+		man3tecla	\
+		man3tnf		\
+		man3tsol	\
+		man3ucb		\
+		man3uuid	\
+		man3volmgt	\
+		man3xcurses	\
+		man3xnet	\
+		man4		\
+		man5		\
+		man7		\
+		man7d		\
+		man7fs		\
+		man7i		\
+		man7ipp		\
+		man7m		\
+		man7p		\
+		man9		\
+		man9e		\
+		man9f		\
+		man9p		\
+		man9s
 
 .PARALLEL: $(SUBDIRS)
 
-all :=		TARGET = all
-install :=	TARGET = install
-clean :=	TARGET = clean
-clobber :=	TARGET = clobber
-lint :=		TARGET = lint
+all		:= TARGET = all
+clean		:= TARGET = clean
+clobber		:= TARGET = clobber
+install		:= TARGET = install
 
-all install clean clobber lint: $(SUBDIRS)
+all clean clobber install: $(SUBDIRS)
 
-$(SUBDIRS): FRC
+$(SUBDIRS):	FRC
 	@cd $@; pwd; $(MAKE) $(TARGET)
 
 FRC:
-
--- a/usr/src/man/Makefile.man	Fri Aug 30 01:19:35 2013 -0800
+++ b/usr/src/man/Makefile.man	Thu Aug 29 02:33:28 2013 +0400
@@ -9,36 +9,39 @@
 # at http://www.illumos.org/license/CDDL.
 #
 
+#
 # Copyright 2011, Richard Lowe
+# Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
+#
 
-ROOTMAN			= $(ROOT)/usr/share/man
-ROOTHASMAN		= $(ROOT)/usr/has/man
+ROOTMAN=	$(ROOT)/usr/share/man
+ROOTHASMAN=	$(ROOT)/usr/has/man
 
-FILEMODE= 0444
+FILEMODE=	0444
 
 # The manual section being built, client Makefiles must set this to, for e.g.
 # "3perl", with case matching that of the section name as installed.
 #
 # MANSECT=
 
-ROOTMANFILES = 	$(MANFILES:%=$(ROOTMAN)/man$(MANSECT)/%)
-
-CLOBBERFILES = $(MANSOFILES)
+ROOTMANFILES= 	$(MANFILES:%=$(ROOTMAN)/man$(MANSECT)/%)
+ROOTMANLINKS=	$(MANLINKS:%=$(ROOTMAN)/man$(MANSECT)/%)
 
 $(ROOTMAN)/man$(MANSECT)/% $(ROOTHASMAN)/man$(MANSECT)/%: %
-	$(INS.file)
+		$(INS.file)
 
-$(MANSOFILES):
-	$(RM) $@; $(ECHO) ".so $(SOSRC)" > $@
+$(MANLINKS):
+		$(RM) $@; $(SYMLINK) $(LINKSRC) $@
+
+$(ROOTMANLINKS): $(MANLINKS)
+		$(RM) $@; $(CP) -RP $(@F) $(@D)
 
 all:
 
 clean:
 
 clobber:
-	$(RM) $(CLOBBERFILES)
-
-lint:
+		$(RM) $(MANLINKS)
 
 .PARALLEL:
 
--- a/usr/src/man/man1/Makefile	Fri Aug 30 01:19:35 2013 -0800
+++ b/usr/src/man/man1/Makefile	Thu Aug 29 02:33:28 2013 +0400
@@ -9,11 +9,14 @@
 # at http://www.illumos.org/license/CDDL.
 #
 
+#
 # Copyright 2011, Richard Lowe
+# Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
+#
 
-include ../../Makefile.master
+include		$(SRC)/Makefile.master
 
-MANSECT = 	1
+MANSECT= 	1
 
 MANFILES=	acctcom.1			\
 	 	adb.1				\
@@ -108,7 +111,6 @@
 	 	dumpcs.1			\
 	 	echo.1				\
 	 	ed.1				\
-		edit.1				\
 	 	egrep.1				\
 	 	eject.1				\
 	 	elfdump.1			\
@@ -409,7 +411,7 @@
 	 	w.1				\
 	 	wait.1				\
 	 	wc.1				\
-	 	whatis.1			\
+		whatis.1			\
 	 	which.1				\
 	 	who.1				\
 	 	whocalls.1			\
@@ -427,7 +429,7 @@
 	 	zlogin.1			\
 	 	zonename.1
 
-MANSOFILES =	batch.1		\
+MANLINKS=	batch.1		\
 	 	bg.1		\
 	 	case.1		\
 	 	chdir.1		\
@@ -558,192 +560,192 @@
 		while.1		\
 		zcat.1
 
-MANFILES +=	$(MANSOFILES)
+intro.1		:= LINKSRC = Intro.1
 
-intro.1		:= SOSRC = man1/Intro.1
+unalias.1	:= LINKSRC = alias.1
 
-unalias.1	:= SOSRC = man1/alias.1
+batch.1		:= LINKSRC = at.1
 
-batch.1		:= SOSRC = man1/at.1
+dirname.1	:= LINKSRC = basename.1
 
-dirname.1	:= SOSRC = man1/basename.1
+continue.1	:= LINKSRC = break.1
 
-continue.1	:= SOSRC = man1/break.1
+chdir.1		:= LINKSRC = cd.1
+dirs.1		:= LINKSRC = cd.1
+popd.1		:= LINKSRC = cd.1
+pushd.1		:= LINKSRC = cd.1
 
-chdir.1		:= SOSRC = man1/cd.1
-dirs.1		:= SOSRC = man1/cd.1
-popd.1		:= SOSRC = man1/cd.1
-pushd.1		:= SOSRC = man1/cd.1
+errdate.1	:= LINKSRC = ckdate.1
+helpdate.1	:= LINKSRC = ckdate.1
+valdate.1	:= LINKSRC = ckdate.1
 
-errdate.1	:= SOSRC = man1/ckdate.1
-helpdate.1	:= SOSRC = man1/ckdate.1
-valdate.1	:= SOSRC = man1/ckdate.1
+errgid.1	:= LINKSRC = ckgid.1
+helpgid.1	:= LINKSRC = ckgid.1
+valgid.1	:= LINKSRC = ckgid.1
 
-errgid.1	:= SOSRC = man1/ckgid.1
-helpgid.1	:= SOSRC = man1/ckgid.1
-valgid.1	:= SOSRC = man1/ckgid.1
+errint.1	:= LINKSRC = ckint.1
+helpint.1	:= LINKSRC = ckint.1
+valint.1	:= LINKSRC = ckint.1
 
-errint.1	:= SOSRC = man1/ckint.1
-helpint.1	:= SOSRC = man1/ckint.1
-valint.1	:= SOSRC = man1/ckint.1
+erritem.1	:= LINKSRC = ckitem.1
+helpitem.1	:= LINKSRC = ckitem.1
 
-erritem.1	:= SOSRC = man1/ckitem.1
-helpitem.1	:= SOSRC = man1/ckitem.1
+errpath.1	:= LINKSRC = ckpath.1
+helppath.1	:= LINKSRC = ckpath.1
+valpath.1	:= LINKSRC = ckpath.1
 
-errpath.1	:= SOSRC = man1/ckpath.1
-helppath.1	:= SOSRC = man1/ckpath.1
-valpath.1	:= SOSRC = man1/ckpath.1
+errange.1	:= LINKSRC = ckrange.1
+helprange.1	:= LINKSRC = ckrange.1
+valrange.1	:= LINKSRC = ckrange.1
 
-errange.1	:= SOSRC = man1/ckrange.1
-helprange.1	:= SOSRC = man1/ckrange.1
-valrange.1	:= SOSRC = man1/ckrange.1
+errstr.1	:= LINKSRC = ckstr.1
+helpstr.1	:= LINKSRC = ckstr.1
+valstr.1	:= LINKSRC = ckstr.1
 
-errstr.1	:= SOSRC = man1/ckstr.1
-helpstr.1	:= SOSRC = man1/ckstr.1
-valstr.1	:= SOSRC = man1/ckstr.1
+errtime.1	:= LINKSRC = cktime.1
+helptime.1	:= LINKSRC = cktime.1
+valtime.1	:= LINKSRC = cktime.1
 
-errtime.1	:= SOSRC = man1/cktime.1
-helptime.1	:= SOSRC = man1/cktime.1
-valtime.1	:= SOSRC = man1/cktime.1
+erruid.1	:= LINKSRC = ckuid.1
+helpuid.1	:= LINKSRC = ckuid.1
+valuid.1	:= LINKSRC = ckuid.1
 
-erruid.1	:= SOSRC = man1/ckuid.1
-helpuid.1	:= SOSRC = man1/ckuid.1
-valuid.1	:= SOSRC = man1/ckuid.1
+erryorn.1	:= LINKSRC = ckyorn.1
+helpyorn.1	:= LINKSRC = ckyorn.1
+valyorn.1	:= LINKSRC = ckyorn.1
+
+uncompress.1	:= LINKSRC = compress.1
+zcat.1		:= LINKSRC = compress.1
 
-erryorn.1	:= SOSRC = man1/ckyorn.1
-helpyorn.1	:= SOSRC = man1/ckyorn.1
-valyorn.1	:= SOSRC = man1/ckyorn.1
+red.1		:= LINKSRC = ed.1
+
+disable.1	:= LINKSRC = enable.1
+
+decrypt.1	:= LINKSRC = encrypt.1
 
-uncompress.1	:= SOSRC = man1/compress.1
-zcat.1		:= SOSRC = man1/compress.1
+checkeq.1	:= LINKSRC = eqn.1
+neqn.1		:= LINKSRC = eqn.1
 
-red.1		:= SOSRC = man1/ed.1
-
-disable.1	:= SOSRC = man1/enable.1
-
-decrypt.1	:= SOSRC = man1/encrypt.1
+eval.1		:= LINKSRC = exec.1
+source.1	:= LINKSRC = exec.1
 
-checkeq.1	:= SOSRC = man1/eqn.1
-neqn.1		:= SOSRC = man1/eqn.1
+goto.1		:= LINKSRC = exit.1
+return.1	:= LINKSRC = exit.1
 
-eval.1		:= SOSRC = man1/exec.1
-source.1	:= SOSRC = man1/exec.1
+unexpand.1	:= LINKSRC = expand.1
 
-goto.1		:= SOSRC = man1/exit.1
-return.1	:= SOSRC = man1/exit.1
-
-unexpand.1	:= SOSRC = man1/expand.1
+hashstat.1	:= LINKSRC = hash.1
+rehash.1	:= LINKSRC = hash.1
+unhash.1	:= LINKSRC = hash.1
 
-hashstat.1	:= SOSRC = man1/hash.1
-rehash.1	:= SOSRC = man1/hash.1
-unhash.1	:= SOSRC = man1/hash.1
+fc.1		:= LINKSRC = history.1
+hist.1		:= LINKSRC = history.1
 
-fc.1		:= SOSRC = man1/history.1
-hist.1		:= SOSRC = man1/history.1
+bg.1		:= LINKSRC = jobs.1
+fg.1		:= LINKSRC = jobs.1
+notify.1	:= LINKSRC = jobs.1
+stop.1		:= LINKSRC = jobs.1
 
-bg.1		:= SOSRC = man1/jobs.1
-fg.1		:= SOSRC = man1/jobs.1
-notify.1	:= SOSRC = man1/jobs.1
-stop.1		:= SOSRC = man1/jobs.1
+jsh.1		:= LINKSRC = ksh93.1
+ksh.1		:= LINKSRC = ksh93.1
+rksh.1		:= LINKSRC = ksh93.1
+rksh93.1	:= LINKSRC = ksh93.1
+sh.1		:= LINKSRC = ksh93.1
 
-jsh.1		:= SOSRC = man1/ksh93.1
-ksh.1		:= SOSRC = man1/ksh93.1
-rksh.1		:= SOSRC = man1/ksh93.1
-rksh93.1	:= SOSRC = man1/ksh93.1
-sh.1		:= SOSRC = man1/ksh93.1
+ldapadd.1	:= LINKSRC = ldapmodify.1
 
-ldapadd.1	:= SOSRC = man1/ldapmodify.1
+ulimit.1	:= LINKSRC = limit.1
+unlimit.1	:= LINKSRC = limit.1
 
-ulimit.1	:= SOSRC = man1/limit.1
-unlimit.1	:= SOSRC = man1/limit.1
-
-dumpkeys.1	:= SOSRC = man1/loadkeys.1
+dumpkeys.1	:= LINKSRC = loadkeys.1
 
-i286.1		:= SOSRC = man1/machid.1
-i386.1		:= SOSRC = man1/machid.1
-i486.1		:= SOSRC = man1/machid.1
-i860.1		:= SOSRC = man1/machid.1
-iAPX286.1	:= SOSRC = man1/machid.1
-pdp11.1		:= SOSRC = man1/machid.1
-sparc.1		:= SOSRC = man1/machid.1
-sun.1		:= SOSRC = man1/machid.1
-u370.1		:= SOSRC = man1/machid.1
-u3b.1		:= SOSRC = man1/machid.1
-u3b15.1		:= SOSRC = man1/machid.1
-u3b2.1		:= SOSRC = man1/machid.1
-u3b5.1		:= SOSRC = man1/machid.1
-vax.1		:= SOSRC = man1/machid.1
+i286.1		:= LINKSRC = machid.1
+i386.1		:= LINKSRC = machid.1
+i486.1		:= LINKSRC = machid.1
+i860.1		:= LINKSRC = machid.1
+iAPX286.1	:= LINKSRC = machid.1
+pdp11.1		:= LINKSRC = machid.1
+sparc.1		:= LINKSRC = machid.1
+sun.1		:= LINKSRC = machid.1
+u370.1		:= LINKSRC = machid.1
+u3b.1		:= LINKSRC = machid.1
+u3b15.1		:= LINKSRC = machid.1
+u3b2.1		:= LINKSRC = machid.1
+u3b5.1		:= LINKSRC = machid.1
+vax.1		:= LINKSRC = machid.1
 
-rmail.1		:= SOSRC = man1/mail.1
+rmail.1		:= LINKSRC = mail.1
 
-page.1		:= SOSRC = man1/more.1
+page.1		:= LINKSRC = more.1
 
-snca.1		:= SOSRC = man1/nca.1
+snca.1		:= LINKSRC = nca.1
 
-pcat.1		:= SOSRC = man1/pack.1
-unpack.1	:= SOSRC = man1/pack.1
+pcat.1		:= LINKSRC = pack.1
+unpack.1	:= LINKSRC = pack.1
 
-pfcsh.1		:= SOSRC = man1/pfexec.1
-pfksh.1		:= SOSRC = man1/pfexec.1
-pfsh.1		:= SOSRC = man1/pfexec.1
+pfcsh.1		:= LINKSRC = pfexec.1
+pfksh.1		:= LINKSRC = pfexec.1
+pfsh.1		:= LINKSRC = pfexec.1
 
-pkill.1		:= SOSRC = man1/pgrep.1
+pkill.1		:= LINKSRC = pgrep.1
 
-pcred.1		:= SOSRC = man1/proc.1
-pfiles.1	:= SOSRC = man1/proc.1
-pflags.1	:= SOSRC = man1/proc.1
-pldd.1		:= SOSRC = man1/proc.1
-prun.1		:= SOSRC = man1/proc.1
-psig.1		:= SOSRC = man1/proc.1
-pstack.1	:= SOSRC = man1/proc.1
-pstop.1		:= SOSRC = man1/proc.1
-ptime.1		:= SOSRC = man1/proc.1
-pwait.1		:= SOSRC = man1/proc.1
-pwdx.1		:= SOSRC = man1/proc.1
+pcred.1		:= LINKSRC = proc.1
+pfiles.1	:= LINKSRC = proc.1
+pflags.1	:= LINKSRC = proc.1
+pldd.1		:= LINKSRC = proc.1
+prun.1		:= LINKSRC = proc.1
+psig.1		:= LINKSRC = proc.1
+pstack.1	:= LINKSRC = proc.1
+pstop.1		:= LINKSRC = proc.1
+ptime.1		:= LINKSRC = proc.1
+pwait.1		:= LINKSRC = proc.1
+pwdx.1		:= LINKSRC = proc.1
 
-rmdir.1		:= SOSRC = man1/rm.1
+rmdir.1		:= LINKSRC = rm.1
 
-rmumount.1	:= SOSRC = man1/rmmount.1
+rmumount.1	:= LINKSRC = rmmount.1
 
-remote_shell.1	:= SOSRC = man1/rsh.1
-remsh.1		:= SOSRC = man1/rsh.1
+remote_shell.1	:= LINKSRC = rsh.1
+remsh.1		:= LINKSRC = rsh.1
 
-export.1	:= SOSRC = man1/set.1
-setenv.1	:= SOSRC = man1/set.1
-unset.1		:= SOSRC = man1/set.1
-unsetenv.1	:= SOSRC = man1/set.1
+export.1	:= LINKSRC = set.1
+setenv.1	:= LINKSRC = set.1
+unset.1		:= LINKSRC = set.1
+unsetenv.1	:= LINKSRC = set.1
 
-case.1		:= SOSRC = man1/shell_builtins.1
-for.1		:= SOSRC = man1/shell_builtins.1
-foreach.1	:= SOSRC = man1/shell_builtins.1
-function.1	:= SOSRC = man1/shell_builtins.1
-if.1		:= SOSRC = man1/shell_builtins.1
-repeat.1	:= SOSRC = man1/shell_builtins.1
-select.1	:= SOSRC = man1/shell_builtins.1
-switch.1	:= SOSRC = man1/shell_builtins.1
-until.1		:= SOSRC = man1/shell_builtins.1
-while.1		:= SOSRC = man1/shell_builtins.1
+case.1		:= LINKSRC = shell_builtins.1
+for.1		:= LINKSRC = shell_builtins.1
+foreach.1	:= LINKSRC = shell_builtins.1
+function.1	:= LINKSRC = shell_builtins.1
+if.1		:= LINKSRC = shell_builtins.1
+repeat.1	:= LINKSRC = shell_builtins.1
+select.1	:= LINKSRC = shell_builtins.1
+switch.1	:= LINKSRC = shell_builtins.1
+until.1		:= LINKSRC = shell_builtins.1
+while.1		:= LINKSRC = shell_builtins.1
+
+hashcheck.1	:= LINKSRC = spell.1
+hashmake.1	:= LINKSRC = spell.1
+spellin.1	:= LINKSRC = spell.1
 
-hashcheck.1	:= SOSRC = man1/spell.1
-hashmake.1	:= SOSRC = man1/spell.1
-spellin.1	:= SOSRC = man1/spell.1
+strconf.1	:= LINKSRC = strchg.1
+
+settime.1	:= LINKSRC = touch.1
 
-strconf.1	:= SOSRC = man1/strchg.1
+onintr.1	:= LINKSRC = trap.1
 
-settime.1	:= SOSRC = man1/touch.1
+false.1		:= LINKSRC = true.1
 
-onintr.1	:= SOSRC = man1/trap.1
+whence.1	:= LINKSRC = typeset.1
 
-false.1		:= SOSRC = man1/true.1
+# Links to usr/has/man
 
-whence.1	:= SOSRC = man1/typeset.1
+edit.1		:= LINKSRC = ../../../has/man/man1has/edit.1has
 
-vedit.1		:= SOSRC = man1/vi.1
-
-edit.1		:= SOSRC = man1has/edit.1
+vedit.1		:= LINKSRC = ../../../has/man/man1has/vi.1has
 
 .KEEP_STATE:
 
-include ../Makefile.man
+include		$(SRC)/man/Makefile.man
 
-install: $(ROOTMANFILES)
+install:	$(ROOTMANFILES) $(ROOTMANLINKS)
--- a/usr/src/man/man1b/Makefile	Fri Aug 30 01:19:35 2013 -0800
+++ b/usr/src/man/man1b/Makefile	Thu Aug 29 02:33:28 2013 +0400
@@ -9,13 +9,16 @@
 # at http://www.illumos.org/license/CDDL.
 #
 
+#
 # Copyright 2011, Richard Lowe
+# Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
+#
 
-include ../../Makefile.master
+include		$(SRC)/Makefile.master
 
 MANSECT=	 1b
 
-MANFILES=	basename.1b \
+MANFILES=	basename.1b	\
 		biff.1b		\
 		chown.1b	\
 		df.1b		\
@@ -51,22 +54,18 @@
 		whereis.1b	\
 		whoami.1b
 
-MANSOFILES =	Mail.1b		\
+MANLINKS=	Mail.1b		\
 		fasthalt.1b	\
 		reset.1b
 
-MANFILES +=	$(MANSOFILES)
-
-Mail.1b		:= SOSRC = man1b/mail.1b
+Mail.1b		:= LINKSRC = mail.1b
 
-fasthalt.1b	:= SOSRC = man1b/fastboot.1b
+fasthalt.1b	:= LINKSRC = fastboot.1b
 
-reset.1b	:= SOSRC = man1b/tset.1b
+reset.1b	:= LINKSRC = tset.1b
 
 .KEEP_STATE:
 
-include ../Makefile.man
+include		$(SRC)/man/Makefile.man
 
-install: $(ROOTMANFILES)
-
-
+install:	$(ROOTMANFILES) $(ROOTMANLINKS)
--- a/usr/src/man/man1c/Makefile	Fri Aug 30 01:19:35 2013 -0800
+++ b/usr/src/man/man1c/Makefile	Thu Aug 29 02:33:28 2013 +0400
@@ -9,13 +9,16 @@
 # at http://www.illumos.org/license/CDDL.
 #
 
+#
 # Copyright 2011, Richard Lowe
-
-include ../../Makefile.master
+# Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
+#
 
-MANSECT = 	1c
+include		$(SRC)/Makefile.master
 
-MANFILES = 	ct.1c		\
+MANSECT= 	1c
+
+MANFILES= 	ct.1c		\
 		cu.1c		\
 		rup.1c		\
 		uucp.1c		\
@@ -23,25 +26,22 @@
 		uuglist.1c	\
 		uustat.1c	\
 		uuto.1c		\
-		uux.1c		\
+		uux.1c
 
-MANSOFILES =	uudecode.1c	\
+MANLINKS=	uudecode.1c	\
 		uulog.1c	\
 		uuname.1c	\
 		uupick.1c
 
-MANFILES += $(MANSOFILES)
-
-uulog.1c	:= SOSRC = man1c/uucp.1c
-uuname.1c	:= SOSRC = man1c/uucp.1c
+uulog.1c	:= LINKSRC = uucp.1c
+uuname.1c	:= LINKSRC = uucp.1c
 
-uudecode.1c	:= SOSRC = man1c/uuencode.1c
+uudecode.1c	:= LINKSRC = uuencode.1c
 
-uupick.1c	:= SOSRC = man1c/uuto.1c
-
+uupick.1c	:= LINKSRC = uuto.1c
 
 .KEEP_STATE:
 
-include ../Makefile.man
+include		$(SRC)/man/Makefile.man
 
-install: $(ROOTMANFILES)
+install:	$(ROOTMANFILES) $(ROOTMANLINKS)
--- a/usr/src/man/man1has/Makefile	Fri Aug 30 01:19:35 2013 -0800
+++ b/usr/src/man/man1has/Makefile	Thu Aug 29 02:33:28 2013 +0400
@@ -9,11 +9,14 @@
 # at http://www.illumos.org/license/CDDL.
 #
 
+#
 # Copyright 2011, Richard Lowe
+# Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
+#
 
-include ../../Makefile.master
+include		$(SRC)/Makefile.master
 
-MANSECT = 	1has
+MANSECT= 	1has
 
 MANFILES=	edit.1has	\
 		ex.1has		\
@@ -22,8 +25,8 @@
 
 .KEEP_STATE:
 
-include ../Makefile.man
+include		$(SRC)/man/Makefile.man
 
-ROOTMAN= $(ROOTHASMAN)
+ROOTMAN=	$(ROOTHASMAN)
 
-install: $(ROOTMANFILES)
+install:	$(ROOTMANFILES)
--- a/usr/src/man/man1m/Makefile	Fri Aug 30 01:19:35 2013 -0800
+++ b/usr/src/man/man1m/Makefile	Thu Aug 29 02:33:28 2013 +0400
@@ -11,808 +11,808 @@
 
 #
 # Copyright 2011, Richard Lowe
-# Copyright 2012 Nexenta Systems, Inc. All rights reserved.
+# Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
 #
 
-include ../../Makefile.master
+include		$(SRC)//Makefile.master
 
-MANSECT = 	1m
+MANSECT=	1m
 
-COMMON_MANFILES = 	6to4relay.1m		\
-	 	 	Intro.1m		\
-	 	 	Uutry.1m		\
-	 	 	accept.1m		\
-	 	 	acct.1m			\
-	 	 	acctadm.1m		\
-	 	 	acctcms.1m		\
-	 	 	acctcon.1m		\
-	 	 	acctmerg.1m		\
-	 	 	acctprc.1m		\
-	 	 	acctsh.1m		\
-	 	 	adbgen.1m		\
-	 	 	add_allocatable.1m	\
-	 	 	add_drv.1m		\
-	 	 	addbadsec.1m		\
-	 	 	arp.1m			\
-	 	 	atohexlabel.1m		\
-	 	 	audit.1m		\
-	 	 	audit_warn.1m		\
-	 	 	auditconfig.1m		\
-	 	 	auditd.1m		\
-	 	 	auditrecord.1m		\
-	 	 	auditreduce.1m		\
-	 	 	auditstat.1m		\
-	 	 	automount.1m		\
-	 	 	automountd.1m		\
-	 	 	autopush.1m		\
-	 	 	bart.1m			\
-			beadm.1m		\
-	 	 	boot.1m			\
-	 	 	bootadm.1m		\
-	 	 	bootconfchk.1m		\
-	 	 	busstat.1m		\
-	 	 	cachefsd.1m		\
-	 	 	cachefslog.1m		\
-	 	 	cachefspack.1m		\
-	 	 	cachefsstat.1m		\
-	 	 	cachefswssize.1m	\
-	 	 	captoinfo.1m		\
-	 	 	catman.1m		\
-	 	 	cfgadm.1m		\
-	 	 	cfgadm_ac.1m		\
-	 	 	cfgadm_cardbus.1m	\
-	 	 	cfgadm_fp.1m		\
-	 	 	cfgadm_ib.1m		\
-	 	 	cfgadm_pci.1m		\
-	 	 	cfgadm_sata.1m		\
-	 	 	cfgadm_sbd.1m		\
-	 	 	cfgadm_scsi.1m		\
-	 	 	cfgadm_sdcard.1m	\
-	 	 	cfgadm_sysctrl.1m	\
-	 	 	cfgadm_usb.1m		\
-	 	 	cfsadmin.1m		\
-	 	 	chat.1m			\
-	 	 	check-hostname.1m	\
-	 	 	check-permissions.1m	\
-	 	 	chroot.1m		\
-	 	 	clear_locks.1m		\
-	 	 	clinfo.1m		\
-	 	 	clri.1m			\
-	 	 	consadm.1m		\
-	 	 	conv_lp.1m		\
-	 	 	conv_lpd.1m		\
-	 	 	coreadm.1m		\
-	 	 	cpustat.1m		\
-	 	 	cron.1m			\
-	 	 	cryptoadm.1m		\
-	 	 	datadm.1m		\
-	 	 	dd.1m			\
-	 	 	devattr.1m		\
-	 	 	devfree.1m		\
-	 	 	devfsadm.1m		\
-	 	 	device_remap.1m		\
-	 	 	devinfo.1m		\
-	 	 	devlinks.1m		\
-	 	 	devnm.1m		\
-	 	 	devprop.1m		\
-	 	 	devreserv.1m		\
-	 	 	df.1m			\
-	 	 	df_ufs.1m		\
-	 	 	dfmounts.1m		\
-	 	 	dfmounts_nfs.1m		\
-	 	 	dfshares.1m		\
-	 	 	dfshares_nfs.1m		\
-	 	 	dhcpagent.1m		\
-	 	 	dhcpconfig.1m		\
-	 	 	dhcpmgr.1m		\
-	 	 	dhtadm.1m		\
-	 	 	disks.1m		\
-	 	 	diskscan.1m		\
-	 	 	dispadmin.1m		\
-	 	 	dladm.1m		\
-	 	 	dlmgmtd.1m		\
-	 	 	dmesg.1m		\
-	 	 	dminfo.1m		\
-	 	 	dns-sd.1m		\
-	 	 	domainname.1m		\
-	 	 	drvconfig.1m		\
-	 	 	dsbitmap.1m		\
-	 	 	dscfg.1m		\
-	 	 	dscfgadm.1m		\
-	 	 	dscfglockd.1m		\
-	 	 	dsstat.1m		\
-	 	 	dsvclockd.1m		\
-	 	 	dtrace.1m		\
-	 	 	dumpadm.1m		\
-	 	 	editmap.1m		\
-	 	 	edquota.1m		\
-	 	 	eeprom.1m		\
-	 	 	embedded_su.1m		\
-	 	 	etrn.1m			\
-	 	 	fcinfo.1m		\
-	 	 	fdetach.1m		\
-	 	 	fdisk.1m		\
-	 	 	ff.1m			\
-	 	 	ff_ufs.1m		\
-	 	 	fiocompress.1m		\
-	 	 	flowadm.1m		\
-	 	 	fmadm.1m		\
-	 	 	fmd.1m			\
-	 	 	fmdump.1m		\
-	 	 	fmstat.1m		\
-	 	 	fmthard.1m		\
-	 	 	format.1m		\
-	 	 	fruadm.1m		\
-	 	 	fsck.1m			\
-	 	 	fsck_cachefs.1m		\
-	 	 	fsck_pcfs.1m		\
-	 	 	fsck_udfs.1m		\
-	 	 	fsck_ufs.1m		\
-	 	 	fsdb.1m			\
-	 	 	fsdb_udfs.1m		\
-	 	 	fsdb_ufs.1m		\
-	 	 	fsirand.1m		\
-	 	 	fssnap.1m		\
-	 	 	fssnap_ufs.1m		\
-	 	 	fsstat.1m		\
-	 	 	fstyp.1m		\
-	 	 	ftpaddhost.1m		\
-	 	 	ftpconfig.1m		\
-	 	 	ftprestart.1m		\
-	 	 	ftpshut.1m		\
-	 	 	fuser.1m		\
-	 	 	fwflash.1m		\
-	 	 	fwtmp.1m		\
-	 	 	getdev.1m		\
-	 	 	getdevpolicy.1m		\
-	 	 	getdgrp.1m		\
-	 	 	getent.1m		\
-	 	 	gettable.1m		\
-	 	 	getty.1m		\
-	 	 	getvol.1m		\
-	 	 	groupadd.1m		\
-	 	 	groupdel.1m		\
-	 	 	groupmod.1m		\
-	 	 	growfs.1m		\
-	 	 	gsscred.1m		\
-	 	 	gssd.1m			\
-	 	 	hal-device.1m		\
-	 	 	hal-fdi-validate.1m	\
-	 	 	hal-find.1m		\
-	 	 	hal-get-property.1m	\
-	 	 	hald.1m			\
-	 	 	halt.1m			\
-	 	 	hextoalabel.1m		\
-	 	 	hostconfig.1m		\
-	 	 	htable.1m		\
-	 	 	ickey.1m		\
-	 	 	id.1m			\
-	 	 	idmap.1m		\
-	 	 	idmapd.1m		\
-	 	 	idsconfig.1m		\
-	 	 	if_mpadm.1m		\
-	 	 	ifconfig.1m		\
-	 	 	ifparse.1m		\
-	 	 	iiadm.1m		\
-	 	 	iicpbmp.1m		\
-	 	 	iicpshd.1m		\
-	 	 	ikeadm.1m		\
-	 	 	ikecert.1m		\
-	 	 	in.chargend.1m		\
-	 	 	in.comsat.1m		\
-	 	 	in.daytimed.1m		\
-	 	 	in.dhcpd.1m		\
-	 	 	in.discardd.1m		\
-	 	 	in.echod.1m		\
-	 	 	in.fingerd.1m		\
-	 	 	in.ftpd.1m		\
-	 	 	in.iked.1m		\
-	 	 	in.lpd.1m		\
-	 	 	in.mpathd.1m		\
-	 	 	in.ndpd.1m		\
-	 	 	in.rarpd.1m		\
-	 	 	in.rdisc.1m		\
-	 	 	in.rexecd.1m		\
-	 	 	in.ripngd.1m		\
-	 	 	in.rlogind.1m		\
-	 	 	in.routed.1m		\
-	 	 	in.rshd.1m		\
-	 	 	in.rwhod.1m		\
-	 	 	in.talkd.1m		\
-	 	 	in.telnetd.1m		\
-	 	 	in.tftpd.1m		\
-	 	 	in.timed.1m		\
-	 	 	in.uucpd.1m		\
-	 	 	inetadm.1m		\
-	 	 	inetconv.1m		\
-	 	 	inetd.1m		\
-	 	 	infocmp.1m		\
-	 	 	init.1m			\
-	 	 	inityp2l.1m		\
-	 	 	install.1m		\
-	 	 	installf.1m		\
-	 	 	installgrub.1m		\
-	 	 	intrd.1m		\
-	 	 	intrstat.1m		\
-	 	 	iostat.1m		\
-	 	 	ipaddrsel.1m		\
-			ipadm.1m		\
-	 	 	ipf.1m			\
-	 	 	ipfs.1m			\
-	 	 	ipfstat.1m		\
-	 	 	ipmon.1m		\
-	 	 	ipmpstat.1m		\
-	 	 	ipnat.1m		\
-	 	 	ippool.1m		\
-	 	 	ipqosconf.1m		\
-	 	 	ipsecalgs.1m		\
-	 	 	ipsecconf.1m		\
-	 	 	ipseckey.1m		\
-	 	 	iscsiadm.1m		\
-	 	 	isns.1m			\
-	 	 	isnsadm.1m		\
-	 	 	itadm.1m		\
-	 	 	k5srvutil.1m		\
-	 	 	kadb.1m			\
-	 	 	kadmin.1m		\
-	 	 	kadmind.1m		\
-	 	 	kclient.1m		\
-	 	 	kdb5_ldap_util.1m	\
-	 	 	kdb5_util.1m		\
-	 	 	kdcmgr.1m		\
-	 	 	kernel.1m		\
-	 	 	keyserv.1m		\
-	 	 	killall.1m		\
-	 	 	kprop.1m		\
-	 	 	kpropd.1m		\
-	 	 	kproplog.1m		\
-	 	 	krb5kdc.1m		\
-	 	 	ksslcfg.1m		\
-	 	 	kstat.1m		\
-	 	 	ktkt_warnd.1m		\
-	 	 	labelit.1m		\
-	 	 	labelit_hsfs.1m		\
-	 	 	labelit_udfs.1m		\
-	 	 	labelit_ufs.1m		\
-	 	 	latencytop.1m		\
-	 	 	ldap_cachemgr.1m	\
-	 	 	ldapaddent.1m		\
-	 	 	ldapclient.1m		\
-	 	 	link.1m			\
-	 	 	listdgrp.1m		\
-	 	 	listen.1m		\
-	 	 	locator.1m		\
-	 	 	lockfs.1m		\
-	 	 	lockstat.1m		\
-	 	 	lofiadm.1m		\
-	 	 	logadm.1m		\
-	 	 	logins.1m		\
-	 	 	lpadmin.1m		\
-	 	 	lpfilter.1m		\
-	 	 	lpforms.1m		\
-	 	 	lpget.1m		\
-	 	 	lpmove.1m		\
-	 	 	lpsched.1m		\
-	 	 	lpset.1m		\
-	 	 	lpshut.1m		\
-	 	 	lpsystem.1m		\
-	 	 	lpusers.1m		\
-	 	 	luxadm.1m		\
-	 	 	mail.local.1m		\
-	 	 	makedbm.1m		\
-	 	 	makemap.1m		\
-	 	 	mdmonitord.1m		\
-	 	 	medstat.1m		\
-	 	 	metaclear.1m		\
-	 	 	metadb.1m		\
-	 	 	metadevadm.1m		\
-	 	 	metahs.1m		\
-	 	 	metaimport.1m		\
-	 	 	metainit.1m		\
-	 	 	metaoffline.1m		\
-	 	 	metaparam.1m		\
-	 	 	metarecover.1m		\
-	 	 	metarename.1m		\
-	 	 	metareplace.1m		\
-	 	 	metaroot.1m		\
-	 	 	metaset.1m		\
-	 	 	metassist.1m		\
-	 	 	metastat.1m		\
-	 	 	metasync.1m		\
-	 	 	metattach.1m		\
-	 	 	mkdevalloc.1m		\
-	 	 	mkdevmaps.1m		\
-	 	 	mkfifo.1m		\
-	 	 	mkfile.1m		\
-	 	 	mkfs.1m			\
-	 	 	mkfs_pcfs.1m		\
-	 	 	mkfs_udfs.1m		\
-	 	 	mkfs_ufs.1m		\
-	 	 	mknod.1m		\
-	 	 	mkpwdict.1m		\
-	 	 	modinfo.1m		\
-	 	 	modload.1m		\
-	 	 	modunload.1m		\
-	 	 	mount.1m		\
-	 	 	mount_cachefs.1m	\
-	 	 	mount_hsfs.1m		\
-	 	 	mount_nfs.1m		\
-	 	 	mount_pcfs.1m		\
-	 	 	mount_smbfs.1m		\
-	 	 	mount_tmpfs.1m		\
-	 	 	mount_udfs.1m		\
-	 	 	mount_ufs.1m		\
-	 	 	mountall.1m		\
-	 	 	mountd.1m		\
-	 	 	mpathadm.1m		\
-	 	 	mpstat.1m		\
-	 	 	msgid.1m		\
-	 	 	mvdir.1m		\
-	 	 	ncaconfd.1m		\
-	 	 	ncheck.1m		\
-	 	 	ncheck_ufs.1m		\
-	 	 	ndd.1m			\
-	 	 	ndmpadm.1m		\
-	 	 	ndmpd.1m		\
-	 	 	ndmpstat.1m		\
-	 	 	netstat.1m		\
-	 	 	netstrategy.1m		\
-	 	 	newaliases.1m		\
-	 	 	newfs.1m		\
-	 	 	newkey.1m		\
-	 	 	nfs4cbd.1m		\
-	 	 	nfsd.1m			\
-	 	 	nfslogd.1m		\
-	 	 	nfsmapid.1m		\
-	 	 	nfsstat.1m		\
-	 	 	nlsadmin.1m		\
-	 	 	nscadm.1m		\
-	 	 	nscd.1m			\
-	 	 	nwamd.1m		\
-	 	 	passmgmt.1m		\
-	 	 	pbind.1m		\
-	 	 	picld.1m		\
-	 	 	ping.1m			\
-	 	 	pkgadd.1m		\
-	 	 	pkgadm.1m		\
-	 	 	pkgask.1m		\
-	 	 	pkgchk.1m		\
-	 	 	pkgrm.1m		\
-	 	 	plockstat.1m		\
-	 	 	pmadm.1m		\
-	 	 	pmconfig.1m		\
-	 	 	pntadm.1m		\
-	 	 	polkit-is-privileged.1m \
-	 	 	pooladm.1m		\
-	 	 	poolbind.1m		\
-	 	 	poolcfg.1m		\
-	 	 	poold.1m		\
-	 	 	poolstat.1m		\
-	 	 	ports.1m		\
-	 	 	powerd.1m		\
-	 	 	powertop.1m		\
-	 	 	ppdmgr.1m		\
-	 	 	pppd.1m			\
-			pppdump.1m		\
-	 	 	pppoec.1m		\
-	 	 	pppoed.1m		\
-	 	 	pppstats.1m		\
-	 	 	praudit.1m		\
-	 	 	print-service.1m	\
-	 	 	printmgr.1m		\
-	 	 	projadd.1m		\
-	 	 	projdel.1m		\
-	 	 	projmod.1m		\
-	 	 	prstat.1m		\
-	 	 	prtconf.1m		\
-	 	 	prtdiag.1m		\
-	 	 	prtfru.1m		\
-	 	 	prtpicl.1m		\
-	 	 	prtvtoc.1m		\
-	 	 	psradm.1m		\
-	 	 	psrinfo.1m		\
-	 	 	psrset.1m		\
-	 	 	putdev.1m		\
-	 	 	putdgrp.1m		\
-	 	 	pwck.1m			\
-	 	 	pwconv.1m		\
-	 	 	quot.1m			\
-	 	 	quota.1m		\
-	 	 	quotacheck.1m		\
-	 	 	quotaon.1m		\
-	 	 	raidctl.1m		\
-	 	 	ramdiskadm.1m		\
-	 	 	rcapadm.1m		\
-	 	 	rcapd.1m		\
-	 	 	rctladm.1m		\
-	 	 	rdate.1m		\
-	 	 	reboot.1m		\
-	 	 	rem_drv.1m		\
-	 	 	remove_allocatable.1m	\
-	 	 	removef.1m		\
-	 	 	repquota.1m		\
-	 	 	rmmount.1m		\
-	 	 	rmt.1m			\
-	 	 	rmvolmgr.1m		\
-	 	 	roleadd.1m		\
-	 	 	roledel.1m		\
-	 	 	rolemod.1m		\
-	 	 	root_archive.1m		\
-	 	 	route.1m		\
-	 	 	routeadm.1m		\
-	 	 	rpc.bootparamd.1m	\
-	 	 	rpc.mdcommd.1m		\
-	 	 	rpc.metad.1m		\
-	 	 	rpc.metamedd.1m		\
-	 	 	rpc.metamhd.1m		\
-	 	 	rpc.rexd.1m		\
-	 	 	rpc.rstatd.1m		\
-	 	 	rpc.rusersd.1m		\
-	 	 	rpc.rwalld.1m		\
-	 	 	rpc.smserverd.1m	\
-	 	 	rpc.sprayd.1m		\
-	 	 	rpc.yppasswdd.1m	\
-	 	 	rpc.ypupdated.1m	\
-	 	 	rpcbind.1m		\
-	 	 	rpcinfo.1m		\
-	 	 	rquotad.1m		\
-	 	 	rsh.1m			\
-	 	 	rtc.1m			\
-	 	 	rtquery.1m		\
-	 	 	runacct.1m		\
-	 	 	rwall.1m		\
-	 	 	sac.1m			\
-	 	 	sacadm.1m		\
-	 	 	saf.1m			\
-	 	 	sar.1m			\
-	 	 	sasinfo.1m		\
-	 	 	savecore.1m		\
-	 	 	sbdadm.1m		\
-	 	 	scadm.1m		\
-	 	 	scmadm.1m		\
-	 	 	sdpadm.1m		\
-	 	 	sendmail.1m		\
-	 	 	setuname.1m		\
-	 	 	sftp-server.1m		\
-	 	 	share.1m		\
-	 	 	share_nfs.1m		\
-	 	 	shareall.1m		\
-	 	 	sharectl.1m		\
-	 	 	sharemgr.1m		\
-	 	 	showmount.1m		\
-	 	 	shutdown.1m		\
-	 	 	slpd.1m			\
-	 	 	smbadm.1m		\
-	 	 	smbd.1m			\
-	 	 	smbiod.1m		\
-	 	 	smbios.1m		\
-	 	 	smbstat.1m		\
-	 	 	smrsh.1m		\
-	 	 	smtnrhdb.1m		\
-	 	 	smtnrhtp.1m		\
-	 	 	smtnzonecfg.1m		\
-	 	 	sndradm.1m		\
-	 	 	sndrd.1m		\
-	 	 	sndrsyncd.1m		\
-	 	 	snoop.1m		\
-	 	 	soconfig.1m		\
-	 	 	sppptun.1m		\
-	 	 	spray.1m		\
-	 	 	ssh-keysign.1m		\
-	 	 	sshd.1m			\
-	 	 	statd.1m		\
-	 	 	stmfadm.1m		\
-	 	 	stmsboot.1m		\
-	 	 	strace.1m		\
-	 	 	strclean.1m		\
-	 	 	strerr.1m		\
-	 	 	sttydefs.1m		\
-	 	 	su.1m			\
-	 	 	sulogin.1m		\
-	 	 	svadm.1m		\
-	 	 	svc.configd.1m		\
-	 	 	svc.ipfd.1m		\
-	 	 	svc.startd.1m		\
-	 	 	svcadm.1m		\
-	 	 	svccfg.1m		\
-	 	 	swap.1m			\
-	 	 	sync.1m			\
-	 	 	syncinit.1m		\
-	 	 	syncloop.1m		\
-	 	 	syncstat.1m		\
-	 	 	sysdef.1m		\
-	 	 	syseventadm.1m		\
-	 	 	syseventconfd.1m	\
-	 	 	syseventd.1m		\
-	 	 	syslogd.1m		\
-	 	 	tapes.1m		\
-			tcpd.1m			\
-			tcpdchk.1m		\
-			tcpdmatch.1m		\
-	 	 	th_define.1m		\
-	 	 	th_manage.1m		\
-	 	 	tic.1m			\
-	 	 	tnchkdb.1m		\
-	 	 	tnctl.1m		\
-	 	 	tnd.1m			\
-	 	 	tninfo.1m		\
-	 	 	tpmadm.1m		\
-	 	 	traceroute.1m		\
-	 	 	trapstat.1m		\
-	 	 	ttyadm.1m		\
-	 	 	ttymon.1m		\
-	 	 	tunefs.1m		\
-	 	 	txzonemgr.1m		\
-	 	 	tzselect.1m		\
-	 	 	uadmin.1m		\
-	 	 	ucodeadm.1m		\
-	 	 	ufsdump.1m		\
-	 	 	ufsrestore.1m		\
-	 	 	unshare.1m		\
-	 	 	unshare_nfs.1m		\
-	 	 	update_drv.1m		\
-	 	 	updatehome.1m		\
-	 	 	useradd.1m		\
-	 	 	userdel.1m		\
-	 	 	usermod.1m		\
-	 	 	utmpd.1m		\
-	 	 	uucheck.1m		\
-	 	 	uucico.1m		\
-	 	 	uucleanup.1m		\
-	 	 	uusched.1m		\
-	 	 	uuxqt.1m		\
-	 	 	vmstat.1m		\
-	 	 	volcopy.1m		\
-	 	 	volcopy_ufs.1m		\
-	 	 	vscanadm.1m		\
-	 	 	vscand.1m		\
-	 	 	wall.1m			\
-	 	 	wanboot_keygen.1m	\
-	 	 	wanboot_keymgmt.1m	\
-	 	 	wanboot_p12split.1m	\
-	 	 	wanbootutil.1m		\
-	 	 	whodo.1m		\
-	 	 	wificonfig.1m		\
-	 	 	wpad.1m			\
-	 	 	wracct.1m		\
-	 	 	wusbadm.1m		\
-	 	 	ypbind.1m		\
-	 	 	ypinit.1m		\
-	 	 	ypmake.1m		\
-	 	 	ypmap2src.1m		\
-	 	 	yppoll.1m		\
-	 	 	yppush.1m		\
-	 	 	ypserv.1m		\
-	 	 	ypset.1m		\
-	 	 	ypstart.1m		\
-	 	 	ypxfr.1m		\
-	 	 	zdb.1m			\
-	 	 	zdump.1m		\
-	 	 	zfs.1m			\
-	 	 	zic.1m			\
-	 	 	zoneadm.1m		\
-	 	 	zoneadmd.1m		\
-	 	 	zonecfg.1m		\
-	 	 	zpool.1m		\
-	 	 	zstreamdump.1m
+_MANFILES=	6to4relay.1m		\
+		Intro.1m		\
+		Uutry.1m		\
+		accept.1m		\
+		acct.1m			\
+		acctadm.1m		\
+		acctcms.1m		\
+		acctcon.1m		\
+		acctmerg.1m		\
+		acctprc.1m		\
+		acctsh.1m		\
+		adbgen.1m		\
+		add_allocatable.1m	\
+		add_drv.1m		\
+		addbadsec.1m		\
+		arp.1m			\
+		atohexlabel.1m		\
+		audit.1m		\
+		audit_warn.1m		\
+		auditconfig.1m		\
+		auditd.1m		\
+		auditrecord.1m		\
+		auditreduce.1m		\
+		auditstat.1m		\
+		automount.1m		\
+		automountd.1m		\
+		autopush.1m		\
+		bart.1m			\
+		beadm.1m		\
+		boot.1m			\
+		bootadm.1m		\
+		bootconfchk.1m		\
+		busstat.1m		\
+		cachefsd.1m		\
+		cachefslog.1m		\
+		cachefspack.1m		\
+		cachefsstat.1m		\
+		cachefswssize.1m	\
+		captoinfo.1m		\
+		catman.1m		\
+		cfgadm.1m		\
+		cfgadm_ac.1m		\
+		cfgadm_cardbus.1m	\
+		cfgadm_fp.1m		\
+		cfgadm_ib.1m		\
+		cfgadm_pci.1m		\
+		cfgadm_sata.1m		\
+		cfgadm_sbd.1m		\
+		cfgadm_scsi.1m		\
+		cfgadm_sdcard.1m	\
+		cfgadm_sysctrl.1m	\
+		cfgadm_usb.1m		\
+		cfsadmin.1m		\
+		chat.1m			\
+		check-hostname.1m	\
+		check-permissions.1m	\
+		chroot.1m		\
+		clear_locks.1m		\
+		clinfo.1m		\
+		clri.1m			\
+		consadm.1m		\
+		conv_lp.1m		\
+		conv_lpd.1m		\
+		coreadm.1m		\
+		cpustat.1m		\
+		cron.1m			\
+		cryptoadm.1m		\
+		datadm.1m		\
+		dd.1m			\
+		devattr.1m		\
+		devfree.1m		\
+		devfsadm.1m		\
+		device_remap.1m		\
+		devinfo.1m		\
+		devlinks.1m		\
+		devnm.1m		\
+		devprop.1m		\
+		devreserv.1m		\
+		df.1m			\
+		df_ufs.1m		\
+		dfmounts.1m		\
+		dfmounts_nfs.1m		\
+		dfshares.1m		\
+		dfshares_nfs.1m		\
+		dhcpagent.1m		\
+		dhcpconfig.1m		\
+		dhcpmgr.1m		\
+		dhtadm.1m		\
+		disks.1m		\
+		diskscan.1m		\
+		dispadmin.1m		\
+		dladm.1m		\
+		dlmgmtd.1m		\
+		dmesg.1m		\
+		dminfo.1m		\
+		dns-sd.1m		\
+		domainname.1m		\
+		drvconfig.1m		\
+		dsbitmap.1m		\
+		dscfg.1m		\
+		dscfgadm.1m		\
+		dscfglockd.1m		\
+		dsstat.1m		\
+		dsvclockd.1m		\
+		dtrace.1m		\
+		dumpadm.1m		\
+		editmap.1m		\
+		edquota.1m		\
+		eeprom.1m		\
+		embedded_su.1m		\
+		etrn.1m			\
+		fcinfo.1m		\
+		fdetach.1m		\
+		fdisk.1m		\
+		ff.1m			\
+		ff_ufs.1m		\
+		fiocompress.1m		\
+		flowadm.1m		\
+		fmadm.1m		\
+		fmd.1m			\
+		fmdump.1m		\
+		fmstat.1m		\
+		fmthard.1m		\
+		format.1m		\
+		fruadm.1m		\
+		fsck.1m			\
+		fsck_cachefs.1m		\
+		fsck_pcfs.1m		\
+		fsck_udfs.1m		\
+		fsck_ufs.1m		\
+		fsdb.1m			\
+		fsdb_udfs.1m		\
+		fsdb_ufs.1m		\
+		fsirand.1m		\
+		fssnap.1m		\
+		fssnap_ufs.1m		\
+		fsstat.1m		\
+		fstyp.1m		\
+		ftpaddhost.1m		\
+		ftpconfig.1m		\
+		ftprestart.1m		\
+		ftpshut.1m		\
+		fuser.1m		\
+		fwflash.1m		\
+		fwtmp.1m		\
+		getdev.1m		\
+		getdevpolicy.1m		\
+		getdgrp.1m		\
+		getent.1m		\
+		gettable.1m		\
+		getty.1m		\
+		getvol.1m		\
+		groupadd.1m		\
+		groupdel.1m		\
+		groupmod.1m		\
+		growfs.1m		\
+		gsscred.1m		\
+		gssd.1m			\
+		hal-device.1m		\
+		hal-fdi-validate.1m	\
+		hal-find.1m		\
+		hal-get-property.1m	\
+		hald.1m			\
+		halt.1m			\
+		hextoalabel.1m		\
+		hostconfig.1m		\
+		htable.1m		\
+		ickey.1m		\
+		id.1m			\
+		idmap.1m		\
+		idmapd.1m		\
+		idsconfig.1m		\
+		if_mpadm.1m		\
+		ifconfig.1m		\
+		ifparse.1m		\
+		iiadm.1m		\
+		iicpbmp.1m		\
+		iicpshd.1m		\
+		ikeadm.1m		\
+		ikecert.1m		\
+		in.chargend.1m		\
+		in.comsat.1m		\
+		in.daytimed.1m		\
+		in.dhcpd.1m		\
+		in.discardd.1m		\
+		in.echod.1m		\
+		in.fingerd.1m		\
+		in.ftpd.1m		\
+		in.iked.1m		\
+		in.lpd.1m		\
+		in.mpathd.1m		\
+		in.ndpd.1m		\
+		in.rarpd.1m		\
+		in.rdisc.1m		\
+		in.rexecd.1m		\
+		in.ripngd.1m		\
+		in.rlogind.1m		\
+		in.routed.1m		\
+		in.rshd.1m		\
+		in.rwhod.1m		\
+		in.talkd.1m		\
+		in.telnetd.1m		\
+		in.tftpd.1m		\
+		in.timed.1m		\
+		in.uucpd.1m		\
+		inetadm.1m		\
+		inetconv.1m		\
+		inetd.1m		\
+		infocmp.1m		\
+		init.1m			\
+		inityp2l.1m		\
+		install.1m		\
+		installf.1m		\
+		installgrub.1m		\
+		intrd.1m		\
+		intrstat.1m		\
+		iostat.1m		\
+		ipaddrsel.1m		\
+		ipadm.1m		\
+		ipf.1m			\
+		ipfs.1m			\
+		ipfstat.1m		\
+		ipmon.1m		\
+		ipmpstat.1m		\
+		ipnat.1m		\
+		ippool.1m		\
+		ipqosconf.1m		\
+		ipsecalgs.1m		\
+		ipsecconf.1m		\
+		ipseckey.1m		\
+		iscsiadm.1m		\
+		isns.1m			\
+		isnsadm.1m		\
+		itadm.1m		\
+		k5srvutil.1m		\
+		kadb.1m			\
+		kadmin.1m		\
+		kadmind.1m		\
+		kclient.1m		\
+		kdb5_ldap_util.1m	\
+		kdb5_util.1m		\
+		kdcmgr.1m		\
+		kernel.1m		\
+		keyserv.1m		\
+		killall.1m		\
+		kprop.1m		\
+		kpropd.1m		\
+		kproplog.1m		\
+		krb5kdc.1m		\
+		ksslcfg.1m		\
+		kstat.1m		\
+		ktkt_warnd.1m		\
+		labelit.1m		\
+		labelit_hsfs.1m		\
+		labelit_udfs.1m		\
+		labelit_ufs.1m		\
+		latencytop.1m		\
+		ldap_cachemgr.1m	\
+		ldapaddent.1m		\
+		ldapclient.1m		\
+		link.1m			\
+		listdgrp.1m		\
+		listen.1m		\
+		locator.1m		\
+		lockfs.1m		\
+		lockstat.1m		\
+		lofiadm.1m		\
+		logadm.1m		\
+		logins.1m		\
+		lpadmin.1m		\
+		lpfilter.1m		\
+		lpforms.1m		\
+		lpget.1m		\
+		lpmove.1m		\
+		lpsched.1m		\
+		lpset.1m		\
+		lpshut.1m		\
+		lpsystem.1m		\
+		lpusers.1m		\
+		luxadm.1m		\
+		mail.local.1m		\
+		makedbm.1m		\
+		makemap.1m		\
+		mdmonitord.1m		\
+		medstat.1m		\
+		metaclear.1m		\
+		metadb.1m		\
+		metadevadm.1m		\
+		metahs.1m		\
+		metaimport.1m		\
+		metainit.1m		\
+		metaoffline.1m		\
+		metaparam.1m		\
+		metarecover.1m		\
+		metarename.1m		\
+		metareplace.1m		\
+		metaroot.1m		\
+		metaset.1m		\
+		metassist.1m		\
+		metastat.1m		\
+		metasync.1m		\
+		metattach.1m		\
+		mkdevalloc.1m		\
+		mkdevmaps.1m		\
+		mkfifo.1m		\
+		mkfile.1m		\
+		mkfs.1m			\
+		mkfs_pcfs.1m		\
+		mkfs_udfs.1m		\
+		mkfs_ufs.1m		\
+		mknod.1m		\
+		mkpwdict.1m		\
+		modinfo.1m		\
+		modload.1m		\
+		modunload.1m		\
+		mount.1m		\
+		mount_cachefs.1m	\
+		mount_hsfs.1m		\
+		mount_nfs.1m		\
+		mount_pcfs.1m		\
+		mount_smbfs.1m		\
+		mount_tmpfs.1m		\
+		mount_udfs.1m		\
+		mount_ufs.1m		\
+		mountall.1m		\
+		mountd.1m		\
+		mpathadm.1m		\
+		mpstat.1m		\
+		msgid.1m		\
+		mvdir.1m		\
+		ncaconfd.1m		\
+		ncheck.1m		\
+		ncheck_ufs.1m		\
+		ndd.1m			\
+		ndmpadm.1m		\
+		ndmpd.1m		\
+		ndmpstat.1m		\
+		netstat.1m		\
+		netstrategy.1m		\
+		newaliases.1m		\
+		newfs.1m		\
+		newkey.1m		\
+		nfs4cbd.1m		\
+		nfsd.1m			\
+		nfslogd.1m		\
+		nfsmapid.1m		\
+		nfsstat.1m		\
+		nlsadmin.1m		\
+		nscadm.1m		\
+		nscd.1m			\
+		nwamd.1m		\
+		passmgmt.1m		\
+		pbind.1m		\
+		picld.1m		\
+		ping.1m			\
+		pkgadd.1m		\
+		pkgadm.1m		\
+		pkgask.1m		\
+		pkgchk.1m		\
+		pkgrm.1m		\
+		plockstat.1m		\
+		pmadm.1m		\
+		pmconfig.1m		\
+		pntadm.1m		\
+		polkit-is-privileged.1m \
+		pooladm.1m		\
+		poolbind.1m		\
+		poolcfg.1m		\
+		poold.1m		\
+		poolstat.1m		\
+		ports.1m		\
+		powerd.1m		\
+		powertop.1m		\
+		ppdmgr.1m		\
+		pppd.1m			\
+		pppdump.1m		\
+		pppoec.1m		\
+		pppoed.1m		\
+		pppstats.1m		\
+		praudit.1m		\
+		print-service.1m	\
+		printmgr.1m		\
+		projadd.1m		\
+		projdel.1m		\
+		projmod.1m		\
+		prstat.1m		\
+		prtconf.1m		\
+		prtdiag.1m		\
+		prtfru.1m		\
+		prtpicl.1m		\
+		prtvtoc.1m		\
+		psradm.1m		\
+		psrinfo.1m		\
+		psrset.1m		\
+		putdev.1m		\
+		putdgrp.1m		\
+		pwck.1m			\
+		pwconv.1m		\
+		quot.1m			\
+		quota.1m		\
+		quotacheck.1m		\
+		quotaon.1m		\
+		raidctl.1m		\
+		ramdiskadm.1m		\
+		rcapadm.1m		\
+		rcapd.1m		\
+		rctladm.1m		\
+		rdate.1m		\
+		reboot.1m		\
+		rem_drv.1m		\
+		remove_allocatable.1m	\
+		removef.1m		\
+		repquota.1m		\
+		rmmount.1m		\
+		rmt.1m			\
+		rmvolmgr.1m		\
+		roleadd.1m		\
+		roledel.1m		\
+		rolemod.1m		\
+		root_archive.1m		\
+		route.1m		\
+		routeadm.1m		\
+		rpc.bootparamd.1m	\
+		rpc.mdcommd.1m		\
+		rpc.metad.1m		\
+		rpc.metamedd.1m		\
+		rpc.metamhd.1m		\
+		rpc.rexd.1m		\
+		rpc.rstatd.1m		\
+		rpc.rusersd.1m		\
+		rpc.rwalld.1m		\
+		rpc.smserverd.1m	\
+		rpc.sprayd.1m		\
+		rpc.yppasswdd.1m	\
+		rpc.ypupdated.1m	\
+		rpcbind.1m		\
+		rpcinfo.1m		\
+		rquotad.1m		\
+		rsh.1m			\
+		rtc.1m			\
+		rtquery.1m		\
+		runacct.1m		\
+		rwall.1m		\
+		sac.1m			\
+		sacadm.1m		\
+		saf.1m			\
+		sar.1m			\
+		sasinfo.1m		\
+		savecore.1m		\
+		sbdadm.1m		\
+		scadm.1m		\
+		scmadm.1m		\
+		sdpadm.1m		\
+		sendmail.1m		\
+		setuname.1m		\
+		sftp-server.1m		\
+		share.1m		\
+		share_nfs.1m		\
+		shareall.1m		\
+		sharectl.1m		\
+		sharemgr.1m		\
+		showmount.1m		\
+		shutdown.1m		\
+		slpd.1m			\
+		smbadm.1m		\
+		smbd.1m			\
+		smbiod.1m		\
+		smbios.1m		\
+		smbstat.1m		\
+		smrsh.1m		\
+		smtnrhdb.1m		\
+		smtnrhtp.1m		\
+		smtnzonecfg.1m		\
+		sndradm.1m		\
+		sndrd.1m		\
+		sndrsyncd.1m		\
+		snoop.1m		\
+		soconfig.1m		\
+		sppptun.1m		\
+		spray.1m		\
+		ssh-keysign.1m		\
+		sshd.1m			\
+		statd.1m		\
+		stmfadm.1m		\
+		stmsboot.1m		\
+		strace.1m		\
+		strclean.1m		\
+		strerr.1m		\
+		sttydefs.1m		\
+		su.1m			\
+		sulogin.1m		\
+		svadm.1m		\
+		svc.configd.1m		\
+		svc.ipfd.1m		\
+		svc.startd.1m		\
+		svcadm.1m		\
+		svccfg.1m		\
+		swap.1m			\
+		sync.1m			\
+		syncinit.1m		\
+		syncloop.1m		\
+		syncstat.1m		\
+		sysdef.1m		\
+		syseventadm.1m		\
+		syseventconfd.1m	\
+		syseventd.1m		\
+		syslogd.1m		\
+		tapes.1m		\
+		tcpd.1m			\
+		tcpdchk.1m		\
+		tcpdmatch.1m		\
+		th_define.1m		\
+		th_manage.1m		\
+		tic.1m			\
+		tnchkdb.1m		\
+		tnctl.1m		\
+		tnd.1m			\
+		tninfo.1m		\
+		tpmadm.1m		\
+		traceroute.1m		\
+		trapstat.1m		\
+		ttyadm.1m		\
+		ttymon.1m		\
+		tunefs.1m		\
+		txzonemgr.1m		\
+		tzselect.1m		\
+		uadmin.1m		\
+		ucodeadm.1m		\
+		ufsdump.1m		\
+		ufsrestore.1m		\
+		unshare.1m		\
+		unshare_nfs.1m		\
+		update_drv.1m		\
+		updatehome.1m		\
+		useradd.1m		\
+		userdel.1m		\
+		usermod.1m		\
+		utmpd.1m		\
+		uucheck.1m		\
+		uucico.1m		\
+		uucleanup.1m		\
+		uusched.1m		\
+		uuxqt.1m		\
+		vmstat.1m		\
+		volcopy.1m		\
+		volcopy_ufs.1m		\
+		vscanadm.1m		\
+		vscand.1m		\
+		wall.1m			\
+		wanboot_keygen.1m	\
+		wanboot_keymgmt.1m	\
+		wanboot_p12split.1m	\
+		wanbootutil.1m		\
+		whodo.1m		\
+		wificonfig.1m		\
+		wpad.1m			\
+		wracct.1m		\
+		wusbadm.1m		\
+		ypbind.1m		\
+		ypinit.1m		\
+		ypmake.1m		\
+		ypmap2src.1m		\
+		yppoll.1m		\
+		yppush.1m		\
+		ypserv.1m		\
+		ypset.1m		\
+		ypstart.1m		\
+		ypxfr.1m		\
+		zdb.1m			\
+		zdump.1m		\
+		zfs.1m			\
+		zic.1m			\
+		zoneadm.1m		\
+		zoneadmd.1m		\
+		zonecfg.1m		\
+		zpool.1m		\
+		zstreamdump.1m
 
-i386_MANFILES =	 	lms.1m			\
-	 	 	parted.1m		\
-	 	 	mkntfs.1m		\
-	 	 	ntfscat.1m		\
-	 	 	ntfsclone.1m		\
-	 	 	ntfscluster.1m		\
-	 	 	ntfscmp.1m		\
-	 	 	ntfscp.1m		\
-	 	 	ntfsfix.1m		\
-	 	 	ntfsinfo.1m		\
-	 	 	ntfslabel.1m		\
-	 	 	ntfsls.1m		\
-	 	 	ntfsprogs.1m		\
-	 	 	ntfsresize.1m		\
-	 	 	ntfsundelete.1m
+i386_MANFILES=	lms.1m			\
+		parted.1m		\
+		mkntfs.1m		\
+		ntfscat.1m		\
+		ntfsclone.1m		\
+		ntfscluster.1m		\
+		ntfscmp.1m		\
+		ntfscp.1m		\
+		ntfsfix.1m		\
+		ntfsinfo.1m		\
+		ntfslabel.1m		\
+		ntfsls.1m		\
+		ntfsprogs.1m		\
+		ntfsresize.1m		\
+		ntfsundelete.1m
 
-sparc_MANFILES =	cvcd.1m			\
-	 	 	dcs.1m			\
-	 	 	drd.1m			\
-	 	 	efdaemon.1m		\
-	 	 	ldmad.1m		\
-	 	 	monitor.1m		\
-	 	 	obpsym.1m		\
-	 	 	oplhpd.1m		\
-	 	 	prtdscp.1m		\
-	 	 	sckmd.1m		\
-	 	 	sf880drd.1m		\
-	 	 	vntsd.1m
+sparc_MANFILES=	cvcd.1m			\
+		dcs.1m			\
+		drd.1m			\
+		efdaemon.1m		\
+		ldmad.1m		\
+		monitor.1m		\
+		obpsym.1m		\
+		oplhpd.1m		\
+		prtdscp.1m		\
+		sckmd.1m		\
+		sf880drd.1m		\
+		vntsd.1m
 
-MANSOFILES =	acctcon1.1m			\
-	 	acctcon2.1m			\
-	 	acctdisk.1m			\
-	 	acctdusg.1m			\
-	 	accton.1m			\
-	 	acctprc1.1m			\
-	 	acctprc2.1m			\
-	 	acctwtmp.1m			\
-	 	bootparamd.1m			\
-	 	chargefee.1m			\
-	 	ckpacct.1m			\
-	 	closewtmp.1m			\
-	 	comsat.1m			\
-	 	dcopy.1m			\
-	 	devfsadmd.1m			\
-	 	dodisk.1m			\
-	 	fcadm.1m			\
-	 	fingerd.1m			\
-	 	ftpd.1m				\
-	 	grpck.1m			\
-	 	hal-find-by-capability.1m	\
-	 	hal-find-by-property.1m		\
-	 	hal-set-property.1m		\
-	 	intro.1m			\
-	 	kadmin.local.1m			\
-	 	lastlogin.1m			\
-	 	metadetach.1m			\
-	 	metaonline.1m			\
-	 	monacct.1m			\
-	 	nulladm.1m			\
-	 	poweroff.1m			\
-	 	prctmp.1m			\
-	 	prdaily.1m			\
-	 	prtacct.1m			\
-	 	quotaoff.1m			\
-	 	rarpd.1m			\
-	 	rdisc.1m			\
-	 	reject.1m			\
-	 	restricted_shell.1m		\
-	 	rexd.1m				\
-	 	rexecd.1m			\
-	 	rlogind.1m			\
-	 	routed.1m			\
-	 	rshd.1m				\
-	 	rstatd.1m			\
-	 	rusersd.1m			\
-	 	rwalld.1m			\
-	 	rwhod.1m			\
-	 	sa1.1m				\
-	 	sa2.1m				\
-	 	sadc.1m				\
-	 	shutacct.1m			\
-	 	sprayd.1m			\
-	 	startup.1m			\
-	 	talkd.1m			\
-	 	telinit.1m			\
-	 	telnetd.1m			\
-	 	tftpd.1m			\
-	 	turnacct.1m			\
-	 	umount.1m			\
-	 	umount_smbfs.1m			\
-	 	umountall.1m			\
-	 	unlink.1m			\
-	 	unshareall.1m			\
-	 	utmp2wtmp.1m			\
-	 	uucpd.1m			\
-	 	uutry.1m			\
-	 	wtmpfix.1m			\
-	 	yppasswdd.1m			\
-	 	ypstop.1m			\
-	 	ypupdated.1m			\
-	 	ypxfr_1perday.1m		\
-	 	ypxfr_1perhour.1m		\
-	 	ypxfr_2perday.1m		\
-	 	ypxfrd.1m
+MANLINKS=	acctcon1.1m			\
+		acctcon2.1m			\
+		acctdisk.1m			\
+		acctdusg.1m			\
+		accton.1m			\
+		acctprc1.1m			\
+		acctprc2.1m			\
+		acctwtmp.1m			\
+		bootparamd.1m			\
+		chargefee.1m			\
+		ckpacct.1m			\
+		closewtmp.1m			\
+		comsat.1m			\
+		dcopy.1m			\
+		devfsadmd.1m			\
+		dodisk.1m			\
+		fcadm.1m			\
+		fingerd.1m			\
+		ftpd.1m				\
+		grpck.1m			\
+		hal-find-by-capability.1m	\
+		hal-find-by-property.1m		\
+		hal-set-property.1m		\
+		intro.1m			\
+		kadmin.local.1m			\
+		lastlogin.1m			\
+		metadetach.1m			\
+		metaonline.1m			\
+		monacct.1m			\
+		nulladm.1m			\
+		poweroff.1m			\
+		prctmp.1m			\
+		prdaily.1m			\
+		prtacct.1m			\
+		quotaoff.1m			\
+		rarpd.1m			\
+		rdisc.1m			\
+		reject.1m			\
+		restricted_shell.1m		\
+		rexd.1m				\
+		rexecd.1m			\
+		rlogind.1m			\
+		routed.1m			\
+		rshd.1m				\
+		rstatd.1m			\
+		rusersd.1m			\
+		rwalld.1m			\
+		rwhod.1m			\
+		sa1.1m				\
+		sa2.1m				\
+		sadc.1m				\
+		shutacct.1m			\
+		sprayd.1m			\
+		startup.1m			\
+		talkd.1m			\
+		telinit.1m			\
+		telnetd.1m			\
+		tftpd.1m			\
+		turnacct.1m			\
+		umount.1m			\
+		umount_smbfs.1m			\
+		umountall.1m			\
+		unlink.1m			\
+		unshareall.1m			\
+		utmp2wtmp.1m			\
+		uucpd.1m			\
+		uutry.1m			\
+		wtmpfix.1m			\
+		yppasswdd.1m			\
+		ypstop.1m			\
+		ypupdated.1m			\
+		ypxfr_1perday.1m		\
+		ypxfr_1perhour.1m		\
+		ypxfr_2perday.1m		\
+		ypxfrd.1m
 
-MANFILES =	$(COMMON_MANFILES) $($(MACH)_MANFILES) $(MANSOFILES)
+MANFILES=	$(_MANFILES) $($(MACH)_MANFILES)
 
-intro.1m			:= SOSRC = man1m/Intro.1m
+intro.1m			:= LINKSRC = Intro.1m
 
-uutry.1m			:= SOSRC = man1m/Uutry.1m
+uutry.1m			:= LINKSRC = Uutry.1m
 
-reject.1m			:= SOSRC = man1m/accept.1m
+reject.1m			:= LINKSRC = accept.1m
 
-acctdisk.1m			:= SOSRC = man1m/acct.1m
-acctdusg.1m			:= SOSRC = man1m/acct.1m
-accton.1m			:= SOSRC = man1m/acct.1m
-acctwtmp.1m			:= SOSRC = man1m/acct.1m
-closewtmp.1m			:= SOSRC = man1m/acct.1m
-utmp2wtmp.1m			:= SOSRC = man1m/acct.1m
+acctdisk.1m			:= LINKSRC = acct.1m
+acctdusg.1m			:= LINKSRC = acct.1m
+accton.1m			:= LINKSRC = acct.1m
+acctwtmp.1m			:= LINKSRC = acct.1m
+closewtmp.1m			:= LINKSRC = acct.1m
+utmp2wtmp.1m			:= LINKSRC = acct.1m
 
-acctcon1.1m			:= SOSRC = man1m/acctcon.1m
-acctcon2.1m			:= SOSRC = man1m/acctcon.1m
+acctcon1.1m			:= LINKSRC = acctcon.1m
+acctcon2.1m			:= LINKSRC = acctcon.1m
 
-acctprc1.1m			:= SOSRC = man1m/acctprc.1m
-acctprc2.1m			:= SOSRC = man1m/acctprc.1m
+acctprc1.1m			:= LINKSRC = acctprc.1m
+acctprc2.1m			:= LINKSRC = acctprc.1m
 
-chargefee.1m			:= SOSRC = man1m/acctsh.1m
-ckpacct.1m			:= SOSRC = man1m/acctsh.1m
-dodisk.1m			:= SOSRC = man1m/acctsh.1m
-lastlogin.1m			:= SOSRC = man1m/acctsh.1m
-monacct.1m			:= SOSRC = man1m/acctsh.1m
-nulladm.1m			:= SOSRC = man1m/acctsh.1m
-prctmp.1m			:= SOSRC = man1m/acctsh.1m
-prdaily.1m			:= SOSRC = man1m/acctsh.1m
-prtacct.1m			:= SOSRC = man1m/acctsh.1m
-shutacct.1m			:= SOSRC = man1m/acctsh.1m
-startup.1m			:= SOSRC = man1m/acctsh.1m
-turnacct.1m			:= SOSRC = man1m/acctsh.1m
+chargefee.1m			:= LINKSRC = acctsh.1m
+ckpacct.1m			:= LINKSRC = acctsh.1m
+dodisk.1m			:= LINKSRC = acctsh.1m
+lastlogin.1m			:= LINKSRC = acctsh.1m
+monacct.1m			:= LINKSRC = acctsh.1m
+nulladm.1m			:= LINKSRC = acctsh.1m
+prctmp.1m			:= LINKSRC = acctsh.1m
+prdaily.1m			:= LINKSRC = acctsh.1m
+prtacct.1m			:= LINKSRC = acctsh.1m
+shutacct.1m			:= LINKSRC = acctsh.1m
+startup.1m			:= LINKSRC = acctsh.1m
+turnacct.1m			:= LINKSRC = acctsh.1m
 
-dcopy.1m			:= SOSRC = man1m/clri.1m
+dcopy.1m			:= LINKSRC = clri.1m
 
-devfsadmd.1m			:= SOSRC = man1m/devfsadm.1m
+devfsadmd.1m			:= LINKSRC = devfsadm.1m
 
-fcadm.1m			:= SOSRC = man1m/fcinfo.1m
+fcadm.1m			:= LINKSRC = fcinfo.1m
 
-wtmpfix.1m			:= SOSRC = man1m/fwtmp.1m
+wtmpfix.1m			:= LINKSRC = fwtmp.1m
 
-hal-find-by-capability.1m	:= SOSRC = man1m/hal-find.1m
-hal-find-by-property.1m		:= SOSRC = man1m/hal-find.1m
+hal-find-by-capability.1m	:= LINKSRC = hal-find.1m
+hal-find-by-property.1m		:= LINKSRC = hal-find.1m
 
-hal-set-property.1m		:= SOSRC = man1m/hal-get-property.1m
+hal-set-property.1m		:= LINKSRC = hal-get-property.1m
 
-poweroff.1m			:= SOSRC = man1m/halt.1m
+poweroff.1m			:= LINKSRC = halt.1m
 
-comsat.1m			:= SOSRC = man1m/in.comsat.1m
-fingerd.1m			:= SOSRC = man1m/in.fingerd.1m
-ftpd.1m				:= SOSRC = man1m/in.ftpd.1m
-rarpd.1m			:= SOSRC = man1m/in.rarpd.1m
-rdisc.1m			:= SOSRC = man1m/in.rdisc.1m
-rexecd.1m			:= SOSRC = man1m/in.rexecd.1m
-rlogind.1m			:= SOSRC = man1m/in.rlogind.1m
-routed.1m			:= SOSRC = man1m/in.routed.1m
-rshd.1m				:= SOSRC = man1m/in.rshd.1m
-rwhod.1m			:= SOSRC = man1m/in.rwhod.1m
-talkd.1m			:= SOSRC = man1m/in.talkd.1m
-telnetd.1m			:= SOSRC = man1m/in.telnetd.1m
-tftpd.1m			:= SOSRC = man1m/in.tftpd.1m
-uucpd.1m			:= SOSRC = man1m/in.uucpd.1m
+comsat.1m			:= LINKSRC = in.comsat.1m
+fingerd.1m			:= LINKSRC = in.fingerd.1m
+ftpd.1m				:= LINKSRC = in.ftpd.1m
+rarpd.1m			:= LINKSRC = in.rarpd.1m
+rdisc.1m			:= LINKSRC = in.rdisc.1m
+rexecd.1m			:= LINKSRC = in.rexecd.1m
+rlogind.1m			:= LINKSRC = in.rlogind.1m
+routed.1m			:= LINKSRC = in.routed.1m
+rshd.1m				:= LINKSRC = in.rshd.1m
+rwhod.1m			:= LINKSRC = in.rwhod.1m
+talkd.1m			:= LINKSRC = in.talkd.1m
+telnetd.1m			:= LINKSRC = in.telnetd.1m
+tftpd.1m			:= LINKSRC = in.tftpd.1m
+uucpd.1m			:= LINKSRC = in.uucpd.1m
 
-telinit.1m			:= SOSRC = man1m/init.1m
+telinit.1m			:= LINKSRC = init.1m
 
-kadmin.local.1m			:= SOSRC = man1m/kadmin.1m
+kadmin.local.1m			:= LINKSRC = kadmin.1m
 
-unlink.1m			:= SOSRC = man1m/link.1m
+unlink.1m			:= LINKSRC = link.1m
 
-metaonline.1m			:= SOSRC = man1m/metaoffline.1m
+metaonline.1m			:= LINKSRC = metaoffline.1m
 
-metadetach.1m			:= SOSRC = man1m/metattach.1m
+metadetach.1m			:= LINKSRC = metattach.1m
 
-umount.1m			:= SOSRC = man1m/mount.1m
+umount.1m			:= LINKSRC = mount.1m
 
-umount_smbfs.1m			:= SOSRC = man1m/mount_smbfs.1m
+umount_smbfs.1m			:= LINKSRC = mount_smbfs.1m
 
-umountall.1m			:= SOSRC = man1m/mountall.1m
+umountall.1m			:= LINKSRC = mountall.1m
 
-grpck.1m			:= SOSRC = man1m/pwck.1m
+grpck.1m			:= LINKSRC = pwck.1m
 
-quotaoff.1m			:= SOSRC = man1m/quotaon.1m
+quotaoff.1m			:= LINKSRC = quotaon.1m
 
-bootparamd.1m			:= SOSRC = man1m/rpc.bootparamd.1m
-rexd.1m				:= SOSRC = man1m/rpc.rexd.1m
-rstatd.1m			:= SOSRC = man1m/rpc.rstatd.1m
-rusersd.1m			:= SOSRC = man1m/rpc.rusersd.1m
-rwalld.1m			:= SOSRC = man1m/rpc.rwalld.1m
-sprayd.1m			:= SOSRC = man1m/rpc.sprayd.1m
-yppasswdd.1m			:= SOSRC = man1m/rpc.yppasswdd.1m
-ypupdated.1m			:= SOSRC = man1m/rpc.ypupdated.1m
+bootparamd.1m			:= LINKSRC = rpc.bootparamd.1m
+rexd.1m				:= LINKSRC = rpc.rexd.1m
+rstatd.1m			:= LINKSRC = rpc.rstatd.1m
+rusersd.1m			:= LINKSRC = rpc.rusersd.1m
+rwalld.1m			:= LINKSRC = rpc.rwalld.1m
+sprayd.1m			:= LINKSRC = rpc.sprayd.1m
+yppasswdd.1m			:= LINKSRC = rpc.yppasswdd.1m
+ypupdated.1m			:= LINKSRC = rpc.ypupdated.1m
 
-restricted_shell.1m		:= SOSRC = man1m/rsh.1m
+restricted_shell.1m		:= LINKSRC = rsh.1m
 
-sa1.1m				:= SOSRC = man1m/sar.1m
-sa2.1m				:= SOSRC = man1m/sar.1m
-sadc.1m				:= SOSRC = man1m/sar.1m
+sa1.1m				:= LINKSRC = sar.1m
+sa2.1m				:= LINKSRC = sar.1m
+sadc.1m				:= LINKSRC = sar.1m
 
-unshareall.1m			:= SOSRC = man1m/shareall.1m
+unshareall.1m			:= LINKSRC = shareall.1m
 
-ypxfrd.1m			:= SOSRC = man1m/ypserv.1m
+ypxfrd.1m			:= LINKSRC = ypserv.1m
 
-ypstop.1m			:= SOSRC = man1m/ypstart.1m
+ypstop.1m			:= LINKSRC = ypstart.1m
 
-ypxfr_1perday.1m		:= SOSRC = man1m/ypxfr.1m
-ypxfr_1perhour.1m		:= SOSRC = man1m/ypxfr.1m
-ypxfr_2perday.1m		:= SOSRC = man1m/ypxfr.1m
+ypxfr_1perday.1m		:= LINKSRC = ypxfr.1m
+ypxfr_1perhour.1m		:= LINKSRC = ypxfr.1m
+ypxfr_2perday.1m		:= LINKSRC = ypxfr.1m
 
 
 .KEEP_STATE:
 
-include ../Makefile.man
+include		$(SRC)/man/Makefile.man
 
-install: $(ROOTMANFILES)
+install:	$(ROOTMANFILES) $(ROOTMANLINKS)
--- a/usr/src/man/man2/Makefile	Fri Aug 30 01:19:35 2013 -0800
+++ b/usr/src/man/man2/Makefile	Thu Aug 29 02:33:28 2013 +0400
@@ -9,14 +9,17 @@
 # at http://www.illumos.org/license/CDDL.
 #
 
+#
 # Copyright 2011, Richard Lowe
 # Copyright 2013, OmniTI Computer Consulting, Inc
-
-include ../../Makefile.master
+# Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
+#
 
-MANSECT = 	2
+include		$(SRC)/Makefile.master
 
-MANFILES = 	Intro.2			\
+MANSECT= 	2
+
+MANFILES=	Intro.2			\
 	 	__sparc_utrap_install.2 \
 	 	_lwp_cond_signal.2	\
 	 	_lwp_cond_wait.2	\
@@ -159,7 +162,7 @@
 	 	write.2			\
 	 	yield.2			\
 
-MANSOFILES =	_Exit.2				\
+MANLINKS=	_Exit.2				\
 	 	_exit.2				\
 	 	_lwp_cond_broadcast.2		\
 	 	_lwp_cond_reltimedwait.2	\
@@ -208,7 +211,7 @@
 	 	lstat.2				\
 	 	openat.2			\
 	 	pathconf.2			\
-	 	pipe2.2			\
+		pipe2.2				\
 	 	pread.2				\
 	 	pset_assign.2			\
 	 	pset_destroy.2			\
@@ -242,143 +245,141 @@
 	 	wracct.2			\
 	 	writev.2
 
-MANFILES +=	$(MANSOFILES)
+intro.2				:= LINKSRC = Intro.2
 
-intro.2				:= SOSRC = man2/Intro.2
+_lwp_cond_broadcast.2		:= LINKSRC = _lwp_cond_signal.2
 
-_lwp_cond_broadcast.2		:= SOSRC = man2/_lwp_cond_signal.2
+_lwp_cond_reltimedwait.2	:= LINKSRC = _lwp_cond_wait.2
+_lwp_cond_timedwait.2		:= LINKSRC = _lwp_cond_wait.2
 
-_lwp_cond_reltimedwait.2	:= SOSRC = man2/_lwp_cond_wait.2
-_lwp_cond_timedwait.2		:= SOSRC = man2/_lwp_cond_wait.2
+_lwp_mutex_trylock.2		:= LINKSRC = _lwp_mutex_lock.2
+_lwp_mutex_unlock.2		:= LINKSRC = _lwp_mutex_lock.2
 
-_lwp_mutex_trylock.2		:= SOSRC = man2/_lwp_mutex_lock.2
-_lwp_mutex_unlock.2		:= SOSRC = man2/_lwp_mutex_lock.2
+_lwp_sema_init.2		:= LINKSRC = _lwp_sema_wait.2
+_lwp_sema_post.2		:= LINKSRC = _lwp_sema_wait.2
+_lwp_sema_trywait.2		:= LINKSRC = _lwp_sema_wait.2
 
-_lwp_sema_init.2		:= SOSRC = man2/_lwp_sema_wait.2
-_lwp_sema_post.2		:= SOSRC = man2/_lwp_sema_wait.2
-_lwp_sema_trywait.2		:= SOSRC = man2/_lwp_sema_wait.2
+_lwp_continue.2			:= LINKSRC = _lwp_suspend.2
 
-_lwp_continue.2			:= SOSRC = man2/_lwp_suspend.2
+faccessat.2			:= LINKSRC = access.2
 
-faccessat.2			:= SOSRC = man2/access.2
+facl.2				:= LINKSRC = acl.2
 
-facl.2				:= SOSRC = man2/acl.2
+sbrk.2				:= LINKSRC = brk.2
 
-sbrk.2				:= SOSRC = man2/brk.2
+fchdir.2			:= LINKSRC = chdir.2
 
-fchdir.2			:= SOSRC = man2/chdir.2
-
-fchmod.2			:= SOSRC = man2/chmod.2
+fchmod.2			:= LINKSRC = chmod.2
 
-fchown.2			:= SOSRC = man2/chown.2
-fchownat.2			:= SOSRC = man2/chown.2
-lchown.2			:= SOSRC = man2/chown.2
+fchown.2			:= LINKSRC = chown.2
+fchownat.2			:= LINKSRC = chown.2
+lchown.2			:= LINKSRC = chown.2
+
+fchroot.2			:= LINKSRC = chroot.2
 
-fchroot.2			:= SOSRC = man2/chroot.2
+execl.2				:= LINKSRC = exec.2
+execle.2			:= LINKSRC = exec.2
+execlp.2			:= LINKSRC = exec.2
+execv.2				:= LINKSRC = exec.2
+execve.2			:= LINKSRC = exec.2
+execvp.2			:= LINKSRC = exec.2
 
-execl.2				:= SOSRC = man2/exec.2
-execle.2			:= SOSRC = man2/exec.2
-execlp.2			:= SOSRC = man2/exec.2
-execv.2				:= SOSRC = man2/exec.2
-execve.2			:= SOSRC = man2/exec.2
-execvp.2			:= SOSRC = man2/exec.2
+_Exit.2				:= LINKSRC = exit.2
+_exit.2				:= LINKSRC = exit.2
 
-_Exit.2				:= SOSRC = man2/exit.2
-_exit.2				:= SOSRC = man2/exit.2
+fork1.2				:= LINKSRC = fork.2
+forkall.2			:= LINKSRC = fork.2
+forkallx.2			:= LINKSRC = fork.2
+forkx.2				:= LINKSRC = fork.2
 
-fork1.2				:= SOSRC = man2/fork.2
-forkall.2			:= SOSRC = man2/fork.2
-forkallx.2			:= SOSRC = man2/fork.2
-forkx.2				:= SOSRC = man2/fork.2
+pathconf.2			:= LINKSRC = fpathconf.2
 
-pathconf.2			:= SOSRC = man2/fpathconf.2
+putacct.2			:= LINKSRC = getacct.2
+wracct.2			:= LINKSRC = getacct.2
 
-putacct.2			:= SOSRC = man2/getacct.2
-wracct.2			:= SOSRC = man2/getacct.2
+getaudit_addr.2			:= LINKSRC = getaudit.2
+setaudit.2			:= LINKSRC = getaudit.2
+setaudit_addr.2			:= LINKSRC = getaudit.2
 
-getaudit_addr.2			:= SOSRC = man2/getaudit.2
-setaudit.2			:= SOSRC = man2/getaudit.2
-setaudit_addr.2			:= SOSRC = man2/getaudit.2
+setauid.2			:= LINKSRC = getauid.2
 
-setauid.2			:= SOSRC = man2/getauid.2
+setcontext.2			:= LINKSRC = getcontext.2
 
-setcontext.2			:= SOSRC = man2/getcontext.2
+setgroups.2			:= LINKSRC = getgroups.2
 
-setgroups.2			:= SOSRC = man2/getgroups.2
+setitimer.2			:= LINKSRC = getitimer.2
 
-setitimer.2			:= SOSRC = man2/getitimer.2
+fgetlabel.2			:= LINKSRC = getlabel.2
 
-fgetlabel.2			:= SOSRC = man2/getlabel.2
+getpmsg.2			:= LINKSRC = getmsg.2
+
+setpflags.2			:= LINKSRC = getpflags.2
 
-getpmsg.2			:= SOSRC = man2/getmsg.2
-
-setpflags.2			:= SOSRC = man2/getpflags.2
+getpgid.2			:= LINKSRC = getpid.2
+getpgrp.2			:= LINKSRC = getpid.2
+getppid.2			:= LINKSRC = getpid.2
 
-getpgid.2			:= SOSRC = man2/getpid.2
-getpgrp.2			:= SOSRC = man2/getpid.2
-getppid.2			:= SOSRC = man2/getpid.2
+setppriv.2			:= LINKSRC = getppriv.2
+
+setrlimit.2			:= LINKSRC = getrlimit.2
 
-setppriv.2			:= SOSRC = man2/getppriv.2
-
-setrlimit.2			:= SOSRC = man2/getrlimit.2
+getegid.2			:= LINKSRC = getuid.2
+geteuid.2			:= LINKSRC = getuid.2
+getgid.2			:= LINKSRC = getuid.2
 
-getegid.2			:= SOSRC = man2/getuid.2
-geteuid.2			:= SOSRC = man2/getuid.2
-getgid.2			:= SOSRC = man2/getuid.2
+setustack.2			:= LINKSRC = getustack.2
 
-setustack.2			:= SOSRC = man2/getustack.2
+openat.2			:= LINKSRC = open.2
 
-openat.2			:= SOSRC = man2/open.2
-
-pipe2.2				:= SOSRC = man2/pipe.2
+pipe2.2				:= LINKSRC = pipe.2
 
-pset_assign.2			:= SOSRC = man2/pset_create.2
-pset_destroy.2			:= SOSRC = man2/pset_create.2
+pset_assign.2			:= LINKSRC = pset_create.2
+pset_destroy.2			:= LINKSRC = pset_create.2
 
-pset_getattr.2			:= SOSRC = man2/pset_setattr.2
+pset_getattr.2			:= LINKSRC = pset_setattr.2
 
-putpmsg.2			:= SOSRC = man2/putmsg.2
+putpmsg.2			:= LINKSRC = putmsg.2
 
-pread.2				:= SOSRC = man2/read.2
-readv.2				:= SOSRC = man2/read.2
+pread.2				:= LINKSRC = read.2
+readv.2				:= LINKSRC = read.2
 
-renameat.2			:= SOSRC = man2/rename.2
+renameat.2			:= LINKSRC = rename.2
 
-semtimedop.2			:= SOSRC = man2/semop.2
+semtimedop.2			:= LINKSRC = semop.2
 
-getrctl.2			:= SOSRC = man2/setrctl.2
+getrctl.2			:= LINKSRC = setrctl.2
 
-getprojid.2			:= SOSRC = man2/settaskid.2
-gettaskid.2			:= SOSRC = man2/settaskid.2
+getprojid.2			:= LINKSRC = settaskid.2
+gettaskid.2			:= LINKSRC = settaskid.2
 
-setegid.2			:= SOSRC = man2/setuid.2
-seteuid.2			:= SOSRC = man2/setuid.2
-setgid.2			:= SOSRC = man2/setuid.2
+setegid.2			:= LINKSRC = setuid.2
+seteuid.2			:= LINKSRC = setuid.2
+setgid.2			:= LINKSRC = setuid.2
 
-shmat.2				:= SOSRC = man2/shmop.2
-shmdt.2				:= SOSRC = man2/shmop.2
+shmat.2				:= LINKSRC = shmop.2
+shmdt.2				:= LINKSRC = shmop.2
 
-sigsendset.2			:= SOSRC = man2/sigsend.2
+sigsendset.2			:= LINKSRC = sigsend.2
 
-fstat.2				:= SOSRC = man2/stat.2
-fstatat.2			:= SOSRC = man2/stat.2
-lstat.2				:= SOSRC = man2/stat.2
+fstat.2				:= LINKSRC = stat.2
+fstatat.2			:= LINKSRC = stat.2
+lstat.2				:= LINKSRC = stat.2
 
-fstatvfs.2			:= SOSRC = man2/statvfs.2
+fstatvfs.2			:= LINKSRC = statvfs.2
 
-umount2.2			:= SOSRC = man2/umount.2
+umount2.2			:= LINKSRC = umount.2
 
-unlinkat.2			:= SOSRC = man2/unlink.2
+unlinkat.2			:= LINKSRC = unlink.2
 
-futimesat.2			:= SOSRC = man2/utimes.2
+futimesat.2			:= LINKSRC = utimes.2
 
-vforkx.2			:= SOSRC = man2/vfork.2
+vforkx.2			:= LINKSRC = vfork.2
 
-pwrite.2			:= SOSRC = man2/write.2
-writev.2			:= SOSRC = man2/write.2
+pwrite.2			:= LINKSRC = write.2
+writev.2			:= LINKSRC = write.2
 
 .KEEP_STATE:
 
-include ../Makefile.man
+include		$(SRC)/man/Makefile.man
 
-install: $(ROOTMANFILES)
+install:	$(ROOTMANFILES) $(ROOTMANLINKS)
--- a/usr/src/man/man3/Makefile	Fri Aug 30 01:19:35 2013 -0800
+++ b/usr/src/man/man3/Makefile	Thu Aug 29 02:33:28 2013 +0400
@@ -11,26 +11,25 @@
 
 #
 # Copyright 2011, Richard Lowe
-# Copyright 2011 Nexenta Systems, Inc. All rights reserved.
+# Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
 #
 
-include ../../Makefile.master
+include		$(SRC)/Makefile.master
+
+MANSECT= 	3
 
-MANSECT = 	3
+MANFILES= 	Intro.3		\
+		hosts_access.3
 
-MANSOFILES =	intro.3 \
+MANLINKS=	intro.3		\
 		libwrap.3
 
-MANFILES = 	Intro.3 \
-		hosts_access.3 \
-		$(MANSOFILES)
+intro.3		:= LINKSRC = Intro.3
 
-intro.3		:= SOSRC = man3/Intro.3
-
-libwrap.3	:= SOSRC = man3/hosts_access.3
+libwrap.3	:= LINKSRC = hosts_access.3
 
 .KEEP_STATE:
 
-include ../Makefile.man
+include		$(SRC)/man/Makefile.man
 
-install: $(ROOTMANFILES)
+install:	$(ROOTMANFILES) $(ROOTMANLINKS)
--- a/usr/src/man/man3bsm/Makefile	Fri Aug 30 01:19:35 2013 -0800
+++ b/usr/src/man/man3bsm/Makefile	Thu Aug 29 02:33:28 2013 +0400
@@ -9,13 +9,16 @@
 # at http://www.illumos.org/license/CDDL.
 #
 
+#
 # Copyright 2011, Richard Lowe
-
-include ../../Makefile.master
+# Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
+#
 
-MANSECT = 	3bsm
+include		$(SRC)/Makefile.master
 
-MANFILES = 	au_open.3bsm		\
+MANSECT= 	3bsm
+
+MANFILES= 	au_open.3bsm		\
 	 	au_preselect.3bsm	\
 	 	au_to.3bsm		\
 	 	au_user_mask.3bsm	\
@@ -27,7 +30,7 @@
 	 	getddent.3bsm		\
 	 	getfauditflags.3bsm
 
-MANSOFILES =	au_close.3bsm		\
+MANLINKS=	au_close.3bsm		\
 		au_to_arg.3bsm		\
 		au_to_arg32.3bsm	\
 		au_to_arg64.3bsm	\
@@ -83,73 +86,71 @@
 		setddent.3bsm		\
 		setddfile.3bsm
 
-MANFILES +=	$(MANSOFILES)
-
-au_close.3bsm		:= SOSRC = man3bsm/au_open.3bsm
-au_write.3bsm		:= SOSRC = man3bsm/au_open.3bsm
+au_close.3bsm		:= LINKSRC = au_open.3bsm
+au_write.3bsm		:= LINKSRC = au_open.3bsm
 
-au_to_arg.3bsm		:= SOSRC = man3bsm/au_to.3bsm
-au_to_arg32.3bsm	:= SOSRC = man3bsm/au_to.3bsm
-au_to_arg64.3bsm	:= SOSRC = man3bsm/au_to.3bsm
-au_to_attr.3bsm		:= SOSRC = man3bsm/au_to.3bsm
-au_to_cmd.3bsm		:= SOSRC = man3bsm/au_to.3bsm
-au_to_data.3bsm		:= SOSRC = man3bsm/au_to.3bsm
-au_to_groups.3bsm	:= SOSRC = man3bsm/au_to.3bsm
-au_to_in_addr.3bsm	:= SOSRC = man3bsm/au_to.3bsm
-au_to_ipc.3bsm		:= SOSRC = man3bsm/au_to.3bsm
-au_to_iport.3bsm	:= SOSRC = man3bsm/au_to.3bsm
-au_to_me.3bsm		:= SOSRC = man3bsm/au_to.3bsm
-au_to_newgroups.3bsm	:= SOSRC = man3bsm/au_to.3bsm
-au_to_opaque.3bsm	:= SOSRC = man3bsm/au_to.3bsm
-au_to_path.3bsm		:= SOSRC = man3bsm/au_to.3bsm
-au_to_process.3bsm	:= SOSRC = man3bsm/au_to.3bsm
-au_to_process_ex.3bsm	:= SOSRC = man3bsm/au_to.3bsm
-au_to_return.3bsm	:= SOSRC = man3bsm/au_to.3bsm
-au_to_return32.3bsm	:= SOSRC = man3bsm/au_to.3bsm
-au_to_return64.3bsm	:= SOSRC = man3bsm/au_to.3bsm
-au_to_socket.3bsm	:= SOSRC = man3bsm/au_to.3bsm
-au_to_subject.3bsm	:= SOSRC = man3bsm/au_to.3bsm
-au_to_subject_ex.3bsm	:= SOSRC = man3bsm/au_to.3bsm
-au_to_text.3bsm		:= SOSRC = man3bsm/au_to.3bsm
+au_to_arg.3bsm		:= LINKSRC = au_to.3bsm
+au_to_arg32.3bsm	:= LINKSRC = au_to.3bsm
+au_to_arg64.3bsm	:= LINKSRC = au_to.3bsm
+au_to_attr.3bsm		:= LINKSRC = au_to.3bsm
+au_to_cmd.3bsm		:= LINKSRC = au_to.3bsm
+au_to_data.3bsm		:= LINKSRC = au_to.3bsm
+au_to_groups.3bsm	:= LINKSRC = au_to.3bsm
+au_to_in_addr.3bsm	:= LINKSRC = au_to.3bsm
+au_to_ipc.3bsm		:= LINKSRC = au_to.3bsm
+au_to_iport.3bsm	:= LINKSRC = au_to.3bsm
+au_to_me.3bsm		:= LINKSRC = au_to.3bsm
+au_to_newgroups.3bsm	:= LINKSRC = au_to.3bsm
+au_to_opaque.3bsm	:= LINKSRC = au_to.3bsm
+au_to_path.3bsm		:= LINKSRC = au_to.3bsm
+au_to_process.3bsm	:= LINKSRC = au_to.3bsm
+au_to_process_ex.3bsm	:= LINKSRC = au_to.3bsm
+au_to_return.3bsm	:= LINKSRC = au_to.3bsm
+au_to_return32.3bsm	:= LINKSRC = au_to.3bsm
+au_to_return64.3bsm	:= LINKSRC = au_to.3bsm
+au_to_socket.3bsm	:= LINKSRC = au_to.3bsm
+au_to_subject.3bsm	:= LINKSRC = au_to.3bsm
+au_to_subject_ex.3bsm	:= LINKSRC = au_to.3bsm
+au_to_text.3bsm		:= LINKSRC = au_to.3bsm
 
-endac.3bsm		:= SOSRC = man3bsm/getacinfo.3bsm
-getacdir.3bsm		:= SOSRC = man3bsm/getacinfo.3bsm
-getacflg.3bsm		:= SOSRC = man3bsm/getacinfo.3bsm
-getacmin.3bsm		:= SOSRC = man3bsm/getacinfo.3bsm
-getacna.3bsm		:= SOSRC = man3bsm/getacinfo.3bsm
-setac.3bsm		:= SOSRC = man3bsm/getacinfo.3bsm
+endac.3bsm		:= LINKSRC = getacinfo.3bsm
+getacdir.3bsm		:= LINKSRC = getacinfo.3bsm
+getacflg.3bsm		:= LINKSRC = getacinfo.3bsm
+getacmin.3bsm		:= LINKSRC = getacinfo.3bsm
+getacna.3bsm		:= LINKSRC = getacinfo.3bsm
+setac.3bsm		:= LINKSRC = getacinfo.3bsm
 
-endauclass.3bsm		:= SOSRC = man3bsm/getauclassent.3bsm
-getauclassent_r.3bsm	:= SOSRC = man3bsm/getauclassent.3bsm
-getauclassnam.3bsm	:= SOSRC = man3bsm/getauclassent.3bsm
-getauclassnam_r.3bsm	:= SOSRC = man3bsm/getauclassent.3bsm
-setauclass.3bsm		:= SOSRC = man3bsm/getauclassent.3bsm
+endauclass.3bsm		:= LINKSRC = getauclassent.3bsm
+getauclassent_r.3bsm	:= LINKSRC = getauclassent.3bsm
+getauclassnam.3bsm	:= LINKSRC = getauclassent.3bsm
+getauclassnam_r.3bsm	:= LINKSRC = getauclassent.3bsm
+setauclass.3bsm		:= LINKSRC = getauclassent.3bsm
 
-getauditflagsbin.3bsm	:= SOSRC = man3bsm/getauditflags.3bsm
-getauditflagschar.3bsm	:= SOSRC = man3bsm/getauditflags.3bsm
+getauditflagsbin.3bsm	:= LINKSRC = getauditflags.3bsm
+getauditflagschar.3bsm	:= LINKSRC = getauditflags.3bsm
 
-endauevent.3bsm		:= SOSRC = man3bsm/getauevent.3bsm
-getauevent_r.3bsm	:= SOSRC = man3bsm/getauevent.3bsm
-getauevnam.3bsm		:= SOSRC = man3bsm/getauevent.3bsm
-getauevnam_r.3bsm	:= SOSRC = man3bsm/getauevent.3bsm
-getauevnonam.3bsm	:= SOSRC = man3bsm/getauevent.3bsm
-getauevnum.3bsm		:= SOSRC = man3bsm/getauevent.3bsm
-getauevnum_r.3bsm	:= SOSRC = man3bsm/getauevent.3bsm
-setauevent.3bsm		:= SOSRC = man3bsm/getauevent.3bsm
+endauevent.3bsm		:= LINKSRC = getauevent.3bsm
+getauevent_r.3bsm	:= LINKSRC = getauevent.3bsm
+getauevnam.3bsm		:= LINKSRC = getauevent.3bsm
+getauevnam_r.3bsm	:= LINKSRC = getauevent.3bsm
+getauevnonam.3bsm	:= LINKSRC = getauevent.3bsm
+getauevnum.3bsm		:= LINKSRC = getauevent.3bsm
+getauevnum_r.3bsm	:= LINKSRC = getauevent.3bsm
+setauevent.3bsm		:= LINKSRC = getauevent.3bsm
 
-endauuser.3bsm		:= SOSRC = man3bsm/getauusernam.3bsm
-getauuserent.3bsm	:= SOSRC = man3bsm/getauusernam.3bsm
-getauuserent_r.3bsm	:= SOSRC = man3bsm/getauusernam.3bsm
-getauusernam_r.3bsm	:= SOSRC = man3bsm/getauusernam.3bsm
-setauuser.3bsm		:= SOSRC = man3bsm/getauusernam.3bsm
+endauuser.3bsm		:= LINKSRC = getauusernam.3bsm
+getauuserent.3bsm	:= LINKSRC = getauusernam.3bsm
+getauuserent_r.3bsm	:= LINKSRC = getauusernam.3bsm
+getauusernam_r.3bsm	:= LINKSRC = getauusernam.3bsm
+setauuser.3bsm		:= LINKSRC = getauusernam.3bsm
 
-endddent.3bsm		:= SOSRC = man3bsm/getddent.3bsm
-getddnam.3bsm		:= SOSRC = man3bsm/getddent.3bsm
-setddent.3bsm		:= SOSRC = man3bsm/getddent.3bsm
-setddfile.3bsm		:= SOSRC = man3bsm/getddent.3bsm
+endddent.3bsm		:= LINKSRC = getddent.3bsm
+getddnam.3bsm		:= LINKSRC = getddent.3bsm
+setddent.3bsm		:= LINKSRC = getddent.3bsm
+setddfile.3bsm		:= LINKSRC = getddent.3bsm
 
 .KEEP_STATE:
 
-include ../Makefile.man
+include		$(SRC)/man/Makefile.man
 
-install: $(ROOTMANFILES)
+install:	$(ROOTMANFILES) $(ROOTMANLINKS)
--- a/usr/src/man/man3c/Makefile	Fri Aug 30 01:19:35 2013 -0800
+++ b/usr/src/man/man3c/Makefile	Thu Aug 29 02:33:28 2013 +0400
@@ -9,14 +9,17 @@
 # at http://www.illumos.org/license/CDDL.
 #
 
+#
 # Copyright 2011, Richard Lowe
+# Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
 # Copyright 2013, OmniTI Computer Consulting, Inc. All rights reserved.
+#
 
-include ../../Makefile.master
+include		$(SRC)/Makefile.master
 
-MANSECT = 	3c
+MANSECT= 	3c
 
-MANFILES = 	__fbufsize.3c					\
+MANFILES= 	__fbufsize.3c					\
 	 	_longjmp.3c					\
 	 	_stack_grow.3c					\
 	 	a64l.3c						\
@@ -508,7 +511,7 @@
 	 	wsscanf.3c					\
 	 	wstring.3c					\
 
-MANSOFILES =	FD_CLR.3c				\
+MANLINKS=	FD_CLR.3c				\
 	 	FD_ISSET.3c				\
 	 	FD_SET.3c				\
 	 	FD_ZERO.3c				\
@@ -672,7 +675,6 @@
 	 	csetno.3c				\
 	 	ctermid_r.3c				\
 	 	ctime_r.3c				\
-		dup3.3c					\
 	 	dbm_clearerr.3c				\
 	 	dbm_close.3c				\
 	 	dbm_delete.3c				\
@@ -695,6 +697,7 @@
 	 	door_setparam.3c			\
 	 	door_unbind.3c				\
 	 	double_to_decimal.3c			\
+		dup3.3c					\
 	 	edata.3c				\
 	 	endgrent.3c				\
 	 	endnetgrent.3c				\
@@ -850,8 +853,8 @@
 	 	memset.3c				\
 	 	minor.3c				\
 	 	mkdtemp.3c				\
-	 	mkostemp.3c				\
-	 	mkostemps.3c				\
+		mkostemp.3c				\
+		mkostemps.3c				\
 	 	mkstemps.3c				\
 	 	mq_reltimedreceive_np.3c		\
 	 	mq_reltimedsend_np.3c			\
@@ -1203,918 +1206,914 @@
 	 	wstostr.3c				\
 	 	wsxfrm.3c
 
-MANFILES +=	$(MANSOFILES)
+__flbf.3c				:= LINKSRC = __fbufsize.3c
+__fpending.3c				:= LINKSRC = __fbufsize.3c
+__fpurge.3c				:= LINKSRC = __fbufsize.3c
+__freadable.3c				:= LINKSRC = __fbufsize.3c
+__freading.3c				:= LINKSRC = __fbufsize.3c
+__fsetlocking.3c			:= LINKSRC = __fbufsize.3c
+__fwritable.3c				:= LINKSRC = __fbufsize.3c
+__fwriting.3c				:= LINKSRC = __fbufsize.3c
+_flushlbf.3c				:= LINKSRC = __fbufsize.3c
 
-__flbf.3c				:= SOSRC = man3c/__fbufsize.3c
-__fpending.3c				:= SOSRC = man3c/__fbufsize.3c
-__fpurge.3c				:= SOSRC = man3c/__fbufsize.3c
-__freadable.3c				:= SOSRC = man3c/__fbufsize.3c
-__freading.3c				:= SOSRC = man3c/__fbufsize.3c
-__fsetlocking.3c			:= SOSRC = man3c/__fbufsize.3c
-__fwritable.3c				:= SOSRC = man3c/__fbufsize.3c
-__fwriting.3c				:= SOSRC = man3c/__fbufsize.3c
-_flushlbf.3c				:= SOSRC = man3c/__fbufsize.3c
+_setjmp.3c				:= LINKSRC = _longjmp.3c
+
+l64a.3c					:= LINKSRC = a64l.3c
 
-_setjmp.3c				:= SOSRC = man3c/_longjmp.3c
-
-l64a.3c					:= SOSRC = man3c/a64l.3c
+labs.3c					:= LINKSRC = abs.3c
+llabs.3c				:= LINKSRC = abs.3c
 
-labs.3c					:= SOSRC = man3c/abs.3c
-llabs.3c				:= SOSRC = man3c/abs.3c
-
-aiowrite.3c				:= SOSRC = man3c/aioread.3c
+aiowrite.3c				:= LINKSRC = aioread.3c
 
-atomic_add_16.3c			:= SOSRC = man3c/atomic_add.3c
-atomic_add_16_nv.3c			:= SOSRC = man3c/atomic_add.3c
-atomic_add_32.3c			:= SOSRC = man3c/atomic_add.3c
-atomic_add_32_nv.3c			:= SOSRC = man3c/atomic_add.3c
-atomic_add_64.3c			:= SOSRC = man3c/atomic_add.3c
-atomic_add_64_nv.3c			:= SOSRC = man3c/atomic_add.3c
-atomic_add_8.3c				:= SOSRC = man3c/atomic_add.3c
-atomic_add_8_nv.3c			:= SOSRC = man3c/atomic_add.3c
-atomic_add_char.3c			:= SOSRC = man3c/atomic_add.3c
-atomic_add_char_nv.3c			:= SOSRC = man3c/atomic_add.3c
-atomic_add_int.3c			:= SOSRC = man3c/atomic_add.3c
-atomic_add_int_nv.3c			:= SOSRC = man3c/atomic_add.3c
-atomic_add_long.3c			:= SOSRC = man3c/atomic_add.3c
-atomic_add_long_nv.3c			:= SOSRC = man3c/atomic_add.3c
-atomic_add_ptr.3c			:= SOSRC = man3c/atomic_add.3c
-atomic_add_ptr_nv.3c			:= SOSRC = man3c/atomic_add.3c
-atomic_add_short.3c			:= SOSRC = man3c/atomic_add.3c
-atomic_add_short_nv.3c			:= SOSRC = man3c/atomic_add.3c
-atomic_and_16.3c			:= SOSRC = man3c/atomic_and.3c
-atomic_and_16_nv.3c			:= SOSRC = man3c/atomic_and.3c
-atomic_and_32.3c			:= SOSRC = man3c/atomic_and.3c
-atomic_and_32_nv.3c			:= SOSRC = man3c/atomic_and.3c
-atomic_and_64.3c			:= SOSRC = man3c/atomic_and.3c
-atomic_and_64_nv.3c			:= SOSRC = man3c/atomic_and.3c
-atomic_and_8.3c				:= SOSRC = man3c/atomic_and.3c
-atomic_and_8_nv.3c			:= SOSRC = man3c/atomic_and.3c
-atomic_and_uchar.3c			:= SOSRC = man3c/atomic_and.3c
-atomic_and_uchar_nv.3c			:= SOSRC = man3c/atomic_and.3c
-atomic_and_uint.3c			:= SOSRC = man3c/atomic_and.3c
-atomic_and_uint_nv.3c			:= SOSRC = man3c/atomic_and.3c
-atomic_and_ulong.3c			:= SOSRC = man3c/atomic_and.3c
-atomic_and_ulong_nv.3c			:= SOSRC = man3c/atomic_and.3c
-atomic_and_ushort.3c			:= SOSRC = man3c/atomic_and.3c
-atomic_and_ushort_nv.3c			:= SOSRC = man3c/atomic_and.3c
+atomic_add_16.3c			:= LINKSRC = atomic_add.3c
+atomic_add_16_nv.3c			:= LINKSRC = atomic_add.3c
+atomic_add_32.3c			:= LINKSRC = atomic_add.3c
+atomic_add_32_nv.3c			:= LINKSRC = atomic_add.3c
+atomic_add_64.3c			:= LINKSRC = atomic_add.3c
+atomic_add_64_nv.3c			:= LINKSRC = atomic_add.3c
+atomic_add_8.3c				:= LINKSRC = atomic_add.3c
+atomic_add_8_nv.3c			:= LINKSRC = atomic_add.3c
+atomic_add_char.3c			:= LINKSRC = atomic_add.3c
+atomic_add_char_nv.3c			:= LINKSRC = atomic_add.3c
+atomic_add_int.3c			:= LINKSRC = atomic_add.3c
+atomic_add_int_nv.3c			:= LINKSRC = atomic_add.3c
+atomic_add_long.3c			:= LINKSRC = atomic_add.3c
+atomic_add_long_nv.3c			:= LINKSRC = atomic_add.3c
+atomic_add_ptr.3c			:= LINKSRC = atomic_add.3c
+atomic_add_ptr_nv.3c			:= LINKSRC = atomic_add.3c
+atomic_add_short.3c			:= LINKSRC = atomic_add.3c
+atomic_add_short_nv.3c			:= LINKSRC = atomic_add.3c
+atomic_and_16.3c			:= LINKSRC = atomic_and.3c
+atomic_and_16_nv.3c			:= LINKSRC = atomic_and.3c
+atomic_and_32.3c			:= LINKSRC = atomic_and.3c
+atomic_and_32_nv.3c			:= LINKSRC = atomic_and.3c
+atomic_and_64.3c			:= LINKSRC = atomic_and.3c
+atomic_and_64_nv.3c			:= LINKSRC = atomic_and.3c
+atomic_and_8.3c				:= LINKSRC = atomic_and.3c
+atomic_and_8_nv.3c			:= LINKSRC = atomic_and.3c
+atomic_and_uchar.3c			:= LINKSRC = atomic_and.3c
+atomic_and_uchar_nv.3c			:= LINKSRC = atomic_and.3c
+atomic_and_uint.3c			:= LINKSRC = atomic_and.3c
+atomic_and_uint_nv.3c			:= LINKSRC = atomic_and.3c
+atomic_and_ulong.3c			:= LINKSRC = atomic_and.3c
+atomic_and_ulong_nv.3c			:= LINKSRC = atomic_and.3c
+atomic_and_ushort.3c			:= LINKSRC = atomic_and.3c
+atomic_and_ushort_nv.3c			:= LINKSRC = atomic_and.3c
 
-atomic_clear_long_excl.3c		:= SOSRC = man3c/atomic_bits.3c
-atomic_set_long_excl.3c			:= SOSRC = man3c/atomic_bits.3c
+atomic_clear_long_excl.3c		:= LINKSRC = atomic_bits.3c
+atomic_set_long_excl.3c			:= LINKSRC = atomic_bits.3c
 
-atomic_cas_16.3c			:= SOSRC = man3c/atomic_cas.3c
-atomic_cas_32.3c			:= SOSRC = man3c/atomic_cas.3c
-atomic_cas_64.3c			:= SOSRC = man3c/atomic_cas.3c
-atomic_cas_8.3c				:= SOSRC = man3c/atomic_cas.3c
-atomic_cas_ptr.3c			:= SOSRC = man3c/atomic_cas.3c
-atomic_cas_uchar.3c			:= SOSRC = man3c/atomic_cas.3c
-atomic_cas_uint.3c			:= SOSRC = man3c/atomic_cas.3c
-atomic_cas_ulong.3c			:= SOSRC = man3c/atomic_cas.3c
-atomic_cas_ushort.3c			:= SOSRC = man3c/atomic_cas.3c
+atomic_cas_16.3c			:= LINKSRC = atomic_cas.3c
+atomic_cas_32.3c			:= LINKSRC = atomic_cas.3c
+atomic_cas_64.3c			:= LINKSRC = atomic_cas.3c
+atomic_cas_8.3c				:= LINKSRC = atomic_cas.3c
+atomic_cas_ptr.3c			:= LINKSRC = atomic_cas.3c
+atomic_cas_uchar.3c			:= LINKSRC = atomic_cas.3c
+atomic_cas_uint.3c			:= LINKSRC = atomic_cas.3c
+atomic_cas_ulong.3c			:= LINKSRC = atomic_cas.3c
+atomic_cas_ushort.3c			:= LINKSRC = atomic_cas.3c
 
-atomic_dec_16.3c			:= SOSRC = man3c/atomic_dec.3c
-atomic_dec_16_nv.3c			:= SOSRC = man3c/atomic_dec.3c
-atomic_dec_32.3c			:= SOSRC = man3c/atomic_dec.3c
-atomic_dec_32_nv.3c			:= SOSRC = man3c/atomic_dec.3c
-atomic_dec_64.3c			:= SOSRC = man3c/atomic_dec.3c
-atomic_dec_64_nv.3c			:= SOSRC = man3c/atomic_dec.3c
-atomic_dec_8.3c				:= SOSRC = man3c/atomic_dec.3c
-atomic_dec_8_nv.3c			:= SOSRC = man3c/atomic_dec.3c
-atomic_dec_ptr.3c			:= SOSRC = man3c/atomic_dec.3c
-atomic_dec_ptr_nv.3c			:= SOSRC = man3c/atomic_dec.3c
-atomic_dec_uchar.3c			:= SOSRC = man3c/atomic_dec.3c
-atomic_dec_uchar_nv.3c			:= SOSRC = man3c/atomic_dec.3c
-atomic_dec_uint.3c			:= SOSRC = man3c/atomic_dec.3c
-atomic_dec_uint_nv.3c			:= SOSRC = man3c/atomic_dec.3c
-atomic_dec_ulong.3c			:= SOSRC = man3c/atomic_dec.3c
-atomic_dec_ulong_nv.3c			:= SOSRC = man3c/atomic_dec.3c
-atomic_dec_ushort.3c			:= SOSRC = man3c/atomic_dec.3c
-atomic_dec_ushort_nv.3c			:= SOSRC = man3c/atomic_dec.3c
+atomic_dec_16.3c			:= LINKSRC = atomic_dec.3c
+atomic_dec_16_nv.3c			:= LINKSRC = atomic_dec.3c
+atomic_dec_32.3c			:= LINKSRC = atomic_dec.3c
+atomic_dec_32_nv.3c			:= LINKSRC = atomic_dec.3c
+atomic_dec_64.3c			:= LINKSRC = atomic_dec.3c
+atomic_dec_64_nv.3c			:= LINKSRC = atomic_dec.3c
+atomic_dec_8.3c				:= LINKSRC = atomic_dec.3c
+atomic_dec_8_nv.3c			:= LINKSRC = atomic_dec.3c
+atomic_dec_ptr.3c			:= LINKSRC = atomic_dec.3c
+atomic_dec_ptr_nv.3c			:= LINKSRC = atomic_dec.3c
+atomic_dec_uchar.3c			:= LINKSRC = atomic_dec.3c
+atomic_dec_uchar_nv.3c			:= LINKSRC = atomic_dec.3c
+atomic_dec_uint.3c			:= LINKSRC = atomic_dec.3c
+atomic_dec_uint_nv.3c			:= LINKSRC = atomic_dec.3c
+atomic_dec_ulong.3c			:= LINKSRC = atomic_dec.3c
+atomic_dec_ulong_nv.3c			:= LINKSRC = atomic_dec.3c
+atomic_dec_ushort.3c			:= LINKSRC = atomic_dec.3c
+atomic_dec_ushort_nv.3c			:= LINKSRC = atomic_dec.3c
 
-atomic_inc_16.3c			:= SOSRC = man3c/atomic_inc.3c
-atomic_inc_16_nv.3c			:= SOSRC = man3c/atomic_inc.3c
-atomic_inc_32.3c			:= SOSRC = man3c/atomic_inc.3c
-atomic_inc_32_nv.3c			:= SOSRC = man3c/atomic_inc.3c
-atomic_inc_64.3c			:= SOSRC = man3c/atomic_inc.3c
-atomic_inc_64_nv.3c			:= SOSRC = man3c/atomic_inc.3c
-atomic_inc_8.3c				:= SOSRC = man3c/atomic_inc.3c
-atomic_inc_8_nv.3c			:= SOSRC = man3c/atomic_inc.3c
-atomic_inc_ptr.3c			:= SOSRC = man3c/atomic_inc.3c
-atomic_inc_ptr_nv.3c			:= SOSRC = man3c/atomic_inc.3c
-atomic_inc_uchar.3c			:= SOSRC = man3c/atomic_inc.3c
-atomic_inc_uchar_nv.3c			:= SOSRC = man3c/atomic_inc.3c
-atomic_inc_uint.3c			:= SOSRC = man3c/atomic_inc.3c
-atomic_inc_uint_nv.3c			:= SOSRC = man3c/atomic_inc.3c
-atomic_inc_ulong.3c			:= SOSRC = man3c/atomic_inc.3c
-atomic_inc_ulong_nv.3c			:= SOSRC = man3c/atomic_inc.3c
-atomic_inc_ushort.3c			:= SOSRC = man3c/atomic_inc.3c
-atomic_inc_ushort_nv.3c			:= SOSRC = man3c/atomic_inc.3c
+atomic_inc_16.3c			:= LINKSRC = atomic_inc.3c
+atomic_inc_16_nv.3c			:= LINKSRC = atomic_inc.3c
+atomic_inc_32.3c			:= LINKSRC = atomic_inc.3c
+atomic_inc_32_nv.3c			:= LINKSRC = atomic_inc.3c
+atomic_inc_64.3c			:= LINKSRC = atomic_inc.3c
+atomic_inc_64_nv.3c			:= LINKSRC = atomic_inc.3c
+atomic_inc_8.3c				:= LINKSRC = atomic_inc.3c
+atomic_inc_8_nv.3c			:= LINKSRC = atomic_inc.3c
+atomic_inc_ptr.3c			:= LINKSRC = atomic_inc.3c
+atomic_inc_ptr_nv.3c			:= LINKSRC = atomic_inc.3c
+atomic_inc_uchar.3c			:= LINKSRC = atomic_inc.3c
+atomic_inc_uchar_nv.3c			:= LINKSRC = atomic_inc.3c
+atomic_inc_uint.3c			:= LINKSRC = atomic_inc.3c
+atomic_inc_uint_nv.3c			:= LINKSRC = atomic_inc.3c
+atomic_inc_ulong.3c			:= LINKSRC = atomic_inc.3c
+atomic_inc_ulong_nv.3c			:= LINKSRC = atomic_inc.3c
+atomic_inc_ushort.3c			:= LINKSRC = atomic_inc.3c
+atomic_inc_ushort_nv.3c			:= LINKSRC = atomic_inc.3c
 
-atomic_or_16.3c				:= SOSRC = man3c/atomic_or.3c
-atomic_or_16_nv.3c			:= SOSRC = man3c/atomic_or.3c
-atomic_or_32.3c				:= SOSRC = man3c/atomic_or.3c
-atomic_or_32_nv.3c			:= SOSRC = man3c/atomic_or.3c
-atomic_or_64.3c				:= SOSRC = man3c/atomic_or.3c
-atomic_or_64_nv.3c			:= SOSRC = man3c/atomic_or.3c
-atomic_or_8.3c				:= SOSRC = man3c/atomic_or.3c
-atomic_or_8_nv.3c			:= SOSRC = man3c/atomic_or.3c
-atomic_or_uchar.3c			:= SOSRC = man3c/atomic_or.3c
-atomic_or_uchar_nv.3c			:= SOSRC = man3c/atomic_or.3c
-atomic_or_uint.3c			:= SOSRC = man3c/atomic_or.3c
-atomic_or_uint_nv.3c			:= SOSRC = man3c/atomic_or.3c
-atomic_or_ulong.3c			:= SOSRC = man3c/atomic_or.3c
-atomic_or_ulong_nv.3c			:= SOSRC = man3c/atomic_or.3c
-atomic_or_ushort.3c			:= SOSRC = man3c/atomic_or.3c
-atomic_or_ushort_nv.3c			:= SOSRC = man3c/atomic_or.3c
+atomic_or_16.3c				:= LINKSRC = atomic_or.3c
+atomic_or_16_nv.3c			:= LINKSRC = atomic_or.3c
+atomic_or_32.3c				:= LINKSRC = atomic_or.3c
+atomic_or_32_nv.3c			:= LINKSRC = atomic_or.3c
+atomic_or_64.3c				:= LINKSRC = atomic_or.3c
+atomic_or_64_nv.3c			:= LINKSRC = atomic_or.3c
+atomic_or_8.3c				:= LINKSRC = atomic_or.3c
+atomic_or_8_nv.3c			:= LINKSRC = atomic_or.3c
+atomic_or_uchar.3c			:= LINKSRC = atomic_or.3c
+atomic_or_uchar_nv.3c			:= LINKSRC = atomic_or.3c
+atomic_or_uint.3c			:= LINKSRC = atomic_or.3c
+atomic_or_uint_nv.3c			:= LINKSRC = atomic_or.3c
+atomic_or_ulong.3c			:= LINKSRC = atomic_or.3c
+atomic_or_ulong_nv.3c			:= LINKSRC = atomic_or.3c
+atomic_or_ushort.3c			:= LINKSRC = atomic_or.3c
+atomic_or_ushort_nv.3c			:= LINKSRC = atomic_or.3c
 
-atomic_swap_16.3c			:= SOSRC = man3c/atomic_swap.3c
-atomic_swap_32.3c			:= SOSRC = man3c/atomic_swap.3c
-atomic_swap_64.3c			:= SOSRC = man3c/atomic_swap.3c
-atomic_swap_8.3c			:= SOSRC = man3c/atomic_swap.3c
-atomic_swap_ptr.3c			:= SOSRC = man3c/atomic_swap.3c
-atomic_swap_uchar.3c			:= SOSRC = man3c/atomic_swap.3c
-atomic_swap_uint.3c			:= SOSRC = man3c/atomic_swap.3c
-atomic_swap_ulong.3c			:= SOSRC = man3c/atomic_swap.3c
-atomic_swap_ushort.3c			:= SOSRC = man3c/atomic_swap.3c
+atomic_swap_16.3c			:= LINKSRC = atomic_swap.3c
+atomic_swap_32.3c			:= LINKSRC = atomic_swap.3c
+atomic_swap_64.3c			:= LINKSRC = atomic_swap.3c
+atomic_swap_8.3c			:= LINKSRC = atomic_swap.3c
+atomic_swap_ptr.3c			:= LINKSRC = atomic_swap.3c
+atomic_swap_uchar.3c			:= LINKSRC = atomic_swap.3c
+atomic_swap_uint.3c			:= LINKSRC = atomic_swap.3c
+atomic_swap_ulong.3c			:= LINKSRC = atomic_swap.3c
+atomic_swap_ushort.3c			:= LINKSRC = atomic_swap.3c
 
-bcmp.3c					:= SOSRC = man3c/bstring.3c
-bcopy.3c				:= SOSRC = man3c/bstring.3c
-bzero.3c				:= SOSRC = man3c/bstring.3c
+bcmp.3c					:= LINKSRC = bstring.3c
+bcopy.3c				:= LINKSRC = bstring.3c
+bzero.3c				:= LINKSRC = bstring.3c
 
-catclose.3c				:= SOSRC = man3c/catopen.3c
+catclose.3c				:= LINKSRC = catopen.3c
 
-cfgetospeed.3c				:= SOSRC = man3c/cfgetispeed.3c
+cfgetospeed.3c				:= LINKSRC = cfgetispeed.3c
 
-cfsetospeed.3c				:= SOSRC = man3c/cfsetispeed.3c
+cfsetospeed.3c				:= LINKSRC = cfsetispeed.3c
 
-clock_getres.3c				:= SOSRC = man3c/clock_settime.3c
-clock_gettime.3c			:= SOSRC = man3c/clock_settime.3c
+clock_getres.3c				:= LINKSRC = clock_settime.3c
+clock_gettime.3c			:= LINKSRC = clock_settime.3c
 
-fdwalk.3c				:= SOSRC = man3c/closefrom.3c
+fdwalk.3c				:= LINKSRC = closefrom.3c
 
-cond_broadcast.3c			:= SOSRC = man3c/cond_init.3c
-cond_destroy.3c				:= SOSRC = man3c/cond_init.3c
-cond_reltimedwait.3c			:= SOSRC = man3c/cond_init.3c
-cond_signal.3c				:= SOSRC = man3c/cond_init.3c
-cond_timedwait.3c			:= SOSRC = man3c/cond_init.3c
-cond_wait.3c				:= SOSRC = man3c/cond_init.3c
+cond_broadcast.3c			:= LINKSRC = cond_init.3c
+cond_destroy.3c				:= LINKSRC = cond_init.3c
+cond_reltimedwait.3c			:= LINKSRC = cond_init.3c
+cond_signal.3c				:= LINKSRC = cond_init.3c
+cond_timedwait.3c			:= LINKSRC = cond_init.3c
+cond_wait.3c				:= LINKSRC = cond_init.3c
 
-csetcol.3c				:= SOSRC = man3c/cset.3c
-csetlen.3c				:= SOSRC = man3c/cset.3c
-csetno.3c				:= SOSRC = man3c/cset.3c
-wcsetno.3c				:= SOSRC = man3c/cset.3c
+csetcol.3c				:= LINKSRC = cset.3c
+csetlen.3c				:= LINKSRC = cset.3c
+csetno.3c				:= LINKSRC = cset.3c
+wcsetno.3c				:= LINKSRC = cset.3c
 
-ctermid_r.3c				:= SOSRC = man3c/ctermid.3c
+ctermid_r.3c				:= LINKSRC = ctermid.3c
 
-asctime.3c				:= SOSRC = man3c/ctime.3c
-asctime_r.3c				:= SOSRC = man3c/ctime.3c
-ctime_r.3c				:= SOSRC = man3c/ctime.3c
-gmtime.3c				:= SOSRC = man3c/ctime.3c
-gmtime_r.3c				:= SOSRC = man3c/ctime.3c
-localtime.3c				:= SOSRC = man3c/ctime.3c
-localtime_r.3c				:= SOSRC = man3c/ctime.3c
-tzset.3c				:= SOSRC = man3c/ctime.3c
+asctime.3c				:= LINKSRC = ctime.3c
+asctime_r.3c				:= LINKSRC = ctime.3c
+ctime_r.3c				:= LINKSRC = ctime.3c
+gmtime.3c				:= LINKSRC = ctime.3c
+gmtime_r.3c				:= LINKSRC = ctime.3c
+localtime.3c				:= LINKSRC = ctime.3c
+localtime_r.3c				:= LINKSRC = ctime.3c
+tzset.3c				:= LINKSRC = ctime.3c
 
-isalnum.3c				:= SOSRC = man3c/ctype.3c
-isalpha.3c				:= SOSRC = man3c/ctype.3c
-isascii.3c				:= SOSRC = man3c/ctype.3c
-isblank.3c				:= SOSRC = man3c/ctype.3c
-iscntrl.3c				:= SOSRC = man3c/ctype.3c
-isdigit.3c				:= SOSRC = man3c/ctype.3c
-isgraph.3c				:= SOSRC = man3c/ctype.3c
-islower.3c				:= SOSRC = man3c/ctype.3c
-isprint.3c				:= SOSRC = man3c/ctype.3c
-ispunct.3c				:= SOSRC = man3c/ctype.3c
-isspace.3c				:= SOSRC = man3c/ctype.3c
-isupper.3c				:= SOSRC = man3c/ctype.3c
-isxdigit.3c				:= SOSRC = man3c/ctype.3c
+isalnum.3c				:= LINKSRC = ctype.3c
+isalpha.3c				:= LINKSRC = ctype.3c
+isascii.3c				:= LINKSRC = ctype.3c
+isblank.3c				:= LINKSRC = ctype.3c
+iscntrl.3c				:= LINKSRC = ctype.3c
+isdigit.3c				:= LINKSRC = ctype.3c
+isgraph.3c				:= LINKSRC = ctype.3c
+islower.3c				:= LINKSRC = ctype.3c
+isprint.3c				:= LINKSRC = ctype.3c
+ispunct.3c				:= LINKSRC = ctype.3c
+isspace.3c				:= LINKSRC = ctype.3c
+isupper.3c				:= LINKSRC = ctype.3c
+isxdigit.3c				:= LINKSRC = ctype.3c
 
-decimal_to_double.3c			:= SOSRC = man3c/decimal_to_floating.3c
-decimal_to_extended.3c			:= SOSRC = man3c/decimal_to_floating.3c
-decimal_to_quadruple.3c			:= SOSRC = man3c/decimal_to_floating.3c
-decimal_to_single.3c			:= SOSRC = man3c/decimal_to_floating.3c
+decimal_to_double.3c			:= LINKSRC = decimal_to_floating.3c
+decimal_to_extended.3c			:= LINKSRC = decimal_to_floating.3c
+decimal_to_quadruple.3c			:= LINKSRC = decimal_to_floating.3c
+decimal_to_single.3c			:= LINKSRC = decimal_to_floating.3c
+
+ldiv.3c					:= LINKSRC = div.3c
+lldiv.3c				:= LINKSRC = div.3c
 
-ldiv.3c					:= SOSRC = man3c/div.3c
-lldiv.3c				:= SOSRC = man3c/div.3c
+dladdr1.3c				:= LINKSRC = dladdr.3c
 
-dladdr1.3c				:= SOSRC = man3c/dladdr.3c
+dlmopen.3c				:= LINKSRC = dlopen.3c
 
-dlmopen.3c				:= SOSRC = man3c/dlopen.3c
+door_unbind.3c				:= LINKSRC = door_bind.3c
 
-door_unbind.3c				:= SOSRC = man3c/door_bind.3c
-
-door_setparam.3c			:= SOSRC = man3c/door_getparam.3c
+door_setparam.3c			:= LINKSRC = door_getparam.3c
 
-erand48.3c				:= SOSRC = man3c/drand48.3c
-jrand48.3c				:= SOSRC = man3c/drand48.3c
-lcong48.3c				:= SOSRC = man3c/drand48.3c
-lrand48.3c				:= SOSRC = man3c/drand48.3c
-mrand48.3c				:= SOSRC = man3c/drand48.3c
-nrand48.3c				:= SOSRC = man3c/drand48.3c
-seed48.3c				:= SOSRC = man3c/drand48.3c
-srand48.3c				:= SOSRC = man3c/drand48.3c
+erand48.3c				:= LINKSRC = drand48.3c
+jrand48.3c				:= LINKSRC = drand48.3c
+lcong48.3c				:= LINKSRC = drand48.3c
+lrand48.3c				:= LINKSRC = drand48.3c
+mrand48.3c				:= LINKSRC = drand48.3c
+nrand48.3c				:= LINKSRC = drand48.3c
+seed48.3c				:= LINKSRC = drand48.3c
+srand48.3c				:= LINKSRC = drand48.3c
+
+dup3.3c					:= LINKSRC = dup2.3c
 
-fconvert.3c				:= SOSRC = man3c/econvert.3c
-gconvert.3c				:= SOSRC = man3c/econvert.3c
-qeconvert.3c				:= SOSRC = man3c/econvert.3c
-qfconvert.3c				:= SOSRC = man3c/econvert.3c
-qgconvert.3c				:= SOSRC = man3c/econvert.3c
-seconvert.3c				:= SOSRC = man3c/econvert.3c
-sfconvert.3c				:= SOSRC = man3c/econvert.3c
-sgconvert.3c				:= SOSRC = man3c/econvert.3c
+fconvert.3c				:= LINKSRC = econvert.3c
+gconvert.3c				:= LINKSRC = econvert.3c
+qeconvert.3c				:= LINKSRC = econvert.3c
+qfconvert.3c				:= LINKSRC = econvert.3c
+qgconvert.3c				:= LINKSRC = econvert.3c
+seconvert.3c				:= LINKSRC = econvert.3c
+sfconvert.3c				:= LINKSRC = econvert.3c
+sgconvert.3c				:= LINKSRC = econvert.3c
 
-fcvt.3c					:= SOSRC = man3c/ecvt.3c
-gcvt.3c					:= SOSRC = man3c/ecvt.3c
+fcvt.3c					:= LINKSRC = ecvt.3c
+gcvt.3c					:= LINKSRC = ecvt.3c
 
-_edata.3c				:= SOSRC = man3c/end.3c
-_end.3c					:= SOSRC = man3c/end.3c
-_etext.3c				:= SOSRC = man3c/end.3c
-edata.3c				:= SOSRC = man3c/end.3c
-etext.3c				:= SOSRC = man3c/end.3c
+_edata.3c				:= LINKSRC = end.3c
+_end.3c					:= LINKSRC = end.3c
+_etext.3c				:= LINKSRC = end.3c
+edata.3c				:= LINKSRC = end.3c
+etext.3c				:= LINKSRC = end.3c
 
-errx.3c					:= SOSRC = man3c/err.3c
-verr.3c					:= SOSRC = man3c/err.3c
-verrx.3c				:= SOSRC = man3c/err.3c
-vwarn.3c				:= SOSRC = man3c/err.3c
-vwarnx.3c				:= SOSRC = man3c/err.3c
-warn.3c					:= SOSRC = man3c/err.3c
-warnx.3c				:= SOSRC = man3c/err.3c
+errx.3c					:= LINKSRC = err.3c
+verr.3c					:= LINKSRC = err.3c
+verrx.3c				:= LINKSRC = err.3c
+vwarn.3c				:= LINKSRC = err.3c
+vwarnx.3c				:= LINKSRC = err.3c
+warn.3c					:= LINKSRC = err.3c
+warnx.3c				:= LINKSRC = err.3c
 
-euccol.3c				:= SOSRC = man3c/euclen.3c
-eucscol.3c				:= SOSRC = man3c/euclen.3c
+euccol.3c				:= LINKSRC = euclen.3c
+eucscol.3c				:= LINKSRC = euclen.3c
 
-_exithandle.3c				:= SOSRC = man3c/exit.3c
+_exithandle.3c				:= LINKSRC = exit.3c
 
-clearerr.3c				:= SOSRC = man3c/ferror.3c
-feof.3c					:= SOSRC = man3c/ferror.3c
-fileno.3c				:= SOSRC = man3c/ferror.3c
+clearerr.3c				:= LINKSRC = ferror.3c
+feof.3c					:= LINKSRC = ferror.3c
+fileno.3c				:= LINKSRC = ferror.3c
 
-fsetattr.3c				:= SOSRC = man3c/fgetattr.3c
-getattrat.3c				:= SOSRC = man3c/fgetattr.3c
-setattrat.3c				:= SOSRC = man3c/fgetattr.3c
+fsetattr.3c				:= LINKSRC = fgetattr.3c
+getattrat.3c				:= LINKSRC = fgetattr.3c
+setattrat.3c				:= LINKSRC = fgetattr.3c
 
-getc.3c					:= SOSRC = man3c/fgetc.3c
-getc_unlocked.3c			:= SOSRC = man3c/fgetc.3c
-getchar.3c				:= SOSRC = man3c/fgetc.3c
-getchar_unlocked.3c			:= SOSRC = man3c/fgetc.3c
-getw.3c					:= SOSRC = man3c/fgetc.3c
+getc.3c					:= LINKSRC = fgetc.3c
+getc_unlocked.3c			:= LINKSRC = fgetc.3c
+getchar.3c				:= LINKSRC = fgetc.3c
+getchar_unlocked.3c			:= LINKSRC = fgetc.3c
+getw.3c					:= LINKSRC = fgetc.3c
 
-double_to_decimal.3c			:= SOSRC = man3c/floating_to_decimal.3c
-extended_to_decimal.3c			:= SOSRC = man3c/floating_to_decimal.3c
-quadruple_to_decimal.3c			:= SOSRC = man3c/floating_to_decimal.3c
-single_to_decimal.3c			:= SOSRC = man3c/floating_to_decimal.3c
+double_to_decimal.3c			:= LINKSRC = floating_to_decimal.3c
+extended_to_decimal.3c			:= LINKSRC = floating_to_decimal.3c
+quadruple_to_decimal.3c			:= LINKSRC = floating_to_decimal.3c
+single_to_decimal.3c			:= LINKSRC = floating_to_decimal.3c
 
-ftrylockfile.3c				:= SOSRC = man3c/flockfile.3c
-funlockfile.3c				:= SOSRC = man3c/flockfile.3c
+ftrylockfile.3c				:= LINKSRC = flockfile.3c
+funlockfile.3c				:= LINKSRC = flockfile.3c
 
-fpgetmask.3c				:= SOSRC = man3c/fpgetround.3c
-fpgetsticky.3c				:= SOSRC = man3c/fpgetround.3c
-fpsetmask.3c				:= SOSRC = man3c/fpgetround.3c
-fpsetround.3c				:= SOSRC = man3c/fpgetround.3c
-fpsetsticky.3c				:= SOSRC = man3c/fpgetround.3c
+fpgetmask.3c				:= LINKSRC = fpgetround.3c
+fpgetsticky.3c				:= LINKSRC = fpgetround.3c
+fpsetmask.3c				:= LINKSRC = fpgetround.3c
+fpsetround.3c				:= LINKSRC = fpgetround.3c
+fpsetsticky.3c				:= LINKSRC = fpgetround.3c
 
-putc.3c					:= SOSRC = man3c/fputc.3c
-putc_unlocked.3c			:= SOSRC = man3c/fputc.3c
-putchar.3c				:= SOSRC = man3c/fputc.3c
-putchar_unlocked.3c			:= SOSRC = man3c/fputc.3c
-putw.3c					:= SOSRC = man3c/fputc.3c
+putc.3c					:= LINKSRC = fputc.3c
+putc_unlocked.3c			:= LINKSRC = fputc.3c
+putchar.3c				:= LINKSRC = fputc.3c
+putchar_unlocked.3c			:= LINKSRC = fputc.3c
+putw.3c					:= LINKSRC = fputc.3c
 
-putwc.3c				:= SOSRC = man3c/fputwc.3c
-putwchar.3c				:= SOSRC = man3c/fputwc.3c
+putwc.3c				:= LINKSRC = fputwc.3c
+putwchar.3c				:= LINKSRC = fputwc.3c
 
-fseeko.3c				:= SOSRC = man3c/fseek.3c
+fseeko.3c				:= LINKSRC = fseek.3c
 
-ftello.3c				:= SOSRC = man3c/ftell.3c
+ftello.3c				:= LINKSRC = ftell.3c
 
-nftw.3c					:= SOSRC = man3c/ftw.3c
+nftw.3c					:= LINKSRC = ftw.3c
 
-swprintf.3c				:= SOSRC = man3c/fwprintf.3c
-wprintf.3c				:= SOSRC = man3c/fwprintf.3c
+swprintf.3c				:= LINKSRC = fwprintf.3c
+wprintf.3c				:= LINKSRC = fwprintf.3c
 
-swscanf.3c				:= SOSRC = man3c/fwscanf.3c
-vfwscanf.3c				:= SOSRC = man3c/fwscanf.3c
-vswscanf.3c				:= SOSRC = man3c/fwscanf.3c
-vwscanf.3c				:= SOSRC = man3c/fwscanf.3c
-wscanf.3c				:= SOSRC = man3c/fwscanf.3c
+swscanf.3c				:= LINKSRC = fwscanf.3c
+vfwscanf.3c				:= LINKSRC = fwscanf.3c
+vswscanf.3c				:= LINKSRC = fwscanf.3c
+vwscanf.3c				:= LINKSRC = fwscanf.3c
+wscanf.3c				:= LINKSRC = fwscanf.3c
 
-gethomelgroup.3c			:= SOSRC = man3c/getcpuid.3c
+gethomelgroup.3c			:= LINKSRC = getcpuid.3c
 
-endgrent.3c				:= SOSRC = man3c/getgrnam.3c
-fgetgrent.3c				:= SOSRC = man3c/getgrnam.3c
-fgetgrent_r.3c				:= SOSRC = man3c/getgrnam.3c
-getgrent.3c				:= SOSRC = man3c/getgrnam.3c
-getgrent_r.3c				:= SOSRC = man3c/getgrnam.3c
-getgrgid.3c				:= SOSRC = man3c/getgrnam.3c
-getgrgid_r.3c				:= SOSRC = man3c/getgrnam.3c
-getgrnam_r.3c				:= SOSRC = man3c/getgrnam.3c
-setgrent.3c				:= SOSRC = man3c/getgrnam.3c
+endgrent.3c				:= LINKSRC = getgrnam.3c
+fgetgrent.3c				:= LINKSRC = getgrnam.3c
+fgetgrent_r.3c				:= LINKSRC = getgrnam.3c
+getgrent.3c				:= LINKSRC = getgrnam.3c
+getgrent_r.3c				:= LINKSRC = getgrnam.3c
+getgrgid.3c				:= LINKSRC = getgrnam.3c
+getgrgid_r.3c				:= LINKSRC = getgrnam.3c
+getgrnam_r.3c				:= LINKSRC = getgrnam.3c
+setgrent.3c				:= LINKSRC = getgrnam.3c
 
-sethostname.3c				:= SOSRC = man3c/gethostname.3c
+sethostname.3c				:= LINKSRC = gethostname.3c
 
-gethrvtime.3c				:= SOSRC = man3c/gethrtime.3c
+gethrvtime.3c				:= LINKSRC = gethrtime.3c
 
-getdelim.3c				:= SOSRC = man3c/getline.3c
+getdelim.3c				:= LINKSRC = getline.3c
 
-getlogin_r.3c				:= SOSRC = man3c/getlogin.3c
+getlogin_r.3c				:= LINKSRC = getlogin.3c
 
-getextmntent.3c				:= SOSRC = man3c/getmntent.3c
-getmntany.3c				:= SOSRC = man3c/getmntent.3c
-hasmntopt.3c				:= SOSRC = man3c/getmntent.3c
-putmntent.3c				:= SOSRC = man3c/getmntent.3c
-resetmnttab.3c				:= SOSRC = man3c/getmntent.3c
+getextmntent.3c				:= LINKSRC = getmntent.3c
+getmntany.3c				:= LINKSRC = getmntent.3c
+hasmntopt.3c				:= LINKSRC = getmntent.3c
+putmntent.3c				:= LINKSRC = getmntent.3c
+resetmnttab.3c				:= LINKSRC = getmntent.3c
 
-endnetgrent.3c				:= SOSRC = man3c/getnetgrent.3c
-getnetgrent_r.3c			:= SOSRC = man3c/getnetgrent.3c
-innetgr.3c				:= SOSRC = man3c/getnetgrent.3c
-setnetgrent.3c				:= SOSRC = man3c/getnetgrent.3c
+endnetgrent.3c				:= LINKSRC = getnetgrent.3c
+getnetgrent_r.3c			:= LINKSRC = getnetgrent.3c
+innetgr.3c				:= LINKSRC = getnetgrent.3c
+setnetgrent.3c				:= LINKSRC = getnetgrent.3c
 
-getpassphrase.3c			:= SOSRC = man3c/getpass.3c
+getpassphrase.3c			:= LINKSRC = getpass.3c
 
-setpriority.3c				:= SOSRC = man3c/getpriority.3c
+setpriority.3c				:= LINKSRC = getpriority.3c
 
-endpwent.3c				:= SOSRC = man3c/getpwnam.3c
-fgetpwent.3c				:= SOSRC = man3c/getpwnam.3c
-fgetpwent_r.3c				:= SOSRC = man3c/getpwnam.3c
-getpwent.3c				:= SOSRC = man3c/getpwnam.3c
-getpwent_r.3c				:= SOSRC = man3c/getpwnam.3c
-getpwnam_r.3c				:= SOSRC = man3c/getpwnam.3c
-getpwuid.3c				:= SOSRC = man3c/getpwnam.3c
-getpwuid_r.3c				:= SOSRC = man3c/getpwnam.3c
-setpwent.3c				:= SOSRC = man3c/getpwnam.3c
+endpwent.3c				:= LINKSRC = getpwnam.3c
+fgetpwent.3c				:= LINKSRC = getpwnam.3c
+fgetpwent_r.3c				:= LINKSRC = getpwnam.3c
+getpwent.3c				:= LINKSRC = getpwnam.3c
+getpwent_r.3c				:= LINKSRC = getpwnam.3c
+getpwnam_r.3c				:= LINKSRC = getpwnam.3c
+getpwuid.3c				:= LINKSRC = getpwnam.3c
+getpwuid_r.3c				:= LINKSRC = getpwnam.3c
+setpwent.3c				:= LINKSRC = getpwnam.3c
 
-fgets.3c				:= SOSRC = man3c/gets.3c
+fgets.3c				:= LINKSRC = gets.3c
 
-endspent.3c				:= SOSRC = man3c/getspnam.3c
-fgetspent.3c				:= SOSRC = man3c/getspnam.3c
-fgetspent_r.3c				:= SOSRC = man3c/getspnam.3c
-getspent.3c				:= SOSRC = man3c/getspnam.3c
-getspent_r.3c				:= SOSRC = man3c/getspnam.3c
-getspnam_r.3c				:= SOSRC = man3c/getspnam.3c
-setspent.3c				:= SOSRC = man3c/getspnam.3c
+endspent.3c				:= LINKSRC = getspnam.3c
+fgetspent.3c				:= LINKSRC = getspnam.3c
+fgetspent_r.3c				:= LINKSRC = getspnam.3c
+getspent.3c				:= LINKSRC = getspnam.3c
+getspent_r.3c				:= LINKSRC = getspnam.3c
+getspnam_r.3c				:= LINKSRC = getspnam.3c
+setspent.3c				:= LINKSRC = getspnam.3c
 
-bind_textdomain_codeset.3c		:= SOSRC = man3c/gettext.3c
-bindtextdomain.3c			:= SOSRC = man3c/gettext.3c
-dcgettext.3c				:= SOSRC = man3c/gettext.3c
-dcngettext.3c				:= SOSRC = man3c/gettext.3c
-dgettext.3c				:= SOSRC = man3c/gettext.3c
-dngettext.3c				:= SOSRC = man3c/gettext.3c
-ngettext.3c				:= SOSRC = man3c/gettext.3c
-textdomain.3c				:= SOSRC = man3c/gettext.3c
+bind_textdomain_codeset.3c		:= LINKSRC = gettext.3c
+bindtextdomain.3c			:= LINKSRC = gettext.3c
+dcgettext.3c				:= LINKSRC = gettext.3c
+dcngettext.3c				:= LINKSRC = gettext.3c
+dgettext.3c				:= LINKSRC = gettext.3c
+dngettext.3c				:= LINKSRC = gettext.3c
+ngettext.3c				:= LINKSRC = gettext.3c
+textdomain.3c				:= LINKSRC = gettext.3c
 
-settimeofday.3c				:= SOSRC = man3c/gettimeofday.3c
+settimeofday.3c				:= LINKSRC = gettimeofday.3c
 
-endusershell.3c				:= SOSRC = man3c/getusershell.3c
-setusershell.3c				:= SOSRC = man3c/getusershell.3c
+endusershell.3c				:= LINKSRC = getusershell.3c
+setusershell.3c				:= LINKSRC = getusershell.3c
 
-endutent.3c				:= SOSRC = man3c/getutent.3c
-getutid.3c				:= SOSRC = man3c/getutent.3c
-getutline.3c				:= SOSRC = man3c/getutent.3c
-pututline.3c				:= SOSRC = man3c/getutent.3c
-setutent.3c				:= SOSRC = man3c/getutent.3c
-utmpname.3c				:= SOSRC = man3c/getutent.3c
+endutent.3c				:= LINKSRC = getutent.3c
+getutid.3c				:= LINKSRC = getutent.3c
+getutline.3c				:= LINKSRC = getutent.3c
+pututline.3c				:= LINKSRC = getutent.3c
+setutent.3c				:= LINKSRC = getutent.3c
+utmpname.3c				:= LINKSRC = getutent.3c
 
-endutxent.3c				:= SOSRC = man3c/getutxent.3c
-getutmp.3c				:= SOSRC = man3c/getutxent.3c
-getutmpx.3c				:= SOSRC = man3c/getutxent.3c
-getutxid.3c				:= SOSRC = man3c/getutxent.3c
-getutxline.3c				:= SOSRC = man3c/getutxent.3c
-pututxline.3c				:= SOSRC = man3c/getutxent.3c
-setutxent.3c				:= SOSRC = man3c/getutxent.3c
-updwtmp.3c				:= SOSRC = man3c/getutxent.3c
-updwtmpx.3c				:= SOSRC = man3c/getutxent.3c
-utmpxname.3c				:= SOSRC = man3c/getutxent.3c
+endutxent.3c				:= LINKSRC = getutxent.3c
+getutmp.3c				:= LINKSRC = getutxent.3c
+getutmpx.3c				:= LINKSRC = getutxent.3c
+getutxid.3c				:= LINKSRC = getutxent.3c
+getutxline.3c				:= LINKSRC = getutxent.3c
+pututxline.3c				:= LINKSRC = getutxent.3c
+setutxent.3c				:= LINKSRC = getutxent.3c
+updwtmp.3c				:= LINKSRC = getutxent.3c
+updwtmpx.3c				:= LINKSRC = getutxent.3c
+utmpxname.3c				:= LINKSRC = getutxent.3c
 
-getvfsany.3c				:= SOSRC = man3c/getvfsent.3c
-getvfsfile.3c				:= SOSRC = man3c/getvfsent.3c
-getvfsspec.3c				:= SOSRC = man3c/getvfsent.3c
+getvfsany.3c				:= LINKSRC = getvfsent.3c
+getvfsfile.3c				:= LINKSRC = getvfsent.3c
+getvfsspec.3c				:= LINKSRC = getvfsent.3c
 
-fgetws.3c				:= SOSRC = man3c/getws.3c
+fgetws.3c				:= LINKSRC = getws.3c
 
-getzoneidbyname.3c			:= SOSRC = man3c/getzoneid.3c
-getzonenamebyid.3c			:= SOSRC = man3c/getzoneid.3c
+getzoneidbyname.3c			:= LINKSRC = getzoneid.3c
+getzonenamebyid.3c			:= LINKSRC = getzoneid.3c
 
-globfree.3c				:= SOSRC = man3c/glob.3c
+globfree.3c				:= LINKSRC = glob.3c
 
-hcreate.3c				:= SOSRC = man3c/hsearch.3c
-hdestroy.3c				:= SOSRC = man3c/hsearch.3c
+hcreate.3c				:= LINKSRC = hsearch.3c
+hdestroy.3c				:= LINKSRC = hsearch.3c
 
-rindex.3c				:= SOSRC = man3c/index.3c
+rindex.3c				:= LINKSRC = index.3c
 
-remque.3c				:= SOSRC = man3c/insque.3c
+remque.3c				:= LINKSRC = insque.3c
 
-finite.3c				:= SOSRC = man3c/isnand.3c
-fpclass.3c				:= SOSRC = man3c/isnand.3c
-isnanf.3c				:= SOSRC = man3c/isnand.3c
-unordered.3c				:= SOSRC = man3c/isnand.3c
+finite.3c				:= LINKSRC = isnand.3c
+fpclass.3c				:= LINKSRC = isnand.3c
+isnanf.3c				:= LINKSRC = isnand.3c
+unordered.3c				:= LINKSRC = isnand.3c
 
-isenglish.3c				:= SOSRC = man3c/iswalpha.3c
-isideogram.3c				:= SOSRC = man3c/iswalpha.3c
-isnumber.3c				:= SOSRC = man3c/iswalpha.3c
-isphonogram.3c				:= SOSRC = man3c/iswalpha.3c
-isspecial.3c				:= SOSRC = man3c/iswalpha.3c
-iswalnum.3c				:= SOSRC = man3c/iswalpha.3c
-iswascii.3c				:= SOSRC = man3c/iswalpha.3c
-iswblank.3c				:= SOSRC = man3c/iswalpha.3c
-iswcntrl.3c				:= SOSRC = man3c/iswalpha.3c
-iswdigit.3c				:= SOSRC = man3c/iswalpha.3c
-iswgraph.3c				:= SOSRC = man3c/iswalpha.3c
-iswlower.3c				:= SOSRC = man3c/iswalpha.3c
-iswprint.3c				:= SOSRC = man3c/iswalpha.3c
-iswpunct.3c				:= SOSRC = man3c/iswalpha.3c
-iswspace.3c				:= SOSRC = man3c/iswalpha.3c
-iswupper.3c				:= SOSRC = man3c/iswalpha.3c
-iswxdigit.3c				:= SOSRC = man3c/iswalpha.3c
+isenglish.3c				:= LINKSRC = iswalpha.3c
+isideogram.3c				:= LINKSRC = iswalpha.3c
+isnumber.3c				:= LINKSRC = iswalpha.3c
+isphonogram.3c				:= LINKSRC = iswalpha.3c
+isspecial.3c				:= LINKSRC = iswalpha.3c
+iswalnum.3c				:= LINKSRC = iswalpha.3c
+iswascii.3c				:= LINKSRC = iswalpha.3c
+iswblank.3c				:= LINKSRC = iswalpha.3c
+iswcntrl.3c				:= LINKSRC = iswalpha.3c
+iswdigit.3c				:= LINKSRC = iswalpha.3c
+iswgraph.3c				:= LINKSRC = iswalpha.3c
+iswlower.3c				:= LINKSRC = iswalpha.3c
+iswprint.3c				:= LINKSRC = iswalpha.3c
+iswpunct.3c				:= LINKSRC = iswalpha.3c
+iswspace.3c				:= LINKSRC = iswalpha.3c
+iswupper.3c				:= LINKSRC = iswalpha.3c
+iswxdigit.3c				:= LINKSRC = iswalpha.3c
 
-ulckpwdf.3c				:= SOSRC = man3c/lckpwdf.3c
+ulckpwdf.3c				:= LINKSRC = lckpwdf.3c
 
-lfind.3c				:= SOSRC = man3c/lsearch.3c
+lfind.3c				:= LINKSRC = lsearch.3c
 
-swapcontext.3c				:= SOSRC = man3c/makecontext.3c
+swapcontext.3c				:= LINKSRC = makecontext.3c
 
-major.3c				:= SOSRC = man3c/makedev.3c
-minor.3c				:= SOSRC = man3c/makedev.3c
+major.3c				:= LINKSRC = makedev.3c
+minor.3c				:= LINKSRC = makedev.3c
 
-alloca.3c				:= SOSRC = man3c/malloc.3c
-calloc.3c				:= SOSRC = man3c/malloc.3c
-free.3c					:= SOSRC = man3c/malloc.3c
-memalign.3c				:= SOSRC = man3c/malloc.3c
-realloc.3c				:= SOSRC = man3c/malloc.3c
-valloc.3c				:= SOSRC = man3c/malloc.3c
+alloca.3c				:= LINKSRC = malloc.3c
+calloc.3c				:= LINKSRC = malloc.3c
+free.3c					:= LINKSRC = malloc.3c
+memalign.3c				:= LINKSRC = malloc.3c
+realloc.3c				:= LINKSRC = malloc.3c
+valloc.3c				:= LINKSRC = malloc.3c
 
-membar_consumer.3c			:= SOSRC = man3c/membar_ops.3c
-membar_enter.3c				:= SOSRC = man3c/membar_ops.3c
-membar_exit.3c				:= SOSRC = man3c/membar_ops.3c
-membar_producer.3c			:= SOSRC = man3c/membar_ops.3c
+membar_consumer.3c			:= LINKSRC = membar_ops.3c
+membar_enter.3c				:= LINKSRC = membar_ops.3c
+membar_exit.3c				:= LINKSRC = membar_ops.3c
+membar_producer.3c			:= LINKSRC = membar_ops.3c
 
-memccpy.3c				:= SOSRC = man3c/memory.3c
-memchr.3c				:= SOSRC = man3c/memory.3c
-memcmp.3c				:= SOSRC = man3c/memory.3c
-memcpy.3c				:= SOSRC = man3c/memory.3c
-memmove.3c				:= SOSRC = man3c/memory.3c
-memset.3c				:= SOSRC = man3c/memory.3c
+memccpy.3c				:= LINKSRC = memory.3c
+memchr.3c				:= LINKSRC = memory.3c
+memcmp.3c				:= LINKSRC = memory.3c
+memcpy.3c				:= LINKSRC = memory.3c
+memmove.3c				:= LINKSRC = memory.3c
+memset.3c				:= LINKSRC = memory.3c
 
-mkdtemp.3c				:= SOSRC = man3c/mkstemp.3c
-mkstemps.3c				:= SOSRC = man3c/mkstemp.3c
-mkostemp.3c				:= SOSRC = man3c/mkstemp.3c
-mkostemps.3c				:= SOSRC = man3c/mkstemp.3c
+mkdtemp.3c				:= LINKSRC = mkstemp.3c
+mkostemp.3c				:= LINKSRC = mkstemp.3c
+mkostemps.3c				:= LINKSRC = mkstemp.3c
+mkstemps.3c				:= LINKSRC = mkstemp.3c
 
-munlock.3c				:= SOSRC = man3c/mlock.3c
+munlock.3c				:= LINKSRC = mlock.3c
 
-munlockall.3c				:= SOSRC = man3c/mlockall.3c
+munlockall.3c				:= LINKSRC = mlockall.3c
 
-mq_reltimedreceive_np.3c		:= SOSRC = man3c/mq_receive.3c
-mq_timedreceive.3c			:= SOSRC = man3c/mq_receive.3c
+mq_reltimedreceive_np.3c		:= LINKSRC = mq_receive.3c
+mq_timedreceive.3c			:= LINKSRC = mq_receive.3c
 
-mq_reltimedsend_np.3c			:= SOSRC = man3c/mq_send.3c
-mq_timedsend.3c				:= SOSRC = man3c/mq_send.3c
+mq_reltimedsend_np.3c			:= LINKSRC = mq_send.3c
+mq_timedsend.3c				:= LINKSRC = mq_send.3c
 
-mutex_consistent.3c			:= SOSRC = man3c/mutex_init.3c
-mutex_destroy.3c			:= SOSRC = man3c/mutex_init.3c
-mutex_lock.3c				:= SOSRC = man3c/mutex_init.3c
-mutex_trylock.3c			:= SOSRC = man3c/mutex_init.3c
-mutex_unlock.3c				:= SOSRC = man3c/mutex_init.3c
+mutex_consistent.3c			:= LINKSRC = mutex_init.3c
+mutex_destroy.3c			:= LINKSRC = mutex_init.3c
+mutex_lock.3c				:= LINKSRC = mutex_init.3c
+mutex_trylock.3c			:= LINKSRC = mutex_init.3c
+mutex_unlock.3c				:= LINKSRC = mutex_init.3c
 
-dbm_clearerr.3c				:= SOSRC = man3c/ndbm.3c
-dbm_close.3c				:= SOSRC = man3c/ndbm.3c
-dbm_delete.3c				:= SOSRC = man3c/ndbm.3c
-dbm_error.3c				:= SOSRC = man3c/ndbm.3c
-dbm_fetch.3c				:= SOSRC = man3c/ndbm.3c
-dbm_firstkey.3c				:= SOSRC = man3c/ndbm.3c
-dbm_nextkey.3c				:= SOSRC = man3c/ndbm.3c
-dbm_open.3c				:= SOSRC = man3c/ndbm.3c
-dbm_store.3c				:= SOSRC = man3c/ndbm.3c
+dbm_clearerr.3c				:= LINKSRC = ndbm.3c
+dbm_close.3c				:= LINKSRC = ndbm.3c
+dbm_delete.3c				:= LINKSRC = ndbm.3c
+dbm_error.3c				:= LINKSRC = ndbm.3c
+dbm_fetch.3c				:= LINKSRC = ndbm.3c
+dbm_firstkey.3c				:= LINKSRC = ndbm.3c
+dbm_nextkey.3c				:= LINKSRC = ndbm.3c
+dbm_open.3c				:= LINKSRC = ndbm.3c
+dbm_store.3c				:= LINKSRC = ndbm.3c
 
-dup3.3c					:= SOSRC = man3c/dup2.3c
+fdopendir.3c				:= LINKSRC = opendir.3c
 
-fdopendir.3c				:= SOSRC = man3c/opendir.3c
+errno.3c				:= LINKSRC = perror.3c
 
-errno.3c				:= SOSRC = man3c/perror.3c
+pclose.3c				:= LINKSRC = popen.3c
 
-pclose.3c				:= SOSRC = man3c/popen.3c
+port_dissociate.3c			:= LINKSRC = port_associate.3c
 
-port_dissociate.3c			:= SOSRC = man3c/port_associate.3c
+port_getn.3c				:= LINKSRC = port_get.3c
 
-port_getn.3c				:= SOSRC = man3c/port_get.3c
+port_sendn.3c				:= LINKSRC = port_send.3c
 
-port_sendn.3c				:= SOSRC = man3c/port_send.3c
+posix_spawnp.3c				:= LINKSRC = posix_spawn.3c
 
-posix_spawnp.3c				:= SOSRC = man3c/posix_spawn.3c
+posix_spawn_file_actions_addopen.3c	:= LINKSRC = posix_spawn_file_actions_addclose.3c
+posix_spawn_file_actions_init.3c	:= LINKSRC = posix_spawn_file_actions_destroy.3c
 
-posix_spawn_file_actions_addopen.3c	:= SOSRC = man3c/posix_spawn_file_actions_addclose.3c
-posix_spawn_file_actions_init.3c	:= SOSRC = man3c/posix_spawn_file_actions_destroy.3c
+posix_spawnattr_init.3c			:= LINKSRC = posix_spawnattr_destroy.3c
 
-posix_spawnattr_init.3c			:= SOSRC = man3c/posix_spawnattr_destroy.3c
+posix_spawnattr_setflags.3c		:= LINKSRC = posix_spawnattr_getflags.3c
 
-posix_spawnattr_setflags.3c		:= SOSRC = man3c/posix_spawnattr_getflags.3c
+posix_spawnattr_setpgroup.3c		:= LINKSRC = posix_spawnattr_getpgroup.3c
 
-posix_spawnattr_setpgroup.3c		:= SOSRC = man3c/posix_spawnattr_getpgroup.3c
-
-posix_spawnattr_setschedparam.3c	:= SOSRC = man3c/posix_spawnattr_getschedparam.3c
+posix_spawnattr_setschedparam.3c	:= LINKSRC = posix_spawnattr_getschedparam.3c
 
-posix_spawnattr_setschedpolicy.3c	:= SOSRC = man3c/posix_spawnattr_getschedpolicy.3c
+posix_spawnattr_setschedpolicy.3c	:= LINKSRC = posix_spawnattr_getschedpolicy.3c
 
-posix_spawnattr_setsigdefault.3c	:= SOSRC = man3c/posix_spawnattr_getsigdefault.3c
+posix_spawnattr_setsigdefault.3c	:= LINKSRC = posix_spawnattr_getsigdefault.3c
 
-posix_spawnattr_setsigignore_np.3c	:= SOSRC = man3c/posix_spawnattr_getsigignore_np.3c
+posix_spawnattr_setsigignore_np.3c	:= LINKSRC = posix_spawnattr_getsigignore_np.3c
 
-posix_spawnattr_setsigmask.3c		:= SOSRC = man3c/posix_spawnattr_getsigmask.3c
+posix_spawnattr_setsigmask.3c		:= LINKSRC = posix_spawnattr_getsigmask.3c
 
-asprintf.3c				:= SOSRC = man3c/printf.3c
-fprintf.3c				:= SOSRC = man3c/printf.3c
-snprintf.3c				:= SOSRC = man3c/printf.3c
-sprintf.3c				:= SOSRC = man3c/printf.3c
+asprintf.3c				:= LINKSRC = printf.3c
+fprintf.3c				:= LINKSRC = printf.3c
+snprintf.3c				:= LINKSRC = printf.3c
+sprintf.3c				:= LINKSRC = printf.3c
 
-priv_allocset.3c			:= SOSRC = man3c/priv_addset.3c
-priv_basicset.3c			:= SOSRC = man3c/priv_addset.3c
-priv_copyset.3c				:= SOSRC = man3c/priv_addset.3c
-priv_delset.3c				:= SOSRC = man3c/priv_addset.3c
-priv_emptyset.3c			:= SOSRC = man3c/priv_addset.3c
-priv_fillset.3c				:= SOSRC = man3c/priv_addset.3c
-priv_freeset.3c				:= SOSRC = man3c/priv_addset.3c
-priv_intersect.3c			:= SOSRC = man3c/priv_addset.3c
-priv_inverse.3c				:= SOSRC = man3c/priv_addset.3c
-priv_isemptyset.3c			:= SOSRC = man3c/priv_addset.3c
-priv_isequalset.3c			:= SOSRC = man3c/priv_addset.3c
-priv_isfullset.3c			:= SOSRC = man3c/priv_addset.3c
-priv_ismember.3c			:= SOSRC = man3c/priv_addset.3c
-priv_issubset.3c			:= SOSRC = man3c/priv_addset.3c
-priv_union.3c				:= SOSRC = man3c/priv_addset.3c
+priv_allocset.3c			:= LINKSRC = priv_addset.3c
+priv_basicset.3c			:= LINKSRC = priv_addset.3c
+priv_copyset.3c				:= LINKSRC = priv_addset.3c
+priv_delset.3c				:= LINKSRC = priv_addset.3c
+priv_emptyset.3c			:= LINKSRC = priv_addset.3c
+priv_fillset.3c				:= LINKSRC = priv_addset.3c
+priv_freeset.3c				:= LINKSRC = priv_addset.3c
+priv_intersect.3c			:= LINKSRC = priv_addset.3c
+priv_inverse.3c				:= LINKSRC = priv_addset.3c
+priv_isemptyset.3c			:= LINKSRC = priv_addset.3c
+priv_isequalset.3c			:= LINKSRC = priv_addset.3c
+priv_isfullset.3c			:= LINKSRC = priv_addset.3c
+priv_ismember.3c			:= LINKSRC = priv_addset.3c
+priv_issubset.3c			:= LINKSRC = priv_addset.3c
+priv_union.3c				:= LINKSRC = priv_addset.3c
 
-priv_ineffect.3c			:= SOSRC = man3c/priv_set.3c
+priv_ineffect.3c			:= LINKSRC = priv_set.3c
 
-priv_getbyname.3c			:= SOSRC = man3c/priv_str_to_set.3c
-priv_getbynum.3c			:= SOSRC = man3c/priv_str_to_set.3c
-priv_getsetbyname.3c			:= SOSRC = man3c/priv_str_to_set.3c
-priv_getsetbynum.3c			:= SOSRC = man3c/priv_str_to_set.3c
-priv_gettext.3c				:= SOSRC = man3c/priv_str_to_set.3c
-priv_set_to_str.3c			:= SOSRC = man3c/priv_str_to_set.3c
+priv_getbyname.3c			:= LINKSRC = priv_str_to_set.3c
+priv_getbynum.3c			:= LINKSRC = priv_str_to_set.3c
+priv_getsetbyname.3c			:= LINKSRC = priv_str_to_set.3c
+priv_getsetbynum.3c			:= LINKSRC = priv_str_to_set.3c
+priv_gettext.3c				:= LINKSRC = priv_str_to_set.3c
+priv_set_to_str.3c			:= LINKSRC = priv_str_to_set.3c
 
-psiginfo.3c				:= SOSRC = man3c/psignal.3c
+psiginfo.3c				:= LINKSRC = psignal.3c
 
-pthread_attr_setdetachstate.3c		:= SOSRC = man3c/pthread_attr_getdetachstate.3c
+pthread_attr_setdetachstate.3c		:= LINKSRC = pthread_attr_getdetachstate.3c
 
-pthread_attr_setguardsize.3c		:= SOSRC = man3c/pthread_attr_getguardsize.3c
+pthread_attr_setguardsize.3c		:= LINKSRC = pthread_attr_getguardsize.3c
 
-pthread_attr_setinheritsched.3c		:= SOSRC = man3c/pthread_attr_getinheritsched.3c
+pthread_attr_setinheritsched.3c		:= LINKSRC = pthread_attr_getinheritsched.3c
+
+pthread_attr_setschedparam.3c		:= LINKSRC = pthread_attr_getschedparam.3c
 
-pthread_attr_setschedparam.3c		:= SOSRC = man3c/pthread_attr_getschedparam.3c
+pthread_attr_setschedpolicy.3c		:= LINKSRC = pthread_attr_getschedpolicy.3c
 
-pthread_attr_setschedpolicy.3c		:= SOSRC = man3c/pthread_attr_getschedpolicy.3c
+pthread_attr_setscope.3c		:= LINKSRC = pthread_attr_getscope.3c
+pthread_attr_setstack.3c		:= LINKSRC = pthread_attr_getstack.3c
 
-pthread_attr_setscope.3c		:= SOSRC = man3c/pthread_attr_getscope.3c
-pthread_attr_setstack.3c		:= SOSRC = man3c/pthread_attr_getstack.3c
+pthread_attr_setstackaddr.3c		:= LINKSRC = pthread_attr_getstackaddr.3c
 
-pthread_attr_setstackaddr.3c		:= SOSRC = man3c/pthread_attr_getstackaddr.3c
+pthread_attr_setstacksize.3c		:= LINKSRC = pthread_attr_getstacksize.3c
 
-pthread_attr_setstacksize.3c		:= SOSRC = man3c/pthread_attr_getstacksize.3c
+pthread_attr_destroy.3c			:= LINKSRC = pthread_attr_init.3c
 
-pthread_attr_destroy.3c			:= SOSRC = man3c/pthread_attr_init.3c
+pthread_barrier_init.3c			:= LINKSRC = pthread_barrier_destroy.3c
 
-pthread_barrier_init.3c			:= SOSRC = man3c/pthread_barrier_destroy.3c
+pthread_barrierattr_init.3c		:= LINKSRC = pthread_barrierattr_destroy.3c
 
-pthread_barrierattr_init.3c		:= SOSRC = man3c/pthread_barrierattr_destroy.3c
+pthread_barrierattr_setpshared.3c	:= LINKSRC = pthread_barrierattr_getpshared.3c
 
-pthread_barrierattr_setpshared.3c	:= SOSRC = man3c/pthread_barrierattr_getpshared.3c
+pthread_cond_destroy.3c			:= LINKSRC = pthread_cond_init.3c
 
-pthread_cond_destroy.3c			:= SOSRC = man3c/pthread_cond_init.3c
+pthread_cond_broadcast.3c		:= LINKSRC = pthread_cond_signal.3c
 
-pthread_cond_broadcast.3c		:= SOSRC = man3c/pthread_cond_signal.3c
+pthread_cond_reltimedwait_np.3c		:= LINKSRC = pthread_cond_wait.3c
+pthread_cond_timedwait.3c		:= LINKSRC = pthread_cond_wait.3c
 
-pthread_cond_reltimedwait_np.3c		:= SOSRC = man3c/pthread_cond_wait.3c
-pthread_cond_timedwait.3c		:= SOSRC = man3c/pthread_cond_wait.3c
+pthread_condattr_setclock.3c		:= LINKSRC = pthread_condattr_getclock.3c
 
-pthread_condattr_setclock.3c		:= SOSRC = man3c/pthread_condattr_getclock.3c
+pthread_condattr_setpshared.3c		:= LINKSRC = pthread_condattr_getpshared.3c
 
-pthread_condattr_setpshared.3c		:= SOSRC = man3c/pthread_condattr_getpshared.3c
+pthread_condattr_destroy.3c		:= LINKSRC = pthread_condattr_init.3c
 
-pthread_condattr_destroy.3c		:= SOSRC = man3c/pthread_condattr_init.3c
+pthread_setconcurrency.3c		:= LINKSRC = pthread_getconcurrency.3c
 
-pthread_setconcurrency.3c		:= SOSRC = man3c/pthread_getconcurrency.3c
+pthread_setschedparam.3c		:= LINKSRC = pthread_getschedparam.3c
 
-pthread_setschedparam.3c		:= SOSRC = man3c/pthread_getschedparam.3c
+pthread_setspecific.3c			:= LINKSRC = pthread_getspecific.3c
 
-pthread_setspecific.3c			:= SOSRC = man3c/pthread_getspecific.3c
+pthread_key_create_once_np.3c		:= LINKSRC = pthread_key_create.3c
 
-pthread_key_create_once_np.3c		:= SOSRC = man3c/pthread_key_create.3c
+pthread_mutex_setprioceiling.3c		:= LINKSRC = pthread_mutex_getprioceiling.3c
 
-pthread_mutex_setprioceiling.3c		:= SOSRC = man3c/pthread_mutex_getprioceiling.3c
+pthread_mutex_destroy.3c		:= LINKSRC = pthread_mutex_init.3c
 
-pthread_mutex_destroy.3c		:= SOSRC = man3c/pthread_mutex_init.3c
+pthread_mutex_trylock.3c		:= LINKSRC = pthread_mutex_lock.3c
+pthread_mutex_unlock.3c			:= LINKSRC = pthread_mutex_lock.3c
 
-pthread_mutex_trylock.3c		:= SOSRC = man3c/pthread_mutex_lock.3c
-pthread_mutex_unlock.3c			:= SOSRC = man3c/pthread_mutex_lock.3c
+pthread_mutex_reltimedlock_np.3c	:= LINKSRC = pthread_mutex_timedlock.3c
 
-pthread_mutex_reltimedlock_np.3c	:= SOSRC = man3c/pthread_mutex_timedlock.3c
+pthread_mutexattr_setprioceiling.3c	:= LINKSRC = pthread_mutexattr_getprioceiling.3c
 
-pthread_mutexattr_setprioceiling.3c	:= SOSRC = man3c/pthread_mutexattr_getprioceiling.3c
+pthread_mutexattr_setprotocol.3c	:= LINKSRC = pthread_mutexattr_getprotocol.3c
 
-pthread_mutexattr_setprotocol.3c	:= SOSRC = man3c/pthread_mutexattr_getprotocol.3c
+pthread_mutexattr_setpshared.3c		:= LINKSRC = pthread_mutexattr_getpshared.3c
 
-pthread_mutexattr_setpshared.3c		:= SOSRC = man3c/pthread_mutexattr_getpshared.3c
+pthread_mutexattr_settype.3c		:= LINKSRC = pthread_mutexattr_gettype.3c
 
-pthread_mutexattr_settype.3c		:= SOSRC = man3c/pthread_mutexattr_gettype.3c
+pthread_mutexattr_destroy.3c		:= LINKSRC = pthread_mutexattr_init.3c
 
-pthread_mutexattr_destroy.3c		:= SOSRC = man3c/pthread_mutexattr_init.3c
+pthread_rwlock_destroy.3c		:= LINKSRC = pthread_rwlock_init.3c
 
-pthread_rwlock_destroy.3c		:= SOSRC = man3c/pthread_rwlock_init.3c
+pthread_rwlock_tryrdlock.3c		:= LINKSRC = pthread_rwlock_rdlock.3c
 
-pthread_rwlock_tryrdlock.3c		:= SOSRC = man3c/pthread_rwlock_rdlock.3c
+pthread_rwlock_reltimedrdlock_np.3c	:= LINKSRC = pthread_rwlock_timedrdlock.3c
 
-pthread_rwlock_reltimedrdlock_np.3c	:= SOSRC = man3c/pthread_rwlock_timedrdlock.3c
+pthread_rwlock_reltimedwrlock_np.3c	:= LINKSRC = pthread_rwlock_timedwrlock.3c
 
-pthread_rwlock_reltimedwrlock_np.3c	:= SOSRC = man3c/pthread_rwlock_timedwrlock.3c
+pthread_rwlock_trywrlock.3c		:= LINKSRC = pthread_rwlock_wrlock.3c
 
-pthread_rwlock_trywrlock.3c		:= SOSRC = man3c/pthread_rwlock_wrlock.3c
+pthread_rwlockattr_setpshared.3c	:= LINKSRC = pthread_rwlockattr_getpshared.3c
 
-pthread_rwlockattr_setpshared.3c	:= SOSRC = man3c/pthread_rwlockattr_getpshared.3c
+pthread_rwlockattr_destroy.3c		:= LINKSRC = pthread_rwlockattr_init.3c
 
-pthread_rwlockattr_destroy.3c		:= SOSRC = man3c/pthread_rwlockattr_init.3c
+pthread_spin_init.3c			:= LINKSRC = pthread_spin_destroy.3c
 
-pthread_spin_init.3c			:= SOSRC = man3c/pthread_spin_destroy.3c
+pthread_spin_trylock.3c			:= LINKSRC = pthread_spin_lock.3c
 
-pthread_spin_trylock.3c			:= SOSRC = man3c/pthread_spin_lock.3c
-
-fputs.3c				:= SOSRC = man3c/puts.3c
+fputs.3c				:= LINKSRC = puts.3c
 
-rand_r.3c				:= SOSRC = man3c/rand.3c
-srand.3c				:= SOSRC = man3c/rand.3c
+rand_r.3c				:= LINKSRC = rand.3c
+srand.3c				:= LINKSRC = rand.3c
 
-initstate.3c				:= SOSRC = man3c/random.3c
-setstate.3c				:= SOSRC = man3c/random.3c
-srandom.3c				:= SOSRC = man3c/random.3c
+initstate.3c				:= LINKSRC = random.3c
+setstate.3c				:= LINKSRC = random.3c
+srandom.3c				:= LINKSRC = random.3c
 
-rctlblk_get_enforced_value.3c		:= SOSRC = man3c/rctlblk_set_value.3c
-rctlblk_get_firing_time.3c		:= SOSRC = man3c/rctlblk_set_value.3c
-rctlblk_get_global_action.3c		:= SOSRC = man3c/rctlblk_set_value.3c
-rctlblk_get_global_flags.3c		:= SOSRC = man3c/rctlblk_set_value.3c
-rctlblk_get_local_action.3c		:= SOSRC = man3c/rctlblk_set_value.3c
-rctlblk_get_local_flags.3c		:= SOSRC = man3c/rctlblk_set_value.3c
-rctlblk_get_privilege.3c		:= SOSRC = man3c/rctlblk_set_value.3c
-rctlblk_get_recipient_pid.3c		:= SOSRC = man3c/rctlblk_set_value.3c
-rctlblk_get_value.3c			:= SOSRC = man3c/rctlblk_set_value.3c
-rctlblk_set_local_action.3c		:= SOSRC = man3c/rctlblk_set_value.3c
-rctlblk_set_local_flags.3c		:= SOSRC = man3c/rctlblk_set_value.3c
-rctlblk_set_privilege.3c		:= SOSRC = man3c/rctlblk_set_value.3c
-rctlblk_set_recipient_pid.3c		:= SOSRC = man3c/rctlblk_set_value.3c
-rctlblk_size.3c				:= SOSRC = man3c/rctlblk_set_value.3c
+rctlblk_get_enforced_value.3c		:= LINKSRC = rctlblk_set_value.3c
+rctlblk_get_firing_time.3c		:= LINKSRC = rctlblk_set_value.3c
+rctlblk_get_global_action.3c		:= LINKSRC = rctlblk_set_value.3c
+rctlblk_get_global_flags.3c		:= LINKSRC = rctlblk_set_value.3c
+rctlblk_get_local_action.3c		:= LINKSRC = rctlblk_set_value.3c
+rctlblk_get_local_flags.3c		:= LINKSRC = rctlblk_set_value.3c
+rctlblk_get_privilege.3c		:= LINKSRC = rctlblk_set_value.3c
+rctlblk_get_recipient_pid.3c		:= LINKSRC = rctlblk_set_value.3c
+rctlblk_get_value.3c			:= LINKSRC = rctlblk_set_value.3c
+rctlblk_set_local_action.3c		:= LINKSRC = rctlblk_set_value.3c
+rctlblk_set_local_flags.3c		:= LINKSRC = rctlblk_set_value.3c
+rctlblk_set_privilege.3c		:= LINKSRC = rctlblk_set_value.3c
+rctlblk_set_recipient_pid.3c		:= LINKSRC = rctlblk_set_value.3c
+rctlblk_size.3c				:= LINKSRC = rctlblk_set_value.3c
 
-re_exec.3c				:= SOSRC = man3c/re_comp.3c
+re_exec.3c				:= LINKSRC = re_comp.3c
 
-readdir_r.3c				:= SOSRC = man3c/readdir.3c
+readdir_r.3c				:= LINKSRC = readdir.3c
 
-regex.3c				:= SOSRC = man3c/regcmp.3c
+regex.3c				:= LINKSRC = regcmp.3c
 
-regerror.3c				:= SOSRC = man3c/regcomp.3c
-regexec.3c				:= SOSRC = man3c/regcomp.3c
-regfree.3c				:= SOSRC = man3c/regcomp.3c
+regerror.3c				:= LINKSRC = regcomp.3c
+regexec.3c				:= LINKSRC = regcomp.3c
+regfree.3c				:= LINKSRC = regcomp.3c
 
-rw_rdlock.3c				:= SOSRC = man3c/rwlock.3c
-rw_tryrdlock.3c				:= SOSRC = man3c/rwlock.3c
-rw_trywrlock.3c				:= SOSRC = man3c/rwlock.3c
-rw_unlock.3c				:= SOSRC = man3c/rwlock.3c
-rw_wrlock.3c				:= SOSRC = man3c/rwlock.3c
-rwlock_destroy.3c			:= SOSRC = man3c/rwlock.3c
-rwlock_init.3c				:= SOSRC = man3c/rwlock.3c
+rw_rdlock.3c				:= LINKSRC = rwlock.3c
+rw_tryrdlock.3c				:= LINKSRC = rwlock.3c
+rw_trywrlock.3c				:= LINKSRC = rwlock.3c
+rw_unlock.3c				:= LINKSRC = rwlock.3c
+rw_wrlock.3c				:= LINKSRC = rwlock.3c
+rwlock_destroy.3c			:= LINKSRC = rwlock.3c
+rwlock_init.3c				:= LINKSRC = rwlock.3c
 
-alphasort.3c				:= SOSRC = man3c/scandir.3c
+alphasort.3c				:= LINKSRC = scandir.3c
 
-fscanf.3c				:= SOSRC = man3c/scanf.3c
-sscanf.3c				:= SOSRC = man3c/scanf.3c
-vfscanf.3c				:= SOSRC = man3c/scanf.3c
-vscanf.3c				:= SOSRC = man3c/scanf.3c
-vsscanf.3c				:= SOSRC = man3c/scanf.3c
+fscanf.3c				:= LINKSRC = scanf.3c
+sscanf.3c				:= LINKSRC = scanf.3c
+vfscanf.3c				:= LINKSRC = scanf.3c
+vscanf.3c				:= LINKSRC = scanf.3c
+vsscanf.3c				:= LINKSRC = scanf.3c
 
-sched_get_priority_min.3c		:= SOSRC = man3c/sched_get_priority_max.3c
+sched_get_priority_min.3c		:= LINKSRC = sched_get_priority_max.3c
 
-schedctl_exit.3c			:= SOSRC = man3c/schedctl_init.3c
-schedctl_lookup.3c			:= SOSRC = man3c/schedctl_init.3c
-schedctl_start.3c			:= SOSRC = man3c/schedctl_init.3c
-schedctl_stop.3c			:= SOSRC = man3c/schedctl_init.3c
+schedctl_exit.3c			:= LINKSRC = schedctl_init.3c
+schedctl_lookup.3c			:= LINKSRC = schedctl_init.3c
+schedctl_start.3c			:= LINKSRC = schedctl_init.3c
+schedctl_stop.3c			:= LINKSRC = schedctl_init.3c
 
-FD_CLR.3c				:= SOSRC = man3c/select.3c
-FD_ISSET.3c				:= SOSRC = man3c/select.3c
-FD_SET.3c				:= SOSRC = man3c/select.3c
-FD_ZERO.3c				:= SOSRC = man3c/select.3c
-pselect.3c				:= SOSRC = man3c/select.3c
+FD_CLR.3c				:= LINKSRC = select.3c
+FD_ISSET.3c				:= LINKSRC = select.3c
+FD_SET.3c				:= LINKSRC = select.3c
+FD_ZERO.3c				:= LINKSRC = select.3c
+pselect.3c				:= LINKSRC = select.3c
 
-sem_reltimedwait_np.3c			:= SOSRC = man3c/sem_timedwait.3c
+sem_reltimedwait_np.3c			:= LINKSRC = sem_timedwait.3c
 
-sem_trywait.3c				:= SOSRC = man3c/sem_wait.3c
+sem_trywait.3c				:= LINKSRC = sem_wait.3c
 
-sema_destroy.3c				:= SOSRC = man3c/semaphore.3c
-sema_init.3c				:= SOSRC = man3c/semaphore.3c
-sema_post.3c				:= SOSRC = man3c/semaphore.3c
-sema_trywait.3c				:= SOSRC = man3c/semaphore.3c
-sema_wait.3c				:= SOSRC = man3c/semaphore.3c
+sema_destroy.3c				:= LINKSRC = semaphore.3c
+sema_init.3c				:= LINKSRC = semaphore.3c
+sema_post.3c				:= LINKSRC = semaphore.3c
+sema_trywait.3c				:= LINKSRC = semaphore.3c
+sema_wait.3c				:= LINKSRC = semaphore.3c
 
-setvbuf.3c				:= SOSRC = man3c/setbuf.3c
+setvbuf.3c				:= LINKSRC = setbuf.3c
 
-setlinebuf.3c				:= SOSRC = man3c/setbuffer.3c
+setlinebuf.3c				:= LINKSRC = setbuffer.3c
 
-longjmp.3c				:= SOSRC = man3c/setjmp.3c
-siglongjmp.3c				:= SOSRC = man3c/setjmp.3c
-sigsetjmp.3c				:= SOSRC = man3c/setjmp.3c
+longjmp.3c				:= LINKSRC = setjmp.3c
+siglongjmp.3c				:= LINKSRC = setjmp.3c
+sigsetjmp.3c				:= LINKSRC = setjmp.3c
 
-sighold.3c				:= SOSRC = man3c/signal.3c
-sigignore.3c				:= SOSRC = man3c/signal.3c
-sigpause.3c				:= SOSRC = man3c/signal.3c
-sigrelse.3c				:= SOSRC = man3c/signal.3c
-sigset.3c				:= SOSRC = man3c/signal.3c
+sighold.3c				:= LINKSRC = signal.3c
+sigignore.3c				:= LINKSRC = signal.3c
+sigpause.3c				:= LINKSRC = signal.3c
+sigrelse.3c				:= LINKSRC = signal.3c
+sigset.3c				:= LINKSRC = signal.3c
 
-sigaddset.3c				:= SOSRC = man3c/sigsetops.3c
-sigdelset.3c				:= SOSRC = man3c/sigsetops.3c
-sigemptyset.3c				:= SOSRC = man3c/sigsetops.3c
-sigfillset.3c				:= SOSRC = man3c/sigsetops.3c
-sigismember.3c				:= SOSRC = man3c/sigsetops.3c
+sigaddset.3c				:= LINKSRC = sigsetops.3c
+sigdelset.3c				:= LINKSRC = sigsetops.3c
+sigemptyset.3c				:= LINKSRC = sigsetops.3c
+sigfillset.3c				:= LINKSRC = sigsetops.3c
+sigismember.3c				:= LINKSRC = sigsetops.3c
 
-sigtimedwait.3c				:= SOSRC = man3c/sigwaitinfo.3c
+sigtimedwait.3c				:= LINKSRC = sigwaitinfo.3c
 
-gsignal.3c				:= SOSRC = man3c/ssignal.3c
+gsignal.3c				:= LINKSRC = ssignal.3c
 
-stderr.3c				:= SOSRC = man3c/stdio.3c
-stdin.3c				:= SOSRC = man3c/stdio.3c
-stdout.3c				:= SOSRC = man3c/stdio.3c
+stderr.3c				:= LINKSRC = stdio.3c
+stdin.3c				:= LINKSRC = stdio.3c
+stdout.3c				:= LINKSRC = stdio.3c
 
-sig2str.3c				:= SOSRC = man3c/str2sig.3c
+sig2str.3c				:= LINKSRC = str2sig.3c
 
-strerror_r.3c				:= SOSRC = man3c/strerror.3c
+strerror_r.3c				:= LINKSRC = strerror.3c
 
-ascftime.3c				:= SOSRC = man3c/strftime.3c
-cftime.3c				:= SOSRC = man3c/strftime.3c
+ascftime.3c				:= LINKSRC = strftime.3c
+cftime.3c				:= LINKSRC = strftime.3c
 
-strcasecmp.3c				:= SOSRC = man3c/string.3c
-strcat.3c				:= SOSRC = man3c/string.3c
-strchr.3c				:= SOSRC = man3c/string.3c
-strcmp.3c				:= SOSRC = man3c/string.3c
-strcpy.3c				:= SOSRC = man3c/string.3c
-strcspn.3c				:= SOSRC = man3c/string.3c
-strdup.3c				:= SOSRC = man3c/string.3c
-strlcat.3c				:= SOSRC = man3c/string.3c
-strlcpy.3c				:= SOSRC = man3c/string.3c
-strlen.3c				:= SOSRC = man3c/string.3c
-strncasecmp.3c				:= SOSRC = man3c/string.3c
-strncat.3c				:= SOSRC = man3c/string.3c
-strncmp.3c				:= SOSRC = man3c/string.3c
-strncpy.3c				:= SOSRC = man3c/string.3c
-strnlen.3c				:= SOSRC = man3c/string.3c
-strpbrk.3c				:= SOSRC = man3c/string.3c
-strrchr.3c				:= SOSRC = man3c/string.3c
-strsep.3c				:= SOSRC = man3c/string.3c
-strspn.3c				:= SOSRC = man3c/string.3c
-strstr.3c				:= SOSRC = man3c/string.3c
-strtok.3c				:= SOSRC = man3c/string.3c
-strtok_r.3c				:= SOSRC = man3c/string.3c
+strcasecmp.3c				:= LINKSRC = string.3c
+strcat.3c				:= LINKSRC = string.3c
+strchr.3c				:= LINKSRC = string.3c
+strcmp.3c				:= LINKSRC = string.3c
+strcpy.3c				:= LINKSRC = string.3c
+strcspn.3c				:= LINKSRC = string.3c
+strdup.3c				:= LINKSRC = string.3c
+strlcat.3c				:= LINKSRC = string.3c
+strlcpy.3c				:= LINKSRC = string.3c
+strlen.3c				:= LINKSRC = string.3c
+strncasecmp.3c				:= LINKSRC = string.3c
+strncat.3c				:= LINKSRC = string.3c
+strncmp.3c				:= LINKSRC = string.3c
+strncpy.3c				:= LINKSRC = string.3c
+strnlen.3c				:= LINKSRC = string.3c
+strpbrk.3c				:= LINKSRC = string.3c
+strrchr.3c				:= LINKSRC = string.3c
+strsep.3c				:= LINKSRC = string.3c
+strspn.3c				:= LINKSRC = string.3c
+strstr.3c				:= LINKSRC = string.3c
+strtok.3c				:= LINKSRC = string.3c
+strtok_r.3c				:= LINKSRC = string.3c
 
-file_to_decimal.3c			:= SOSRC = man3c/string_to_decimal.3c
-func_to_decimal.3c			:= SOSRC = man3c/string_to_decimal.3c
+file_to_decimal.3c			:= LINKSRC = string_to_decimal.3c
+func_to_decimal.3c			:= LINKSRC = string_to_decimal.3c
 
-atof.3c					:= SOSRC = man3c/strtod.3c
-strtof.3c				:= SOSRC = man3c/strtod.3c
-strtold.3c				:= SOSRC = man3c/strtod.3c
+atof.3c					:= LINKSRC = strtod.3c
+strtof.3c				:= LINKSRC = strtod.3c
+strtold.3c				:= LINKSRC = strtod.3c
 
-strtoumax.3c				:= SOSRC = man3c/strtoimax.3c
+strtoumax.3c				:= LINKSRC = strtoimax.3c
 
-atoi.3c					:= SOSRC = man3c/strtol.3c
-atol.3c					:= SOSRC = man3c/strtol.3c
-atoll.3c				:= SOSRC = man3c/strtol.3c
-lltostr.3c				:= SOSRC = man3c/strtol.3c
-strtoll.3c				:= SOSRC = man3c/strtol.3c
-ulltostr.3c				:= SOSRC = man3c/strtol.3c
+atoi.3c					:= LINKSRC = strtol.3c
+atol.3c					:= LINKSRC = strtol.3c
+atoll.3c				:= LINKSRC = strtol.3c
+lltostr.3c				:= LINKSRC = strtol.3c
+strtoll.3c				:= LINKSRC = strtol.3c
+ulltostr.3c				:= LINKSRC = strtol.3c
 
-strtoull.3c				:= SOSRC = man3c/strtoul.3c
-wstostr.3c				:= SOSRC = man3c/strtows.3c
+strtoull.3c				:= LINKSRC = strtoul.3c
+wstostr.3c				:= LINKSRC = strtows.3c
 
-closelog.3c				:= SOSRC = man3c/syslog.3c
-openlog.3c				:= SOSRC = man3c/syslog.3c
-setlogmask.3c				:= SOSRC = man3c/syslog.3c
+closelog.3c				:= LINKSRC = syslog.3c
+openlog.3c				:= LINKSRC = syslog.3c
+setlogmask.3c				:= LINKSRC = syslog.3c
 
-thr_setconcurrency.3c			:= SOSRC = man3c/thr_getconcurrency.3c
+thr_setconcurrency.3c			:= LINKSRC = thr_getconcurrency.3c
 
-thr_setprio.3c				:= SOSRC = man3c/thr_getprio.3c
+thr_setprio.3c				:= LINKSRC = thr_getprio.3c
 
-thr_getspecific.3c			:= SOSRC = man3c/thr_keycreate.3c
-thr_keycreate_once.3c			:= SOSRC = man3c/thr_keycreate.3c
-thr_setspecific.3c			:= SOSRC = man3c/thr_keycreate.3c
+thr_getspecific.3c			:= LINKSRC = thr_keycreate.3c
+thr_keycreate_once.3c			:= LINKSRC = thr_keycreate.3c
+thr_setspecific.3c			:= LINKSRC = thr_keycreate.3c
 
-thr_continue.3c				:= SOSRC = man3c/thr_suspend.3c
+thr_continue.3c				:= LINKSRC = thr_suspend.3c
 
-timer_getoverrun.3c			:= SOSRC = man3c/timer_settime.3c
-timer_gettime.3c			:= SOSRC = man3c/timer_settime.3c
+timer_getoverrun.3c			:= LINKSRC = timer_settime.3c
+timer_gettime.3c			:= LINKSRC = timer_settime.3c
 
-timerclear.3c				:= SOSRC = man3c/timeradd.3c
-timercmp.3c				:= SOSRC = man3c/timeradd.3c
-timerisset.3c				:= SOSRC = man3c/timeradd.3c
-timersub.3c				:= SOSRC = man3c/timeradd.3c
+timerclear.3c				:= LINKSRC = timeradd.3c
+timercmp.3c				:= LINKSRC = timeradd.3c
+timerisset.3c				:= LINKSRC = timeradd.3c
+timersub.3c				:= LINKSRC = timeradd.3c
 
-tempnam.3c				:= SOSRC = man3c/tmpnam.3c
-tmpnam_r.3c				:= SOSRC = man3c/tmpnam.3c
+tempnam.3c				:= LINKSRC = tmpnam.3c
+tmpnam_r.3c				:= LINKSRC = tmpnam.3c
 
-ftruncate.3c				:= SOSRC = man3c/truncate.3c
+ftruncate.3c				:= LINKSRC = truncate.3c
 
-tdelete.3c				:= SOSRC = man3c/tsearch.3c
-tfind.3c				:= SOSRC = man3c/tsearch.3c
-twalk.3c				:= SOSRC = man3c/tsearch.3c
+tdelete.3c				:= LINKSRC = tsearch.3c
+tfind.3c				:= LINKSRC = tsearch.3c
+twalk.3c				:= LINKSRC = tsearch.3c
 
-ttyname_r.3c				:= SOSRC = man3c/ttyname.3c
+ttyname_r.3c				:= LINKSRC = ttyname.3c
 
-uconv_u16tou8.3c			:= SOSRC = man3c/uconv_u16tou32.3c
-uconv_u32tou16.3c			:= SOSRC = man3c/uconv_u16tou32.3c
-uconv_u32tou8.3c			:= SOSRC = man3c/uconv_u16tou32.3c
-uconv_u8tou16.3c			:= SOSRC = man3c/uconv_u16tou32.3c
-uconv_u8tou32.3c			:= SOSRC = man3c/uconv_u16tou32.3c
+uconv_u16tou8.3c			:= LINKSRC = uconv_u16tou32.3c
+uconv_u32tou16.3c			:= LINKSRC = uconv_u16tou32.3c
+uconv_u32tou8.3c			:= LINKSRC = uconv_u16tou32.3c
+uconv_u8tou16.3c			:= LINKSRC = uconv_u16tou32.3c
+uconv_u8tou32.3c			:= LINKSRC = uconv_u16tou32.3c
 
-ucred_free.3c				:= SOSRC = man3c/ucred_get.3c
-ucred_getegid.3c			:= SOSRC = man3c/ucred_get.3c
-ucred_geteuid.3c			:= SOSRC = man3c/ucred_get.3c
-ucred_getgroups.3c			:= SOSRC = man3c/ucred_get.3c
-ucred_getlabel.3c			:= SOSRC = man3c/ucred_get.3c
-ucred_getpflags.3c			:= SOSRC = man3c/ucred_get.3c
-ucred_getpid.3c				:= SOSRC = man3c/ucred_get.3c
-ucred_getprivset.3c			:= SOSRC = man3c/ucred_get.3c
-ucred_getprojid.3c			:= SOSRC = man3c/ucred_get.3c
-ucred_getrgid.3c			:= SOSRC = man3c/ucred_get.3c
-ucred_getruid.3c			:= SOSRC = man3c/ucred_get.3c
-ucred_getsgid.3c			:= SOSRC = man3c/ucred_get.3c
-ucred_getsuid.3c			:= SOSRC = man3c/ucred_get.3c
-ucred_getzoneid.3c			:= SOSRC = man3c/ucred_get.3c
-ucred_size.3c				:= SOSRC = man3c/ucred_get.3c
+ucred_free.3c				:= LINKSRC = ucred_get.3c
+ucred_getegid.3c			:= LINKSRC = ucred_get.3c
+ucred_geteuid.3c			:= LINKSRC = ucred_get.3c
+ucred_getgroups.3c			:= LINKSRC = ucred_get.3c
+ucred_getlabel.3c			:= LINKSRC = ucred_get.3c
+ucred_getpflags.3c			:= LINKSRC = ucred_get.3c
+ucred_getpid.3c				:= LINKSRC = ucred_get.3c
+ucred_getprivset.3c			:= LINKSRC = ucred_get.3c
+ucred_getprojid.3c			:= LINKSRC = ucred_get.3c
+ucred_getrgid.3c			:= LINKSRC = ucred_get.3c
+ucred_getruid.3c			:= LINKSRC = ucred_get.3c
+ucred_getsgid.3c			:= LINKSRC = ucred_get.3c
+ucred_getsuid.3c			:= LINKSRC = ucred_get.3c
+ucred_getzoneid.3c			:= LINKSRC = ucred_get.3c
+ucred_size.3c				:= LINKSRC = ucred_get.3c
 
-vswprintf.3c				:= SOSRC = man3c/vfwprintf.3c
-vwprintf.3c				:= SOSRC = man3c/vfwprintf.3c
+vswprintf.3c				:= LINKSRC = vfwprintf.3c
+vwprintf.3c				:= LINKSRC = vfwprintf.3c
 
-vasprintf.3c				:= SOSRC = man3c/vprintf.3c
-vfprintf.3c				:= SOSRC = man3c/vprintf.3c
-vsnprintf.3c				:= SOSRC = man3c/vprintf.3c
-vsprintf.3c				:= SOSRC = man3c/vprintf.3c
+vasprintf.3c				:= LINKSRC = vprintf.3c
+vfprintf.3c				:= LINKSRC = vprintf.3c
+vsnprintf.3c				:= LINKSRC = vprintf.3c
+vsprintf.3c				:= LINKSRC = vprintf.3c
 
-wait4.3c				:= SOSRC = man3c/wait3.3c
+wait4.3c				:= LINKSRC = wait3.3c
 
-addrtosymstr.3c				:= SOSRC = man3c/walkcontext.3c
-backtrace.3c				:= SOSRC = man3c/walkcontext.3c
-backtrace_symbols.3c			:= SOSRC = man3c/walkcontext.3c
-backtrace_symbols_fd.3c			:= SOSRC = man3c/walkcontext.3c
-printstack.3c				:= SOSRC = man3c/walkcontext.3c
+addrtosymstr.3c				:= LINKSRC = walkcontext.3c
+backtrace.3c				:= LINKSRC = walkcontext.3c
+backtrace_symbols.3c			:= LINKSRC = walkcontext.3c
+backtrace_symbols_fd.3c			:= LINKSRC = walkcontext.3c
+printstack.3c				:= LINKSRC = walkcontext.3c
 
-wscoll.3c				:= SOSRC = man3c/wcscoll.3c
+wscoll.3c				:= LINKSRC = wcscoll.3c
 
-watof.3c				:= SOSRC = man3c/wcstod.3c
-wcstof.3c				:= SOSRC = man3c/wcstod.3c
-wcstold.3c				:= SOSRC = man3c/wcstod.3c
-wstod.3c				:= SOSRC = man3c/wcstod.3c
+watof.3c				:= LINKSRC = wcstod.3c
+wcstof.3c				:= LINKSRC = wcstod.3c
+wcstold.3c				:= LINKSRC = wcstod.3c
+wstod.3c				:= LINKSRC = wcstod.3c
 
-wcstoumax.3c				:= SOSRC = man3c/wcstoimax.3c
+wcstoumax.3c				:= LINKSRC = wcstoimax.3c
 
-watoi.3c				:= SOSRC = man3c/wcstol.3c
-watol.3c				:= SOSRC = man3c/wcstol.3c
-watoll.3c				:= SOSRC = man3c/wcstol.3c
-wcstoll.3c				:= SOSRC = man3c/wcstol.3c
-wstol.3c				:= SOSRC = man3c/wcstol.3c
+watoi.3c				:= LINKSRC = wcstol.3c
+watol.3c				:= LINKSRC = wcstol.3c
+watoll.3c				:= LINKSRC = wcstol.3c
+wcstoll.3c				:= LINKSRC = wcstol.3c
+wstol.3c				:= LINKSRC = wcstol.3c
 
-wcstoull.3c				:= SOSRC = man3c/wcstoul.3c
+wcstoull.3c				:= LINKSRC = wcstoul.3c
 
-wcscat.3c				:= SOSRC = man3c/wcstring.3c
-wcschr.3c				:= SOSRC = man3c/wcstring.3c
-wcscmp.3c				:= SOSRC = man3c/wcstring.3c
-wcscpy.3c				:= SOSRC = man3c/wcstring.3c
-wcscspn.3c				:= SOSRC = man3c/wcstring.3c
-wcslen.3c				:= SOSRC = man3c/wcstring.3c
-wcsncat.3c				:= SOSRC = man3c/wcstring.3c
-wcsncmp.3c				:= SOSRC = man3c/wcstring.3c
-wcsncpy.3c				:= SOSRC = man3c/wcstring.3c
-wcspbrk.3c				:= SOSRC = man3c/wcstring.3c
-wcsrchr.3c				:= SOSRC = man3c/wcstring.3c
-wcsspn.3c				:= SOSRC = man3c/wcstring.3c
-wcstok.3c				:= SOSRC = man3c/wcstring.3c
-wcswcs.3c				:= SOSRC = man3c/wcstring.3c
-windex.3c				:= SOSRC = man3c/wcstring.3c
-wrindex.3c				:= SOSRC = man3c/wcstring.3c
-wscat.3c				:= SOSRC = man3c/wcstring.3c
-wschr.3c				:= SOSRC = man3c/wcstring.3c
-wscmp.3c				:= SOSRC = man3c/wcstring.3c
-wscpy.3c				:= SOSRC = man3c/wcstring.3c
-wscspn.3c				:= SOSRC = man3c/wcstring.3c
-wslen.3c				:= SOSRC = man3c/wcstring.3c
-wsncat.3c				:= SOSRC = man3c/wcstring.3c
-wsncmp.3c				:= SOSRC = man3c/wcstring.3c
-wsncpy.3c				:= SOSRC = man3c/wcstring.3c
-wspbrk.3c				:= SOSRC = man3c/wcstring.3c
-wsrchr.3c				:= SOSRC = man3c/wcstring.3c
-wsspn.3c				:= SOSRC = man3c/wcstring.3c
-wstok.3c				:= SOSRC = man3c/wcstring.3c
+wcscat.3c				:= LINKSRC = wcstring.3c
+wcschr.3c				:= LINKSRC = wcstring.3c
+wcscmp.3c				:= LINKSRC = wcstring.3c
+wcscpy.3c				:= LINKSRC = wcstring.3c
+wcscspn.3c				:= LINKSRC = wcstring.3c
+wcslen.3c				:= LINKSRC = wcstring.3c
+wcsncat.3c				:= LINKSRC = wcstring.3c
+wcsncmp.3c				:= LINKSRC = wcstring.3c
+wcsncpy.3c				:= LINKSRC = wcstring.3c
+wcspbrk.3c				:= LINKSRC = wcstring.3c
+wcsrchr.3c				:= LINKSRC = wcstring.3c
+wcsspn.3c				:= LINKSRC = wcstring.3c
+wcstok.3c				:= LINKSRC = wcstring.3c
+wcswcs.3c				:= LINKSRC = wcstring.3c
+windex.3c				:= LINKSRC = wcstring.3c
+wrindex.3c				:= LINKSRC = wcstring.3c
+wscat.3c				:= LINKSRC = wcstring.3c
+wschr.3c				:= LINKSRC = wcstring.3c
+wscmp.3c				:= LINKSRC = wcstring.3c
+wscpy.3c				:= LINKSRC = wcstring.3c
+wscspn.3c				:= LINKSRC = wcstring.3c
+wslen.3c				:= LINKSRC = wcstring.3c
+wsncat.3c				:= LINKSRC = wcstring.3c
+wsncmp.3c				:= LINKSRC = wcstring.3c
+wsncpy.3c				:= LINKSRC = wcstring.3c
+wspbrk.3c				:= LINKSRC = wcstring.3c
+wsrchr.3c				:= LINKSRC = wcstring.3c
+wsspn.3c				:= LINKSRC = wcstring.3c
+wstok.3c				:= LINKSRC = wcstring.3c
 
-wsxfrm.3c				:= SOSRC = man3c/wcsxfrm.3c
+wsxfrm.3c				:= LINKSRC = wcsxfrm.3c
 
-wordfree.3c				:= SOSRC = man3c/wordexp.3c
+wordfree.3c				:= LINKSRC = wordexp.3c
 
-wscasecmp.3c				:= SOSRC = man3c/wstring.3c
-wscol.3c				:= SOSRC = man3c/wstring.3c
-wsdup.3c				:= SOSRC = man3c/wstring.3c
-wsncasecmp.3c				:= SOSRC = man3c/wstring.3c
+wscasecmp.3c				:= LINKSRC = wstring.3c
+wscol.3c				:= LINKSRC = wstring.3c
+wsdup.3c				:= LINKSRC = wstring.3c
+wsncasecmp.3c				:= LINKSRC = wstring.3c
 
 .KEEP_STATE:
 
-include ../Makefile.man
+include		$(SRC)/man/Makefile.man
 
-install: $(ROOTMANFILES)
-
-
+install:	$(ROOTMANFILES) $(ROOTMANLINKS)
--- a/usr/src/man/man3c_db/Makefile	Fri Aug 30 01:19:35 2013 -0800
+++ b/usr/src/man/man3c_db/Makefile	Thu Aug 29 02:33:28 2013 +0400
@@ -9,13 +9,16 @@
 # at http://www.illumos.org/license/CDDL.
 #
 
+#
 # Copyright 2011, Richard Lowe
-
-include ../../Makefile.master
+# Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
+#
 
-MANSECT =  	3c_db
+include		$(SRC)/Makefile.master
 
-MANFILES = 	td_init.3c_db			\
+MANSECT=  	3c_db
+
+MANFILES= 	td_init.3c_db			\
 	 	td_log.3c_db			\
 	 	td_sync_get_info.3c_db		\
 		td_ta_enable_stats.3c_db	\
@@ -36,7 +39,7 @@
 	 	td_thr_tsd.3c_db		\
 	 	td_thr_validate.3c_db
 
-MANSOFILES =	td_event_addset.3c_db			\
+MANLINKS=	td_event_addset.3c_db			\
 	 	td_event_delset.3c_db			\
 	 	td_event_emptyset.3c_db			\
 	 	td_event_fillset.3c_db			\
@@ -69,50 +72,48 @@
 	 	td_thr_setxregs.3c_db			\
 	 	td_thr_sigsetmask.3c_db
 
-MANFILES +=	$(MANSOFILES)
+td_sync_get_stats.3c_db		:= LINKSRC = td_sync_get_info.3c_db
+td_sync_setstate.3c_db		:= LINKSRC = td_sync_get_info.3c_db
+td_sync_waiters.3c_db		:= LINKSRC = td_sync_get_info.3c_db
+td_ta_sync_tracking_enable.3c_db:= LINKSRC = td_sync_get_info.3c_db
 
-td_sync_get_stats.3c_db			:= SOSRC = man3c_db/td_sync_get_info.3c_db
-td_sync_setstate.3c_db			:= SOSRC = man3c_db/td_sync_get_info.3c_db
-td_sync_waiters.3c_db			:= SOSRC = man3c_db/td_sync_get_info.3c_db
-td_ta_sync_tracking_enable.3c_db	:= SOSRC = man3c_db/td_sync_get_info.3c_db
-
-td_ta_get_stats.3c_db	:= SOSRC = man3c_db/td_ta_enable_stats.3c_db
-td_ta_reset_stats.3c_db	:= SOSRC = man3c_db/td_ta_enable_stats.3c_db
+td_ta_get_stats.3c_db		:= LINKSRC = td_ta_enable_stats.3c_db
+td_ta_reset_stats.3c_db		:= LINKSRC = td_ta_enable_stats.3c_db
 
-td_event_addset.3c_db		:= SOSRC = man3c_db/td_ta_event_addr.3c_db
-td_event_delset.3c_db		:= SOSRC = man3c_db/td_ta_event_addr.3c_db
-td_event_emptyset.3c_db		:= SOSRC = man3c_db/td_ta_event_addr.3c_db
-td_event_fillset.3c_db		:= SOSRC = man3c_db/td_ta_event_addr.3c_db
-td_eventisempty.3c_db		:= SOSRC = man3c_db/td_ta_event_addr.3c_db
-td_eventismember.3c_db		:= SOSRC = man3c_db/td_ta_event_addr.3c_db
-td_ta_clear_event.3c_db		:= SOSRC = man3c_db/td_ta_event_addr.3c_db
-td_ta_event_getmsg.3c_db	:= SOSRC = man3c_db/td_ta_event_addr.3c_db
-td_ta_set_event.3c_db		:= SOSRC = man3c_db/td_ta_event_addr.3c_db
-td_thr_clear_event.3c_db	:= SOSRC = man3c_db/td_ta_event_addr.3c_db
-td_thr_event_enable.3c_db	:= SOSRC = man3c_db/td_ta_event_addr.3c_db
-td_thr_event_getmsg.3c_db	:= SOSRC = man3c_db/td_ta_event_addr.3c_db
-td_thr_set_event.3c_db		:= SOSRC = man3c_db/td_ta_event_addr.3c_db
-td_ta_map_lwp2thr.3c_db		:= SOSRC = man3c_db/td_ta_map_id2thr.3c_db
+td_event_addset.3c_db		:= LINKSRC = td_ta_event_addr.3c_db
+td_event_delset.3c_db		:= LINKSRC = td_ta_event_addr.3c_db
+td_event_emptyset.3c_db		:= LINKSRC = td_ta_event_addr.3c_db
+td_event_fillset.3c_db		:= LINKSRC = td_ta_event_addr.3c_db
+td_eventisempty.3c_db		:= LINKSRC = td_ta_event_addr.3c_db
+td_eventismember.3c_db		:= LINKSRC = td_ta_event_addr.3c_db
+td_ta_clear_event.3c_db		:= LINKSRC = td_ta_event_addr.3c_db
+td_ta_event_getmsg.3c_db	:= LINKSRC = td_ta_event_addr.3c_db
+td_ta_set_event.3c_db		:= LINKSRC = td_ta_event_addr.3c_db
+td_thr_clear_event.3c_db	:= LINKSRC = td_ta_event_addr.3c_db
+td_thr_event_enable.3c_db	:= LINKSRC = td_ta_event_addr.3c_db
+td_thr_event_getmsg.3c_db	:= LINKSRC = td_ta_event_addr.3c_db
+td_thr_set_event.3c_db		:= LINKSRC = td_ta_event_addr.3c_db
+td_ta_map_lwp2thr.3c_db		:= LINKSRC = td_ta_map_id2thr.3c_db
 
-td_ta_delete.3c_db	:= SOSRC = man3c_db/td_ta_new.3c_db
-td_ta_get_ph.3c_db	:= SOSRC = man3c_db/td_ta_new.3c_db
+td_ta_delete.3c_db		:= LINKSRC = td_ta_new.3c_db
+td_ta_get_ph.3c_db		:= LINKSRC = td_ta_new.3c_db
 
-td_ta_thr_iter.3c_db	:= SOSRC = man3c_db/td_ta_sync_iter.3c_db
-td_ta_tsd_iter.3c_db	:= SOSRC = man3c_db/td_ta_sync_iter.3c_db
+td_ta_thr_iter.3c_db		:= LINKSRC = td_ta_sync_iter.3c_db
+td_ta_tsd_iter.3c_db		:= LINKSRC = td_ta_sync_iter.3c_db
 
-td_thr_dbresume.3c_db	:= SOSRC = man3c_db/td_thr_dbsuspend.3c_db
+td_thr_dbresume.3c_db		:= LINKSRC = td_thr_dbsuspend.3c_db
 
-td_thr_getfpregs.3c_db		:= SOSRC = man3c_db/td_thr_getgregs.3c_db
-td_thr_getxregs.3c_db		:= SOSRC = man3c_db/td_thr_getgregs.3c_db
-td_thr_getxregsize.3c_db	:= SOSRC = man3c_db/td_thr_getgregs.3c_db
-td_thr_setfpregs.3c_db		:= SOSRC = man3c_db/td_thr_getgregs.3c_db
-td_thr_setgregs.3c_db		:= SOSRC = man3c_db/td_thr_getgregs.3c_db
-td_thr_setxregs.3c_db		:= SOSRC = man3c_db/td_thr_getgregs.3c_db
+td_thr_getfpregs.3c_db		:= LINKSRC = td_thr_getgregs.3c_db
+td_thr_getxregs.3c_db		:= LINKSRC = td_thr_getgregs.3c_db
+td_thr_getxregsize.3c_db	:= LINKSRC = td_thr_getgregs.3c_db
+td_thr_setfpregs.3c_db		:= LINKSRC = td_thr_getgregs.3c_db
+td_thr_setgregs.3c_db		:= LINKSRC = td_thr_getgregs.3c_db
+td_thr_setxregs.3c_db		:= LINKSRC = td_thr_getgregs.3c_db
 
-td_thr_sigsetmask.3c_db		:= SOSRC = man3c_db/td_thr_setsigpending.3c_db
+td_thr_sigsetmask.3c_db		:= LINKSRC = td_thr_setsigpending.3c_db
 
 .KEEP_STATE:
 
-include ../Makefile.man
+include		$(SRC)/man/Makefile.man
 
-install: $(ROOTMANFILES)
+install:	$(ROOTMANFILES) $(ROOTMANLINKS)
--- a/usr/src/man/man3cfgadm/Makefile	Fri Aug 30 01:19:35 2013 -0800
+++ b/usr/src/man/man3cfgadm/Makefile	Thu Aug 29 02:33:28 2013 +0400
@@ -9,13 +9,18 @@
 # at http://www.illumos.org/license/CDDL.
 #
 
+#
 # Copyright 2011, Richard Lowe
-
-include ../../Makefile.master
+# Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
+#
 
-MANSECT = 	3cfgadm
+include		$(SRC)/Makefile.master
+
+MANSECT= 	3cfgadm
 
-MANSOFILES =	config_ap_id_cmp.3cfgadm	\
+MANFILES= 	config_admin.3cfgadm
+
+MANLINKS=	config_ap_id_cmp.3cfgadm	\
 		config_change_state.3cfgadm	\
 		config_list.3cfgadm		\
 		config_list_ext.3cfgadm		\
@@ -25,21 +30,18 @@
 		config_test.3cfgadm		\
 		config_unload_libs.3cfgadm
 
-MANFILES = 	config_admin.3cfgadm $(MANSOFILES)
-
-
-config_ap_id_cmp.3cfgadm	:= SOSRC = man3cfgadm/config_admin.3cfgadm
-config_change_state.3cfgadm	:= SOSRC = man3cfgadm/config_admin.3cfgadm
-config_list.3cfgadm		:= SOSRC = man3cfgadm/config_admin.3cfgadm
-config_list_ext.3cfgadm		:= SOSRC = man3cfgadm/config_admin.3cfgadm
-config_private_func.3cfgadm	:= SOSRC = man3cfgadm/config_admin.3cfgadm
-config_stat.3cfgadm		:= SOSRC = man3cfgadm/config_admin.3cfgadm
-config_strerror.3cfgadm		:= SOSRC = man3cfgadm/config_admin.3cfgadm
-config_test.3cfgadm		:= SOSRC = man3cfgadm/config_admin.3cfgadm
-config_unload_libs.3cfgadm	:= SOSRC = man3cfgadm/config_admin.3cfgadm
+config_ap_id_cmp.3cfgadm	:= LINKSRC = config_admin.3cfgadm
+config_change_state.3cfgadm	:= LINKSRC = config_admin.3cfgadm
+config_list.3cfgadm		:= LINKSRC = config_admin.3cfgadm
+config_list_ext.3cfgadm		:= LINKSRC = config_admin.3cfgadm
+config_private_func.3cfgadm	:= LINKSRC = config_admin.3cfgadm
+config_stat.3cfgadm		:= LINKSRC = config_admin.3cfgadm
+config_strerror.3cfgadm		:= LINKSRC = config_admin.3cfgadm
+config_test.3cfgadm		:= LINKSRC = config_admin.3cfgadm
+config_unload_libs.3cfgadm	:= LINKSRC = config_admin.3cfgadm
 
 .KEEP_STATE:
 
-include ../Makefile.man
+include		$(SRC)/man/Makefile.man
 
-install: $(ROOTMANFILES)
+install:	$(ROOTMANFILES) $(ROOTMANLINKS)
--- a/usr/src/man/man3commputil/Makefile	Fri Aug 30 01:19:35 2013 -0800
+++ b/usr/src/man/man3commputil/Makefile	Thu Aug 29 02:33:28 2013 +0400
@@ -9,13 +9,16 @@
 # at http://www.illumos.org/license/CDDL.
 #
 
+#
 # Copyright 2011, Richard Lowe
-
-include ../../Makefile.master
+# Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
+#
 
-MANSECT = 	3commputil
+include		$(SRC)/Makefile.master
 
-MANFILES = 	sdp_add_origin.3commputil		\
+MANSECT= 	3commputil
+
+MANFILES= 	sdp_add_origin.3commputil		\
 	 	sdp_clone_session.3commputil		\
 	 	sdp_delete_all_field.3commputil		\
 	 	sdp_delete_media.3commputil		\
@@ -26,7 +29,7 @@
 	 	sdp_parse.3commputil			\
 	 	sdp_session_to_str.3commputil
 
-MANSOFILES =	sdp_add_attribute.3commputil		\
+MANLINKS=	sdp_add_attribute.3commputil		\
 		sdp_add_bandwidth.3commputil		\
 		sdp_add_connection.3commputil		\
 		sdp_add_email.3commputil		\
@@ -43,30 +46,28 @@
 		sdp_delete_attribute.3commputil		\
 		sdp_free_session.3commputil
 
-MANFILES +=	$(MANSOFILES)
+sdp_add_attribute.3commputil		:= LINKSRC = sdp_add_origin.3commputil
+sdp_add_bandwidth.3commputil		:= LINKSRC = sdp_add_origin.3commputil
+sdp_add_connection.3commputil		:= LINKSRC = sdp_add_origin.3commputil
+sdp_add_email.3commputil		:= LINKSRC = sdp_add_origin.3commputil
+sdp_add_information.3commputil		:= LINKSRC = sdp_add_origin.3commputil
+sdp_add_key.3commputil			:= LINKSRC = sdp_add_origin.3commputil
+sdp_add_media.3commputil		:= LINKSRC = sdp_add_origin.3commputil
+sdp_add_name.3commputil			:= LINKSRC = sdp_add_origin.3commputil
+sdp_add_phone.3commputil		:= LINKSRC = sdp_add_origin.3commputil
+sdp_add_repeat.3commputil		:= LINKSRC = sdp_add_origin.3commputil
+sdp_add_time.3commputil			:= LINKSRC = sdp_add_origin.3commputil
+sdp_add_uri.3commputil			:= LINKSRC = sdp_add_origin.3commputil
+sdp_add_zone.3commputil			:= LINKSRC = sdp_add_origin.3commputil
 
-sdp_add_attribute.3commputil		:= SOSRC = man3commputil/sdp_add_origin.3commputil
-sdp_add_bandwidth.3commputil		:= SOSRC = man3commputil/sdp_add_origin.3commputil
-sdp_add_connection.3commputil		:= SOSRC = man3commputil/sdp_add_origin.3commputil
-sdp_add_email.3commputil		:= SOSRC = man3commputil/sdp_add_origin.3commputil
-sdp_add_information.3commputil		:= SOSRC = man3commputil/sdp_add_origin.3commputil
-sdp_add_key.3commputil			:= SOSRC = man3commputil/sdp_add_origin.3commputil
-sdp_add_media.3commputil		:= SOSRC = man3commputil/sdp_add_origin.3commputil
-sdp_add_name.3commputil			:= SOSRC = man3commputil/sdp_add_origin.3commputil
-sdp_add_phone.3commputil		:= SOSRC = man3commputil/sdp_add_origin.3commputil
-sdp_add_repeat.3commputil		:= SOSRC = man3commputil/sdp_add_origin.3commputil
-sdp_add_time.3commputil			:= SOSRC = man3commputil/sdp_add_origin.3commputil
-sdp_add_uri.3commputil			:= SOSRC = man3commputil/sdp_add_origin.3commputil
-sdp_add_zone.3commputil			:= SOSRC = man3commputil/sdp_add_origin.3commputil
+sdp_delete_all_media_field.3commputil	:= LINKSRC = sdp_delete_all_field.3commputil
 
-sdp_delete_all_media_field.3commputil	:= SOSRC = man3commputil/sdp_delete_all_field.3commputil
+sdp_delete_attribute.3commputil		:= LINKSRC = sdp_delete_media.3commputil
 
-sdp_delete_attribute.3commputil		:= SOSRC = man3commputil/sdp_delete_media.3commputil
-
-sdp_free_session.3commputil		:= SOSRC = man3commputil/sdp_new_session.3commputil
+sdp_free_session.3commputil		:= LINKSRC = sdp_new_session.3commputil
 
 .KEEP_STATE:
 
-include ../Makefile.man
+include		$(SRC)/man/Makefile.man
 
-install: $(ROOTMANFILES)
+install:	$(ROOTMANFILES) $(ROOTMANLINKS)
--- a/usr/src/man/man3contract/Makefile	Fri Aug 30 01:19:35 2013 -0800
+++ b/usr/src/man/man3contract/Makefile	Thu Aug 29 02:33:28 2013 +0400
@@ -9,13 +9,16 @@
 # at http://www.illumos.org/license/CDDL.
 #
 
+#
 # Copyright 2011, Richard Lowe
-
-include ../../Makefile.master
+# Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
+#
 
-MANSECT = 	3contract
+include		$(SRC)/Makefile.master
 
-MANFILES = 	ct_ctl_adopt.3contract			\
+MANSECT= 	3contract
+
+MANFILES= 	ct_ctl_adopt.3contract			\
 	 	ct_dev_status_get_dev_state.3contract	\
 	 	ct_dev_tmpl_set_aset.3contract		\
 	 	ct_event_read.3contract			\
@@ -25,7 +28,7 @@
 	 	ct_status_read.3contract		\
 	 	ct_tmpl_activate.3contract
 
-MANSOFILES =	ct_ctl_abandon.3contract		\
+MANLINKS=	ct_ctl_abandon.3contract		\
 		ct_ctl_ack.3contract			\
 		ct_ctl_nack.3contract			\
 		ct_ctl_newct.3contract			\
@@ -95,90 +98,86 @@
 		ct_tmpl_set_critical.3contract		\
 		ct_tmpl_set_informative.3contract
 
-MANFILES +=	$(MANSOFILES)
-
-ct_ctl_abandon.3contract		:= SOSRC = man3contract/ct_ctl_adopt.3contract
-ct_ctl_ack.3contract			:= SOSRC = man3contract/ct_ctl_adopt.3contract
-ct_ctl_nack.3contract			:= SOSRC = man3contract/ct_ctl_adopt.3contract
-ct_ctl_newct.3contract			:= SOSRC = man3contract/ct_ctl_adopt.3contract
-ct_ctl_qack.3contract			:= SOSRC = man3contract/ct_ctl_adopt.3contract
+ct_ctl_abandon.3contract		:= LINKSRC = ct_ctl_adopt.3contract
+ct_ctl_ack.3contract			:= LINKSRC = ct_ctl_adopt.3contract
+ct_ctl_nack.3contract			:= LINKSRC = ct_ctl_adopt.3contract
+ct_ctl_newct.3contract			:= LINKSRC = ct_ctl_adopt.3contract
+ct_ctl_qack.3contract			:= LINKSRC = ct_ctl_adopt.3contract
 
-ct_dev_status_get_aset.3contract	:= SOSRC = man3contract/ct_dev_status_get_dev_state.3contract
-ct_dev_status_get_minor.3contract	:= SOSRC = man3contract/ct_dev_status_get_dev_state.3contract
-ct_dev_status_get_noneg.3contract	:= SOSRC = man3contract/ct_dev_status_get_dev_state.3contract
+ct_dev_status_get_aset.3contract	:= LINKSRC = ct_dev_status_get_dev_state.3contract
+ct_dev_status_get_minor.3contract	:= LINKSRC = ct_dev_status_get_dev_state.3contract
+ct_dev_status_get_noneg.3contract	:= LINKSRC = ct_dev_status_get_dev_state.3contract
 
-ct_dev_tmpl_clear_noneg.3contract	:= SOSRC = man3contract/ct_dev_tmpl_set_aset.3contract
-ct_dev_tmpl_get_aset.3contract		:= SOSRC = man3contract/ct_dev_tmpl_set_aset.3contract
-ct_dev_tmpl_get_minor.3contract		:= SOSRC = man3contract/ct_dev_tmpl_set_aset.3contract
-ct_dev_tmpl_get_noneg.3contract		:= SOSRC = man3contract/ct_dev_tmpl_set_aset.3contract
-ct_dev_tmpl_set_minor.3contract		:= SOSRC = man3contract/ct_dev_tmpl_set_aset.3contract
-ct_dev_tmpl_set_noneg.3contract		:= SOSRC = man3contract/ct_dev_tmpl_set_aset.3contract
+ct_dev_tmpl_clear_noneg.3contract	:= LINKSRC = ct_dev_tmpl_set_aset.3contract
+ct_dev_tmpl_get_aset.3contract		:= LINKSRC = ct_dev_tmpl_set_aset.3contract
+ct_dev_tmpl_get_minor.3contract		:= LINKSRC = ct_dev_tmpl_set_aset.3contract
+ct_dev_tmpl_get_noneg.3contract		:= LINKSRC = ct_dev_tmpl_set_aset.3contract
+ct_dev_tmpl_set_minor.3contract		:= LINKSRC = ct_dev_tmpl_set_aset.3contract
+ct_dev_tmpl_set_noneg.3contract		:= LINKSRC = ct_dev_tmpl_set_aset.3contract
 
-ct_event_free.3contract			:= SOSRC = man3contract/ct_event_read.3contract
-ct_event_get_ctid.3contract		:= SOSRC = man3contract/ct_event_read.3contract
-ct_event_get_evid.3contract		:= SOSRC = man3contract/ct_event_read.3contract
-ct_event_get_flags.3contract		:= SOSRC = man3contract/ct_event_read.3contract
-ct_event_get_nevid.3contract		:= SOSRC = man3contract/ct_event_read.3contract
-ct_event_get_newct.3contract		:= SOSRC = man3contract/ct_event_read.3contract
-ct_event_get_type.3contract		:= SOSRC = man3contract/ct_event_read.3contract
-ct_event_read_critical.3contract	:= SOSRC = man3contract/ct_event_read.3contract
-ct_event_reliable.3contract		:= SOSRC = man3contract/ct_event_read.3contract
-ct_event_reset.3contract		:= SOSRC = man3contract/ct_event_read.3contract
+ct_event_free.3contract			:= LINKSRC = ct_event_read.3contract
+ct_event_get_ctid.3contract		:= LINKSRC = ct_event_read.3contract
+ct_event_get_evid.3contract		:= LINKSRC = ct_event_read.3contract
+ct_event_get_flags.3contract		:= LINKSRC = ct_event_read.3contract
+ct_event_get_nevid.3contract		:= LINKSRC = ct_event_read.3contract
+ct_event_get_newct.3contract		:= LINKSRC = ct_event_read.3contract
+ct_event_get_type.3contract		:= LINKSRC = ct_event_read.3contract
+ct_event_read_critical.3contract	:= LINKSRC = ct_event_read.3contract
+ct_event_reliable.3contract		:= LINKSRC = ct_event_read.3contract
+ct_event_reset.3contract		:= LINKSRC = ct_event_read.3contract
 
-ct_pr_event_get_exitstatus.3contract	:= SOSRC = man3contract/ct_pr_event_get_pid.3contract
-ct_pr_event_get_gcorefile.3contract	:= SOSRC = man3contract/ct_pr_event_get_pid.3contract
-ct_pr_event_get_pcorefile.3contract	:= SOSRC = man3contract/ct_pr_event_get_pid.3contract
-ct_pr_event_get_ppid.3contract		:= SOSRC = man3contract/ct_pr_event_get_pid.3contract
-ct_pr_event_get_sender.3contract	:= SOSRC = man3contract/ct_pr_event_get_pid.3contract
-ct_pr_event_get_senderct.3contract	:= SOSRC = man3contract/ct_pr_event_get_pid.3contract
-ct_pr_event_get_signal.3contract	:= SOSRC = man3contract/ct_pr_event_get_pid.3contract
-ct_pr_event_get_zcorefile.3contract	:= SOSRC = man3contract/ct_pr_event_get_pid.3contract
+ct_pr_event_get_exitstatus.3contract	:= LINKSRC = ct_pr_event_get_pid.3contract
+ct_pr_event_get_gcorefile.3contract	:= LINKSRC = ct_pr_event_get_pid.3contract
+ct_pr_event_get_pcorefile.3contract	:= LINKSRC = ct_pr_event_get_pid.3contract
+ct_pr_event_get_ppid.3contract		:= LINKSRC = ct_pr_event_get_pid.3contract
+ct_pr_event_get_sender.3contract	:= LINKSRC = ct_pr_event_get_pid.3contract
+ct_pr_event_get_senderct.3contract	:= LINKSRC = ct_pr_event_get_pid.3contract
+ct_pr_event_get_signal.3contract	:= LINKSRC = ct_pr_event_get_pid.3contract
+ct_pr_event_get_zcorefile.3contract	:= LINKSRC = ct_pr_event_get_pid.3contract
 
-ct_pr_status_get_contracts.3contract	:= SOSRC = man3contract/ct_pr_status_get_param.3contract
-ct_pr_status_get_fatal.3contract	:= SOSRC = man3contract/ct_pr_status_get_param.3contract
-ct_pr_status_get_members.3contract	:= SOSRC = man3contract/ct_pr_status_get_param.3contract
-ct_pr_status_get_svc_aux.3contract	:= SOSRC = man3contract/ct_pr_status_get_param.3contract
-ct_pr_status_get_svc_creator.3contract	:= SOSRC = man3contract/ct_pr_status_get_param.3contract
-ct_pr_status_get_svc_ctid.3contract	:= SOSRC = man3contract/ct_pr_status_get_param.3contract
-ct_pr_status_get_svc_fmri.3contract	:= SOSRC = man3contract/ct_pr_status_get_param.3contract
+ct_pr_status_get_contracts.3contract	:= LINKSRC = ct_pr_status_get_param.3contract
+ct_pr_status_get_fatal.3contract	:= LINKSRC = ct_pr_status_get_param.3contract
+ct_pr_status_get_members.3contract	:= LINKSRC = ct_pr_status_get_param.3contract
+ct_pr_status_get_svc_aux.3contract	:= LINKSRC = ct_pr_status_get_param.3contract
+ct_pr_status_get_svc_creator.3contract	:= LINKSRC = ct_pr_status_get_param.3contract
+ct_pr_status_get_svc_ctid.3contract	:= LINKSRC = ct_pr_status_get_param.3contract
+ct_pr_status_get_svc_fmri.3contract	:= LINKSRC = ct_pr_status_get_param.3contract
 
-ct_pr_tmpl_get_fatal.3contract		:= SOSRC = man3contract/ct_pr_tmpl_set_transfer.3contract
-ct_pr_tmpl_get_param.3contract		:= SOSRC = man3contract/ct_pr_tmpl_set_transfer.3contract
-ct_pr_tmpl_get_svc_aux.3contract	:= SOSRC = man3contract/ct_pr_tmpl_set_transfer.3contract
-ct_pr_tmpl_get_svc_fmri.3contract	:= SOSRC = man3contract/ct_pr_tmpl_set_transfer.3contract
-ct_pr_tmpl_get_transfer.3contract	:= SOSRC = man3contract/ct_pr_tmpl_set_transfer.3contract
-ct_pr_tmpl_set_fatal.3contract		:= SOSRC = man3contract/ct_pr_tmpl_set_transfer.3contract
-ct_pr_tmpl_set_param.3contract		:= SOSRC = man3contract/ct_pr_tmpl_set_transfer.3contract
-ct_pr_tmpl_set_svc_aux.3contract	:= SOSRC = man3contract/ct_pr_tmpl_set_transfer.3contract
-ct_pr_tmpl_set_svc_fmri.3contract	:= SOSRC = man3contract/ct_pr_tmpl_set_transfer.3contract
+ct_pr_tmpl_get_fatal.3contract		:= LINKSRC = ct_pr_tmpl_set_transfer.3contract
+ct_pr_tmpl_get_param.3contract		:= LINKSRC = ct_pr_tmpl_set_transfer.3contract
+ct_pr_tmpl_get_svc_aux.3contract	:= LINKSRC = ct_pr_tmpl_set_transfer.3contract
+ct_pr_tmpl_get_svc_fmri.3contract	:= LINKSRC = ct_pr_tmpl_set_transfer.3contract
+ct_pr_tmpl_get_transfer.3contract	:= LINKSRC = ct_pr_tmpl_set_transfer.3contract
+ct_pr_tmpl_set_fatal.3contract		:= LINKSRC = ct_pr_tmpl_set_transfer.3contract
+ct_pr_tmpl_set_param.3contract		:= LINKSRC = ct_pr_tmpl_set_transfer.3contract
+ct_pr_tmpl_set_svc_aux.3contract	:= LINKSRC = ct_pr_tmpl_set_transfer.3contract
+ct_pr_tmpl_set_svc_fmri.3contract	:= LINKSRC = ct_pr_tmpl_set_transfer.3contract
 
-ct_status_free.3contract		:= SOSRC = man3contract/ct_status_read.3contract
-ct_status_get_cookie.3contract		:= SOSRC = man3contract/ct_status_read.3contract
-ct_status_get_critical.3contract	:= SOSRC = man3contract/ct_status_read.3contract
-ct_status_get_holder.3contract		:= SOSRC = man3contract/ct_status_read.3contract
-ct_status_get_id.3contract		:= SOSRC = man3contract/ct_status_read.3contract
-ct_status_get_informative.3contract	:= SOSRC = man3contract/ct_status_read.3contract
-ct_status_get_nevents.3contract		:= SOSRC = man3contract/ct_status_read.3contract
-ct_status_get_nevid.3contract		:= SOSRC = man3contract/ct_status_read.3contract
-ct_status_get_ntime.3contract		:= SOSRC = man3contract/ct_status_read.3contract
-ct_status_get_qtime.3contract		:= SOSRC = man3contract/ct_status_read.3contract
-ct_status_get_state.3contract		:= SOSRC = man3contract/ct_status_read.3contract
-ct_status_get_type.3contract		:= SOSRC = man3contract/ct_status_read.3contract
-ct_status_get_zoneid.3contract		:= SOSRC = man3contract/ct_status_read.3contract
+ct_status_free.3contract		:= LINKSRC = ct_status_read.3contract
+ct_status_get_cookie.3contract		:= LINKSRC = ct_status_read.3contract
+ct_status_get_critical.3contract	:= LINKSRC = ct_status_read.3contract
+ct_status_get_holder.3contract		:= LINKSRC = ct_status_read.3contract
+ct_status_get_id.3contract		:= LINKSRC = ct_status_read.3contract
+ct_status_get_informative.3contract	:= LINKSRC = ct_status_read.3contract
+ct_status_get_nevents.3contract		:= LINKSRC = ct_status_read.3contract
+ct_status_get_nevid.3contract		:= LINKSRC = ct_status_read.3contract
+ct_status_get_ntime.3contract		:= LINKSRC = ct_status_read.3contract
+ct_status_get_qtime.3contract		:= LINKSRC = ct_status_read.3contract
+ct_status_get_state.3contract		:= LINKSRC = ct_status_read.3contract
+ct_status_get_type.3contract		:= LINKSRC = ct_status_read.3contract
+ct_status_get_zoneid.3contract		:= LINKSRC = ct_status_read.3contract
 
-ct_tmpl_clear.3contract			:= SOSRC = man3contract/ct_tmpl_activate.3contract
-ct_tmpl_create.3contract		:= SOSRC = man3contract/ct_tmpl_activate.3contract
-ct_tmpl_get_cookie.3contract		:= SOSRC = man3contract/ct_tmpl_activate.3contract
-ct_tmpl_get_critical.3contract		:= SOSRC = man3contract/ct_tmpl_activate.3contract
-ct_tmpl_get_informative.3contract	:= SOSRC = man3contract/ct_tmpl_activate.3contract
-ct_tmpl_set_cookie.3contract		:= SOSRC = man3contract/ct_tmpl_activate.3contract
-ct_tmpl_set_critical.3contract		:= SOSRC = man3contract/ct_tmpl_activate.3contract
-ct_tmpl_set_informative.3contract	:= SOSRC = man3contract/ct_tmpl_activate.3contract
+ct_tmpl_clear.3contract			:= LINKSRC = ct_tmpl_activate.3contract
+ct_tmpl_create.3contract		:= LINKSRC = ct_tmpl_activate.3contract
+ct_tmpl_get_cookie.3contract		:= LINKSRC = ct_tmpl_activate.3contract
+ct_tmpl_get_critical.3contract		:= LINKSRC = ct_tmpl_activate.3contract
+ct_tmpl_get_informative.3contract	:= LINKSRC = ct_tmpl_activate.3contract
+ct_tmpl_set_cookie.3contract		:= LINKSRC = ct_tmpl_activate.3contract
+ct_tmpl_set_critical.3contract		:= LINKSRC = ct_tmpl_activate.3contract
+ct_tmpl_set_informative.3contract	:= LINKSRC = ct_tmpl_activate.3contract
 
 .KEEP_STATE:
 
-include ../Makefile.man
+include		$(SRC)/man/Makefile.man
 
-install: $(ROOTMANFILES)
-
-
+install:	$(ROOTMANFILES) $(ROOTMANLINKS)
--- a/usr/src/man/man3cpc/Makefile	Fri Aug 30 01:19:35 2013 -0800
+++ b/usr/src/man/man3cpc/Makefile	Thu Aug 29 02:33:28 2013 +0400
@@ -9,13 +9,16 @@
 # at http://www.illumos.org/license/CDDL.
 #
 
+#
 # Copyright 2011, Richard Lowe
-
-include ../../Makefile.master
+# Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
+#
 
-MANSECT = 	3cpc
+include		$(SRC)/Makefile.master
 
-MANFILES = 	cpc.3cpc			\
+MANSECT= 	3cpc
+
+MANFILES= 	cpc.3cpc			\
 	 	cpc_access.3cpc			\
 	 	cpc_bind_curlwp.3cpc		\
 	 	cpc_bind_event.3cpc		\
@@ -38,7 +41,7 @@
 	 	pctx_capture.3cpc		\
 	 	pctx_set_events.3cpc
 
-MANSOFILES =	cpc_bind_cpu.3cpc			\
+MANLINKS=	cpc_bind_cpu.3cpc			\
 		cpc_bind_pctx.3cpc			\
 		cpc_buf_add.3cpc			\
 		cpc_buf_copy.3cpc			\
@@ -87,74 +90,70 @@
 		pctx_release.3cpc			\
 		pctx_run.3cpc
 
-MANFILES +=	$(MANSOFILES)
+cpc_bind_cpu.3cpc			:= LINKSRC = cpc_bind_curlwp.3cpc
+cpc_bind_pctx.3cpc			:= LINKSRC = cpc_bind_curlwp.3cpc
+cpc_request_preset.3cpc			:= LINKSRC = cpc_bind_curlwp.3cpc
+cpc_set_restart.3cpc			:= LINKSRC = cpc_bind_curlwp.3cpc
+cpc_unbind.3cpc				:= LINKSRC = cpc_bind_curlwp.3cpc
 
-cpc_bind_cpu.3cpc			:= SOSRC = man3cpc/cpc_bind_curlwp.3cpc
-cpc_bind_pctx.3cpc			:= SOSRC = man3cpc/cpc_bind_curlwp.3cpc
-cpc_request_preset.3cpc			:= SOSRC = man3cpc/cpc_bind_curlwp.3cpc
-cpc_set_restart.3cpc			:= SOSRC = man3cpc/cpc_bind_curlwp.3cpc
-cpc_unbind.3cpc				:= SOSRC = man3cpc/cpc_bind_curlwp.3cpc
-
-cpc_rele.3cpc				:= SOSRC = man3cpc/cpc_bind_event.3cpc
-cpc_take_sample.3cpc			:= SOSRC = man3cpc/cpc_bind_event.3cpc
+cpc_rele.3cpc				:= LINKSRC = cpc_bind_event.3cpc
+cpc_take_sample.3cpc			:= LINKSRC = cpc_bind_event.3cpc
 
-cpc_buf_add.3cpc			:= SOSRC = man3cpc/cpc_buf_create.3cpc
-cpc_buf_copy.3cpc			:= SOSRC = man3cpc/cpc_buf_create.3cpc
-cpc_buf_destroy.3cpc			:= SOSRC = man3cpc/cpc_buf_create.3cpc
-cpc_buf_get.3cpc			:= SOSRC = man3cpc/cpc_buf_create.3cpc
-cpc_buf_hrtime.3cpc			:= SOSRC = man3cpc/cpc_buf_create.3cpc
-cpc_buf_set.3cpc			:= SOSRC = man3cpc/cpc_buf_create.3cpc
-cpc_buf_sub.3cpc			:= SOSRC = man3cpc/cpc_buf_create.3cpc
-cpc_buf_tick.3cpc			:= SOSRC = man3cpc/cpc_buf_create.3cpc
-cpc_buf_zero.3cpc			:= SOSRC = man3cpc/cpc_buf_create.3cpc
-cpc_set_sample.3cpc			:= SOSRC = man3cpc/cpc_buf_create.3cpc
+cpc_buf_add.3cpc			:= LINKSRC = cpc_buf_create.3cpc
+cpc_buf_copy.3cpc			:= LINKSRC = cpc_buf_create.3cpc
+cpc_buf_destroy.3cpc			:= LINKSRC = cpc_buf_create.3cpc
+cpc_buf_get.3cpc			:= LINKSRC = cpc_buf_create.3cpc
+cpc_buf_hrtime.3cpc			:= LINKSRC = cpc_buf_create.3cpc
+cpc_buf_set.3cpc			:= LINKSRC = cpc_buf_create.3cpc
+cpc_buf_sub.3cpc			:= LINKSRC = cpc_buf_create.3cpc
+cpc_buf_tick.3cpc			:= LINKSRC = cpc_buf_create.3cpc
+cpc_buf_zero.3cpc			:= LINKSRC = cpc_buf_create.3cpc
+cpc_set_sample.3cpc			:= LINKSRC = cpc_buf_create.3cpc
 
-cpc_count_sys_events.3cpc		:= SOSRC = man3cpc/cpc_count_usr_events.3cpc
+cpc_count_sys_events.3cpc		:= LINKSRC = cpc_count_usr_events.3cpc
 
-cpc_disable.3cpc			:= SOSRC = man3cpc/cpc_enable.3cpc
+cpc_disable.3cpc			:= LINKSRC = cpc_enable.3cpc
 
-cpc_event_accum.3cpc			:= SOSRC = man3cpc/cpc_event_diff.3cpc
+cpc_event_accum.3cpc			:= LINKSRC = cpc_event_diff.3cpc
 
-cpc_getcciname.3cpc			:= SOSRC = man3cpc/cpc_getcpuver.3cpc
-cpc_getcpuref.3cpc			:= SOSRC = man3cpc/cpc_getcpuver.3cpc
-cpc_getnpic.3cpc			:= SOSRC = man3cpc/cpc_getcpuver.3cpc
-cpc_getusage.3cpc			:= SOSRC = man3cpc/cpc_getcpuver.3cpc
-cpc_walk_names.3cpc			:= SOSRC = man3cpc/cpc_getcpuver.3cpc
+cpc_getcciname.3cpc			:= LINKSRC = cpc_getcpuver.3cpc
+cpc_getcpuref.3cpc			:= LINKSRC = cpc_getcpuver.3cpc
+cpc_getnpic.3cpc			:= LINKSRC = cpc_getcpuver.3cpc
+cpc_getusage.3cpc			:= LINKSRC = cpc_getcpuver.3cpc
+cpc_walk_names.3cpc			:= LINKSRC = cpc_getcpuver.3cpc
 
-cpc_caps.3cpc				:= SOSRC = man3cpc/cpc_npic.3cpc
-cpc_cciname.3cpc			:= SOSRC = man3cpc/cpc_npic.3cpc
-cpc_cpuref.3cpc				:= SOSRC = man3cpc/cpc_npic.3cpc
-cpc_walk_attrs.3cpc			:= SOSRC = man3cpc/cpc_npic.3cpc
-cpc_walk_events_all.3cpc		:= SOSRC = man3cpc/cpc_npic.3cpc
-cpc_walk_events_pic.3cpc		:= SOSRC = man3cpc/cpc_npic.3cpc
-cpc_walk_generic_events_all.3cpc	:= SOSRC = man3cpc/cpc_npic.3cpc
-cpc_walk_generic_events_pic.3cpc	:= SOSRC = man3cpc/cpc_npic.3cpc
+cpc_caps.3cpc				:= LINKSRC = cpc_npic.3cpc
+cpc_cciname.3cpc			:= LINKSRC = cpc_npic.3cpc
+cpc_cpuref.3cpc				:= LINKSRC = cpc_npic.3cpc
+cpc_walk_attrs.3cpc			:= LINKSRC = cpc_npic.3cpc
+cpc_walk_events_all.3cpc		:= LINKSRC = cpc_npic.3cpc
+cpc_walk_events_pic.3cpc		:= LINKSRC = cpc_npic.3cpc
+cpc_walk_generic_events_all.3cpc	:= LINKSRC = cpc_npic.3cpc
+cpc_walk_generic_events_pic.3cpc	:= LINKSRC = cpc_npic.3cpc
 
-cpc_close.3cpc				:= SOSRC = man3cpc/cpc_open.3cpc
+cpc_close.3cpc				:= LINKSRC = cpc_open.3cpc
 
-cpc_pctx_invalidate.3cpc		:= SOSRC = man3cpc/cpc_pctx_bind_event.3cpc
-cpc_pctx_rele.3cpc			:= SOSRC = man3cpc/cpc_pctx_bind_event.3cpc
-cpc_pctx_take_sample.3cpc		:= SOSRC = man3cpc/cpc_pctx_bind_event.3cpc
+cpc_pctx_invalidate.3cpc		:= LINKSRC = cpc_pctx_bind_event.3cpc
+cpc_pctx_rele.3cpc			:= LINKSRC = cpc_pctx_bind_event.3cpc
+cpc_pctx_take_sample.3cpc		:= LINKSRC = cpc_pctx_bind_event.3cpc
 
-cpc_set_add_request.3cpc		:= SOSRC = man3cpc/cpc_set_create.3cpc
-cpc_set_destroy.3cpc			:= SOSRC = man3cpc/cpc_set_create.3cpc
-cpc_walk_requests.3cpc			:= SOSRC = man3cpc/cpc_set_create.3cpc
+cpc_set_add_request.3cpc		:= LINKSRC = cpc_set_create.3cpc
+cpc_set_destroy.3cpc			:= LINKSRC = cpc_set_create.3cpc
+cpc_walk_requests.3cpc			:= LINKSRC = cpc_set_create.3cpc
 
-cpc_shared_bind_event.3cpc		:= SOSRC = man3cpc/cpc_shared_open.3cpc
-cpc_shared_close.3cpc			:= SOSRC = man3cpc/cpc_shared_open.3cpc
-cpc_shared_rele.3cpc			:= SOSRC = man3cpc/cpc_shared_open.3cpc
-cpc_shared_take_sample.3cpc		:= SOSRC = man3cpc/cpc_shared_open.3cpc
+cpc_shared_bind_event.3cpc		:= LINKSRC = cpc_shared_open.3cpc
+cpc_shared_close.3cpc			:= LINKSRC = cpc_shared_open.3cpc
+cpc_shared_rele.3cpc			:= LINKSRC = cpc_shared_open.3cpc
+cpc_shared_take_sample.3cpc		:= LINKSRC = cpc_shared_open.3cpc
 
-cpc_eventtostr.3cpc			:= SOSRC = man3cpc/cpc_strtoevent.3cpc
+cpc_eventtostr.3cpc			:= LINKSRC = cpc_strtoevent.3cpc
 
-pctx_create.3cpc			:= SOSRC = man3cpc/pctx_capture.3cpc
-pctx_release.3cpc			:= SOSRC = man3cpc/pctx_capture.3cpc
-pctx_run.3cpc				:= SOSRC = man3cpc/pctx_capture.3cpc
+pctx_create.3cpc			:= LINKSRC = pctx_capture.3cpc
+pctx_release.3cpc			:= LINKSRC = pctx_capture.3cpc
+pctx_run.3cpc				:= LINKSRC = pctx_capture.3cpc
 
 .KEEP_STATE:
 
-include ../Makefile.man
+include		$(SRC)/man/Makefile.man
 
-install: $(ROOTMANFILES)
-
-
+install:	$(ROOTMANFILES) $(ROOTMANLINKS)
--- a/usr/src/man/man3curses/Makefile	Fri Aug 30 01:19:35 2013 -0800
+++ b/usr/src/man/man3curses/Makefile	Thu Aug 29 02:33:28 2013 +0400
@@ -9,13 +9,16 @@
 # at http://www.illumos.org/license/CDDL.
 #
 
+#
 # Copyright 2011, Richard Lowe
-
-include ../../Makefile.master
+# Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
+#
 
-MANSECT = 	3curses
+include		$(SRC)/Makefile.master
 
-MANFILES = 	curs_addch.3curses		\
+MANSECT= 	3curses
+
+MANFILES= 	curs_addch.3curses		\
 		curs_addchstr.3curses		\
 		curs_addstr.3curses		\
 		curs_addwch.3curses		\
@@ -118,7 +121,7 @@
 		panel_window.3curses		\
 		panels.3curses
 
-MANSOFILES =	addch.3curses			\
+MANLINKS=	addch.3curses			\
 		addchnstr.3curses		\
 		addchstr.3curses		\
 		addnstr.3curses			\
@@ -577,564 +580,560 @@
 		wtouchln.3curses		\
 		wvline.3curses
 
-MANFILES +=	$(MANSOFILES)
-
-addch.3curses			:= SOSRC = man3curses/curs_addch.3curses
-echochar.3curses		:= SOSRC = man3curses/curs_addch.3curses
-mvaddch.3curses			:= SOSRC = man3curses/curs_addch.3curses
-mvwaddch.3curses		:= SOSRC = man3curses/curs_addch.3curses
-waddch.3curses			:= SOSRC = man3curses/curs_addch.3curses
-wechochar.3curses		:= SOSRC = man3curses/curs_addch.3curses
+addch.3curses			:= LINKSRC = curs_addch.3curses
+echochar.3curses		:= LINKSRC = curs_addch.3curses
+mvaddch.3curses			:= LINKSRC = curs_addch.3curses
+mvwaddch.3curses		:= LINKSRC = curs_addch.3curses
+waddch.3curses			:= LINKSRC = curs_addch.3curses
+wechochar.3curses		:= LINKSRC = curs_addch.3curses
 
-addchnstr.3curses		:= SOSRC = man3curses/curs_addchstr.3curses
-addchstr.3curses		:= SOSRC = man3curses/curs_addchstr.3curses
-mvaddchnstr.3curses		:= SOSRC = man3curses/curs_addchstr.3curses
-mvaddchstr.3curses		:= SOSRC = man3curses/curs_addchstr.3curses
-mvwaddchnstr.3curses		:= SOSRC = man3curses/curs_addchstr.3curses
-mvwaddchstr.3curses		:= SOSRC = man3curses/curs_addchstr.3curses
-waddchnstr.3curses		:= SOSRC = man3curses/curs_addchstr.3curses
-waddchstr.3curses		:= SOSRC = man3curses/curs_addchstr.3curses
+addchnstr.3curses		:= LINKSRC = curs_addchstr.3curses
+addchstr.3curses		:= LINKSRC = curs_addchstr.3curses
+mvaddchnstr.3curses		:= LINKSRC = curs_addchstr.3curses
+mvaddchstr.3curses		:= LINKSRC = curs_addchstr.3curses
+mvwaddchnstr.3curses		:= LINKSRC = curs_addchstr.3curses
+mvwaddchstr.3curses		:= LINKSRC = curs_addchstr.3curses
+waddchnstr.3curses		:= LINKSRC = curs_addchstr.3curses
+waddchstr.3curses		:= LINKSRC = curs_addchstr.3curses
 
-addnstr.3curses			:= SOSRC = man3curses/curs_addstr.3curses
-addstr.3curses			:= SOSRC = man3curses/curs_addstr.3curses
-mvaddnstr.3curses		:= SOSRC = man3curses/curs_addstr.3curses
-mvaddstr.3curses		:= SOSRC = man3curses/curs_addstr.3curses
-mvwaddnstr.3curses		:= SOSRC = man3curses/curs_addstr.3curses
-mvwaddstr.3curses		:= SOSRC = man3curses/curs_addstr.3curses
-waddnstr.3curses		:= SOSRC = man3curses/curs_addstr.3curses
-waddstr.3curses			:= SOSRC = man3curses/curs_addstr.3curses
+addnstr.3curses			:= LINKSRC = curs_addstr.3curses
+addstr.3curses			:= LINKSRC = curs_addstr.3curses
+mvaddnstr.3curses		:= LINKSRC = curs_addstr.3curses
+mvaddstr.3curses		:= LINKSRC = curs_addstr.3curses
+mvwaddnstr.3curses		:= LINKSRC = curs_addstr.3curses
+mvwaddstr.3curses		:= LINKSRC = curs_addstr.3curses
+waddnstr.3curses		:= LINKSRC = curs_addstr.3curses
+waddstr.3curses			:= LINKSRC = curs_addstr.3curses
 
-addwch.3curses			:= SOSRC = man3curses/curs_addwch.3curses
-echowchar.3curses		:= SOSRC = man3curses/curs_addwch.3curses
-mvaddwch.3curses		:= SOSRC = man3curses/curs_addwch.3curses
-mvwaddwch.3curses		:= SOSRC = man3curses/curs_addwch.3curses
-waddwch.3curses			:= SOSRC = man3curses/curs_addwch.3curses
-wechowchar.3curses		:= SOSRC = man3curses/curs_addwch.3curses
+addwch.3curses			:= LINKSRC = curs_addwch.3curses
+echowchar.3curses		:= LINKSRC = curs_addwch.3curses
+mvaddwch.3curses		:= LINKSRC = curs_addwch.3curses
+mvwaddwch.3curses		:= LINKSRC = curs_addwch.3curses
+waddwch.3curses			:= LINKSRC = curs_addwch.3curses
+wechowchar.3curses		:= LINKSRC = curs_addwch.3curses
 
-addwchnstr.3curses		:= SOSRC = man3curses/curs_addwchstr.3curses
-addwchstr.3curses		:= SOSRC = man3curses/curs_addwchstr.3curses
-mvaddwchnstr.3curses		:= SOSRC = man3curses/curs_addwchstr.3curses
-mvaddwchstr.3curses		:= SOSRC = man3curses/curs_addwchstr.3curses
-mvwaddwchnstr.3curses		:= SOSRC = man3curses/curs_addwchstr.3curses
-mvwaddwchstr.3curses		:= SOSRC = man3curses/curs_addwchstr.3curses
-waddwchnstr.3curses		:= SOSRC = man3curses/curs_addwchstr.3curses
-waddwchstr.3curses		:= SOSRC = man3curses/curs_addwchstr.3curses
+addwchnstr.3curses		:= LINKSRC = curs_addwchstr.3curses
+addwchstr.3curses		:= LINKSRC = curs_addwchstr.3curses
+mvaddwchnstr.3curses		:= LINKSRC = curs_addwchstr.3curses
+mvaddwchstr.3curses		:= LINKSRC = curs_addwchstr.3curses
+mvwaddwchnstr.3curses		:= LINKSRC = curs_addwchstr.3curses
+mvwaddwchstr.3curses		:= LINKSRC = curs_addwchstr.3curses
+waddwchnstr.3curses		:= LINKSRC = curs_addwchstr.3curses
+waddwchstr.3curses		:= LINKSRC = curs_addwchstr.3curses
 
-addnwstr.3curses		:= SOSRC = man3curses/curs_addwstr.3curses
-addwstr.3curses			:= SOSRC = man3curses/curs_addwstr.3curses
-mvaddnwstr.3curses		:= SOSRC = man3curses/curs_addwstr.3curses
-mvaddwstr.3curses		:= SOSRC = man3curses/curs_addwstr.3curses
-mvwaddnwstr.3curses		:= SOSRC = man3curses/curs_addwstr.3curses
-mvwaddwstr.3curses		:= SOSRC = man3curses/curs_addwstr.3curses
-waddnwstr.3curses		:= SOSRC = man3curses/curs_addwstr.3curses
-waddwstr.3curses		:= SOSRC = man3curses/curs_addwstr.3curses
+addnwstr.3curses		:= LINKSRC = curs_addwstr.3curses
+addwstr.3curses			:= LINKSRC = curs_addwstr.3curses
+mvaddnwstr.3curses		:= LINKSRC = curs_addwstr.3curses
+mvaddwstr.3curses		:= LINKSRC = curs_addwstr.3curses
+mvwaddnwstr.3curses		:= LINKSRC = curs_addwstr.3curses
+mvwaddwstr.3curses		:= LINKSRC = curs_addwstr.3curses
+waddnwstr.3curses		:= LINKSRC = curs_addwstr.3curses
+waddwstr.3curses		:= LINKSRC = curs_addwstr.3curses
 
-adjcurspos.3curses		:= SOSRC = man3curses/curs_alecompat.3curses
-movenextch.3curses		:= SOSRC = man3curses/curs_alecompat.3curses
-moveprevch.3curses		:= SOSRC = man3curses/curs_alecompat.3curses
-wadjcurspos.3curses		:= SOSRC = man3curses/curs_alecompat.3curses
-wmovenextch.3curses		:= SOSRC = man3curses/curs_alecompat.3curses
-wmoveprevch.3curses		:= SOSRC = man3curses/curs_alecompat.3curses
+adjcurspos.3curses		:= LINKSRC = curs_alecompat.3curses
+movenextch.3curses		:= LINKSRC = curs_alecompat.3curses
+moveprevch.3curses		:= LINKSRC = curs_alecompat.3curses
+wadjcurspos.3curses		:= LINKSRC = curs_alecompat.3curses
+wmovenextch.3curses		:= LINKSRC = curs_alecompat.3curses
+wmoveprevch.3curses		:= LINKSRC = curs_alecompat.3curses
 
-attroff.3curses			:= SOSRC = man3curses/curs_attr.3curses
-attron.3curses			:= SOSRC = man3curses/curs_attr.3curses
-attrset.3curses			:= SOSRC = man3curses/curs_attr.3curses
-standend.3curses		:= SOSRC = man3curses/curs_attr.3curses
-standout.3curses		:= SOSRC = man3curses/curs_attr.3curses
-wattroff.3curses		:= SOSRC = man3curses/curs_attr.3curses
-wattron.3curses			:= SOSRC = man3curses/curs_attr.3curses
-wattrset.3curses		:= SOSRC = man3curses/curs_attr.3curses
-wstandend.3curses		:= SOSRC = man3curses/curs_attr.3curses
-wstandout.3curses		:= SOSRC = man3curses/curs_attr.3curses
+attroff.3curses			:= LINKSRC = curs_attr.3curses
+attron.3curses			:= LINKSRC = curs_attr.3curses
+attrset.3curses			:= LINKSRC = curs_attr.3curses
+standend.3curses		:= LINKSRC = curs_attr.3curses
+standout.3curses		:= LINKSRC = curs_attr.3curses
+wattroff.3curses		:= LINKSRC = curs_attr.3curses
+wattron.3curses			:= LINKSRC = curs_attr.3curses
+wattrset.3curses		:= LINKSRC = curs_attr.3curses
+wstandend.3curses		:= LINKSRC = curs_attr.3curses
+wstandout.3curses		:= LINKSRC = curs_attr.3curses
 
-beep.3curses			:= SOSRC = man3curses/curs_beep.3curses
-flash.3curses			:= SOSRC = man3curses/curs_beep.3curses
+beep.3curses			:= LINKSRC = curs_beep.3curses
+flash.3curses			:= LINKSRC = curs_beep.3curses
 
-bkgd.3curses			:= SOSRC = man3curses/curs_bkgd.3curses
-bkgdset.3curses			:= SOSRC = man3curses/curs_bkgd.3curses
-wbkgd.3curses			:= SOSRC = man3curses/curs_bkgd.3curses
-wbkgdset.3curses		:= SOSRC = man3curses/curs_bkgd.3curses
+bkgd.3curses			:= LINKSRC = curs_bkgd.3curses
+bkgdset.3curses			:= LINKSRC = curs_bkgd.3curses
+wbkgd.3curses			:= LINKSRC = curs_bkgd.3curses
+wbkgdset.3curses		:= LINKSRC = curs_bkgd.3curses
 
-border.3curses			:= SOSRC = man3curses/curs_border.3curses
-box.3curses			:= SOSRC = man3curses/curs_border.3curses
-wborder.3curses			:= SOSRC = man3curses/curs_border.3curses
-whline.3curses			:= SOSRC = man3curses/curs_border.3curses
-wvline.3curses			:= SOSRC = man3curses/curs_border.3curses
+border.3curses			:= LINKSRC = curs_border.3curses
+box.3curses			:= LINKSRC = curs_border.3curses
+wborder.3curses			:= LINKSRC = curs_border.3curses
+whline.3curses			:= LINKSRC = curs_border.3curses
+wvline.3curses			:= LINKSRC = curs_border.3curses
 
-clear.3curses			:= SOSRC = man3curses/curs_clear.3curses
-clrtobot.3curses		:= SOSRC = man3curses/curs_clear.3curses
-clrtoeol.3curses		:= SOSRC = man3curses/curs_clear.3curses
-erase.3curses			:= SOSRC = man3curses/curs_clear.3curses
-wclear.3curses			:= SOSRC = man3curses/curs_clear.3curses
-wclrtobot.3curses		:= SOSRC = man3curses/curs_clear.3curses
-wclrtoeol.3curses		:= SOSRC = man3curses/curs_clear.3curses
-werase.3curses			:= SOSRC = man3curses/curs_clear.3curses
+clear.3curses			:= LINKSRC = curs_clear.3curses
+clrtobot.3curses		:= LINKSRC = curs_clear.3curses
+clrtoeol.3curses		:= LINKSRC = curs_clear.3curses
+erase.3curses			:= LINKSRC = curs_clear.3curses
+wclear.3curses			:= LINKSRC = curs_clear.3curses
+wclrtobot.3curses		:= LINKSRC = curs_clear.3curses
+wclrtoeol.3curses		:= LINKSRC = curs_clear.3curses
+werase.3curses			:= LINKSRC = curs_clear.3curses
 
-can_change_color.3curses	:= SOSRC = man3curses/curs_color.3curses
-color_content.3curses		:= SOSRC = man3curses/curs_color.3curses
-has_colors.3curses		:= SOSRC = man3curses/curs_color.3curses
-init_color.3curses		:= SOSRC = man3curses/curs_color.3curses
-init_pair.3curses		:= SOSRC = man3curses/curs_color.3curses
-pair_content.3curses		:= SOSRC = man3curses/curs_color.3curses
-start_color.3curses		:= SOSRC = man3curses/curs_color.3curses
+can_change_color.3curses	:= LINKSRC = curs_color.3curses
+color_content.3curses		:= LINKSRC = curs_color.3curses
+has_colors.3curses		:= LINKSRC = curs_color.3curses
+init_color.3curses		:= LINKSRC = curs_color.3curses
+init_pair.3curses		:= LINKSRC = curs_color.3curses
+pair_content.3curses		:= LINKSRC = curs_color.3curses
+start_color.3curses		:= LINKSRC = curs_color.3curses
 
-delch.3curses			:= SOSRC = man3curses/curs_delch.3curses
-mvdelch.3curses			:= SOSRC = man3curses/curs_delch.3curses
-mvwdelch.3curses		:= SOSRC = man3curses/curs_delch.3curses
-wdelch.3curses			:= SOSRC = man3curses/curs_delch.3curses
+delch.3curses			:= LINKSRC = curs_delch.3curses
+mvdelch.3curses			:= LINKSRC = curs_delch.3curses
+mvwdelch.3curses		:= LINKSRC = curs_delch.3curses
+wdelch.3curses			:= LINKSRC = curs_delch.3curses
 
-deleteln.3curses		:= SOSRC = man3curses/curs_deleteln.3curses
-insdelln.3curses		:= SOSRC = man3curses/curs_deleteln.3curses
-insertln.3curses		:= SOSRC = man3curses/curs_deleteln.3curses
-wdeleteln.3curses		:= SOSRC = man3curses/curs_deleteln.3curses
-winsdelln.3curses		:= SOSRC = man3curses/curs_deleteln.3curses
-winsertln.3curses		:= SOSRC = man3curses/curs_deleteln.3curses
+deleteln.3curses		:= LINKSRC = curs_deleteln.3curses
+insdelln.3curses		:= LINKSRC = curs_deleteln.3curses
+insertln.3curses		:= LINKSRC = curs_deleteln.3curses
+wdeleteln.3curses		:= LINKSRC = curs_deleteln.3curses
+winsdelln.3curses		:= LINKSRC = curs_deleteln.3curses
+winsertln.3curses		:= LINKSRC = curs_deleteln.3curses
 
-getch.3curses			:= SOSRC = man3curses/curs_getch.3curses
-mvgetch.3curses			:= SOSRC = man3curses/curs_getch.3curses
-mvwgetch.3curses		:= SOSRC = man3curses/curs_getch.3curses
-ungetch.3curses			:= SOSRC = man3curses/curs_getch.3curses
-wgetch.3curses			:= SOSRC = man3curses/curs_getch.3curses
+getch.3curses			:= LINKSRC = curs_getch.3curses
+mvgetch.3curses			:= LINKSRC = curs_getch.3curses
+mvwgetch.3curses		:= LINKSRC = curs_getch.3curses
+ungetch.3curses			:= LINKSRC = curs_getch.3curses
+wgetch.3curses			:= LINKSRC = curs_getch.3curses
 
-getstr.3curses			:= SOSRC = man3curses/curs_getstr.3curses
-mvgetstr.3curses		:= SOSRC = man3curses/curs_getstr.3curses
-mvwgetstr.3curses		:= SOSRC = man3curses/curs_getstr.3curses
-wgetnstr.3curses		:= SOSRC = man3curses/curs_getstr.3curses
-wgetstr.3curses			:= SOSRC = man3curses/curs_getstr.3curses
+getstr.3curses			:= LINKSRC = curs_getstr.3curses
+mvgetstr.3curses		:= LINKSRC = curs_getstr.3curses
+mvwgetstr.3curses		:= LINKSRC = curs_getstr.3curses
+wgetnstr.3curses		:= LINKSRC = curs_getstr.3curses
+wgetstr.3curses			:= LINKSRC = curs_getstr.3curses
 
-getwch.3curses			:= SOSRC = man3curses/curs_getwch.3curses
-mvgetwch.3curses		:= SOSRC = man3curses/curs_getwch.3curses
-mvwgetwch.3curses		:= SOSRC = man3curses/curs_getwch.3curses
-ungetwch.3curses		:= SOSRC = man3curses/curs_getwch.3curses
-wgetwch.3curses			:= SOSRC = man3curses/curs_getwch.3curses
+getwch.3curses			:= LINKSRC = curs_getwch.3curses
+mvgetwch.3curses		:= LINKSRC = curs_getwch.3curses
+mvwgetwch.3curses		:= LINKSRC = curs_getwch.3curses
+ungetwch.3curses		:= LINKSRC = curs_getwch.3curses
+wgetwch.3curses			:= LINKSRC = curs_getwch.3curses
 
-getnwstr.3curses		:= SOSRC = man3curses/curs_getwstr.3curses
-getwstr.3curses			:= SOSRC = man3curses/curs_getwstr.3curses
-mvgetnwstr.3curses		:= SOSRC = man3curses/curs_getwstr.3curses
-mvgetwstr.3curses		:= SOSRC = man3curses/curs_getwstr.3curses
-mvwgetnwstr.3curses		:= SOSRC = man3curses/curs_getwstr.3curses
-mvwgetwstr.3curses		:= SOSRC = man3curses/curs_getwstr.3curses
-wgetnwstr.3curses		:= SOSRC = man3curses/curs_getwstr.3curses
-wgetwstr.3curses		:= SOSRC = man3curses/curs_getwstr.3curses
+getnwstr.3curses		:= LINKSRC = curs_getwstr.3curses
+getwstr.3curses			:= LINKSRC = curs_getwstr.3curses
+mvgetnwstr.3curses		:= LINKSRC = curs_getwstr.3curses
+mvgetwstr.3curses		:= LINKSRC = curs_getwstr.3curses
+mvwgetnwstr.3curses		:= LINKSRC = curs_getwstr.3curses
+mvwgetwstr.3curses		:= LINKSRC = curs_getwstr.3curses
+wgetnwstr.3curses		:= LINKSRC = curs_getwstr.3curses
+wgetwstr.3curses		:= LINKSRC = curs_getwstr.3curses
 
-getbegyx.3curses		:= SOSRC = man3curses/curs_getyx.3curses
-getmaxyx.3curses		:= SOSRC = man3curses/curs_getyx.3curses
-getparyx.3curses		:= SOSRC = man3curses/curs_getyx.3curses
-getyx.3curses			:= SOSRC = man3curses/curs_getyx.3curses
+getbegyx.3curses		:= LINKSRC = curs_getyx.3curses
+getmaxyx.3curses		:= LINKSRC = curs_getyx.3curses
+getparyx.3curses		:= LINKSRC = curs_getyx.3curses
+getyx.3curses			:= LINKSRC = curs_getyx.3curses
 
-inch.3curses			:= SOSRC = man3curses/curs_inch.3curses
-mvinch.3curses			:= SOSRC = man3curses/curs_inch.3curses
-mvwinch.3curses			:= SOSRC = man3curses/curs_inch.3curses
-winch.3curses			:= SOSRC = man3curses/curs_inch.3curses
+inch.3curses			:= LINKSRC = curs_inch.3curses
+mvinch.3curses			:= LINKSRC = curs_inch.3curses
+mvwinch.3curses			:= LINKSRC = curs_inch.3curses
+winch.3curses			:= LINKSRC = curs_inch.3curses
 
-inchnstr.3curses		:= SOSRC = man3curses/curs_inchstr.3curses
-inchstr.3curses			:= SOSRC = man3curses/curs_inchstr.3curses
-mvinchnstr.3curses		:= SOSRC = man3curses/curs_inchstr.3curses
-mvinchstr.3curses		:= SOSRC = man3curses/curs_inchstr.3curses
-mvwinchnstr.3curses		:= SOSRC = man3curses/curs_inchstr.3curses
-mvwinchstr.3curses		:= SOSRC = man3curses/curs_inchstr.3curses
-winchnstr.3curses		:= SOSRC = man3curses/curs_inchstr.3curses
-winchstr.3curses		:= SOSRC = man3curses/curs_inchstr.3curses
+inchnstr.3curses		:= LINKSRC = curs_inchstr.3curses
+inchstr.3curses			:= LINKSRC = curs_inchstr.3curses
+mvinchnstr.3curses		:= LINKSRC = curs_inchstr.3curses
+mvinchstr.3curses		:= LINKSRC = curs_inchstr.3curses
+mvwinchnstr.3curses		:= LINKSRC = curs_inchstr.3curses
+mvwinchstr.3curses		:= LINKSRC = curs_inchstr.3curses
+winchnstr.3curses		:= LINKSRC = curs_inchstr.3curses
+winchstr.3curses		:= LINKSRC = curs_inchstr.3curses
 
-delscreen.3curses		:= SOSRC = man3curses/curs_initscr.3curses
-endwin.3curses			:= SOSRC = man3curses/curs_initscr.3curses
-initscr.3curses			:= SOSRC = man3curses/curs_initscr.3curses
-isendwin.3curses		:= SOSRC = man3curses/curs_initscr.3curses
-newterm.3curses			:= SOSRC = man3curses/curs_initscr.3curses
-set_term.3curses		:= SOSRC = man3curses/curs_initscr.3curses
+delscreen.3curses		:= LINKSRC = curs_initscr.3curses
+endwin.3curses			:= LINKSRC = curs_initscr.3curses
+initscr.3curses			:= LINKSRC = curs_initscr.3curses
+isendwin.3curses		:= LINKSRC = curs_initscr.3curses
+newterm.3curses			:= LINKSRC = curs_initscr.3curses
+set_term.3curses		:= LINKSRC = curs_initscr.3curses
 
-cbreak.3curses			:= SOSRC = man3curses/curs_inopts.3curses
-echo.3curses			:= SOSRC = man3curses/curs_inopts.3curses
-halfdelay.3curses		:= SOSRC = man3curses/curs_inopts.3curses
-intrflush.3curses		:= SOSRC = man3curses/curs_inopts.3curses
-keypad.3curses			:= SOSRC = man3curses/curs_inopts.3curses
-meta.3curses			:= SOSRC = man3curses/curs_inopts.3curses
-nocbreak.3curses		:= SOSRC = man3curses/curs_inopts.3curses
-nodelay.3curses			:= SOSRC = man3curses/curs_inopts.3curses
-noecho.3curses			:= SOSRC = man3curses/curs_inopts.3curses
-noqiflush.3curses		:= SOSRC = man3curses/curs_inopts.3curses
-noraw.3curses			:= SOSRC = man3curses/curs_inopts.3curses
-notimeout.3curses		:= SOSRC = man3curses/curs_inopts.3curses
-qiflush.3curses			:= SOSRC = man3curses/curs_inopts.3curses
-raw.3curses			:= SOSRC = man3curses/curs_inopts.3curses
-timeout.3curses			:= SOSRC = man3curses/curs_inopts.3curses
-typeahead.3curses		:= SOSRC = man3curses/curs_inopts.3curses
-wtimeout.3curses		:= SOSRC = man3curses/curs_inopts.3curses
+cbreak.3curses			:= LINKSRC = curs_inopts.3curses
+echo.3curses			:= LINKSRC = curs_inopts.3curses
+halfdelay.3curses		:= LINKSRC = curs_inopts.3curses
+intrflush.3curses		:= LINKSRC = curs_inopts.3curses
+keypad.3curses			:= LINKSRC = curs_inopts.3curses
+meta.3curses			:= LINKSRC = curs_inopts.3curses
+nocbreak.3curses		:= LINKSRC = curs_inopts.3curses
+nodelay.3curses			:= LINKSRC = curs_inopts.3curses
+noecho.3curses			:= LINKSRC = curs_inopts.3curses
+noqiflush.3curses		:= LINKSRC = curs_inopts.3curses
+noraw.3curses			:= LINKSRC = curs_inopts.3curses
+notimeout.3curses		:= LINKSRC = curs_inopts.3curses
+qiflush.3curses			:= LINKSRC = curs_inopts.3curses
+raw.3curses			:= LINKSRC = curs_inopts.3curses
+timeout.3curses			:= LINKSRC = curs_inopts.3curses
+typeahead.3curses		:= LINKSRC = curs_inopts.3curses
+wtimeout.3curses		:= LINKSRC = curs_inopts.3curses
 
-insch.3curses			:= SOSRC = man3curses/curs_insch.3curses
-mvinsch.3curses			:= SOSRC = man3curses/curs_insch.3curses
-mvwinsch.3curses		:= SOSRC = man3curses/curs_insch.3curses
-winsch.3curses			:= SOSRC = man3curses/curs_insch.3curses
+insch.3curses			:= LINKSRC = curs_insch.3curses
+mvinsch.3curses			:= LINKSRC = curs_insch.3curses
+mvwinsch.3curses		:= LINKSRC = curs_insch.3curses
+winsch.3curses			:= LINKSRC = curs_insch.3curses
 
-insnstr.3curses			:= SOSRC = man3curses/curs_insstr.3curses
-insstr.3curses			:= SOSRC = man3curses/curs_insstr.3curses
-mvinsnstr.3curses		:= SOSRC = man3curses/curs_insstr.3curses
-mvinsstr.3curses		:= SOSRC = man3curses/curs_insstr.3curses
-mvwinsnstr.3curses		:= SOSRC = man3curses/curs_insstr.3curses
-mvwinsstr.3curses		:= SOSRC = man3curses/curs_insstr.3curses
-winsnstr.3curses		:= SOSRC = man3curses/curs_insstr.3curses
-winsstr.3curses			:= SOSRC = man3curses/curs_insstr.3curses
+insnstr.3curses			:= LINKSRC = curs_insstr.3curses
+insstr.3curses			:= LINKSRC = curs_insstr.3curses
+mvinsnstr.3curses		:= LINKSRC = curs_insstr.3curses
+mvinsstr.3curses		:= LINKSRC = curs_insstr.3curses
+mvwinsnstr.3curses		:= LINKSRC = curs_insstr.3curses
+mvwinsstr.3curses		:= LINKSRC = curs_insstr.3curses
+winsnstr.3curses		:= LINKSRC = curs_insstr.3curses
+winsstr.3curses			:= LINKSRC = curs_insstr.3curses
 
-innstr.3curses			:= SOSRC = man3curses/curs_instr.3curses
-instr.3curses			:= SOSRC = man3curses/curs_instr.3curses
-mvinnstr.3curses		:= SOSRC = man3curses/curs_instr.3curses
-mvinstr.3curses			:= SOSRC = man3curses/curs_instr.3curses
-mvwinnstr.3curses		:= SOSRC = man3curses/curs_instr.3curses
-mvwinstr.3curses		:= SOSRC = man3curses/curs_instr.3curses
-winnstr.3curses			:= SOSRC = man3curses/curs_instr.3curses
-winstr.3curses			:= SOSRC = man3curses/curs_instr.3curses
+innstr.3curses			:= LINKSRC = curs_instr.3curses
+instr.3curses			:= LINKSRC = curs_instr.3curses
+mvinnstr.3curses		:= LINKSRC = curs_instr.3curses
+mvinstr.3curses			:= LINKSRC = curs_instr.3curses
+mvwinnstr.3curses		:= LINKSRC = curs_instr.3curses
+mvwinstr.3curses		:= LINKSRC = curs_instr.3curses
+winnstr.3curses			:= LINKSRC = curs_instr.3curses
+winstr.3curses			:= LINKSRC = curs_instr.3curses
 
-inswch.3curses			:= SOSRC = man3curses/curs_inswch.3curses
-mvinswch.3curses		:= SOSRC = man3curses/curs_inswch.3curses
-mvwinswch.3curses		:= SOSRC = man3curses/curs_inswch.3curses
-winswch.3curses			:= SOSRC = man3curses/curs_inswch.3curses
+inswch.3curses			:= LINKSRC = curs_inswch.3curses
+mvinswch.3curses		:= LINKSRC = curs_inswch.3curses
+mvwinswch.3curses		:= LINKSRC = curs_inswch.3curses
+winswch.3curses			:= LINKSRC = curs_inswch.3curses
 
-insnwstr.3curses		:= SOSRC = man3curses/curs_inswstr.3curses
-inswstr.3curses			:= SOSRC = man3curses/curs_inswstr.3curses
-mvinsnwstr.3curses		:= SOSRC = man3curses/curs_inswstr.3curses
-mvinswstr.3curses		:= SOSRC = man3curses/curs_inswstr.3curses
-mvwinsnwstr.3curses		:= SOSRC = man3curses/curs_inswstr.3curses
-mvwinswstr.3curses		:= SOSRC = man3curses/curs_inswstr.3curses
-winsnwstr.3curses		:= SOSRC = man3curses/curs_inswstr.3curses
-winswstr.3curses		:= SOSRC = man3curses/curs_inswstr.3curses
+insnwstr.3curses		:= LINKSRC = curs_inswstr.3curses
+inswstr.3curses			:= LINKSRC = curs_inswstr.3curses
+mvinsnwstr.3curses		:= LINKSRC = curs_inswstr.3curses
+mvinswstr.3curses		:= LINKSRC = curs_inswstr.3curses
+mvwinsnwstr.3curses		:= LINKSRC = curs_inswstr.3curses
+mvwinswstr.3curses		:= LINKSRC = curs_inswstr.3curses
+winsnwstr.3curses		:= LINKSRC = curs_inswstr.3curses
+winswstr.3curses		:= LINKSRC = curs_inswstr.3curses
 
-inwch.3curses			:= SOSRC = man3curses/curs_inwch.3curses
-mvinwch.3curses			:= SOSRC = man3curses/curs_inwch.3curses
-mvwinwch.3curses		:= SOSRC = man3curses/curs_inwch.3curses
-winwch.3curses			:= SOSRC = man3curses/curs_inwch.3curses
+inwch.3curses			:= LINKSRC = curs_inwch.3curses
+mvinwch.3curses			:= LINKSRC = curs_inwch.3curses
+mvwinwch.3curses		:= LINKSRC = curs_inwch.3curses
+winwch.3curses			:= LINKSRC = curs_inwch.3curses
 
-inwchnstr.3curses		:= SOSRC = man3curses/curs_inwchstr.3curses
-inwchstr.3curses		:= SOSRC = man3curses/curs_inwchstr.3curses
-mvinwchnstr.3curses		:= SOSRC = man3curses/curs_inwchstr.3curses
-mvinwchstr.3curses		:= SOSRC = man3curses/curs_inwchstr.3curses
-mvwinwchnstr.3curses		:= SOSRC = man3curses/curs_inwchstr.3curses
-mvwinwchstr.3curses		:= SOSRC = man3curses/curs_inwchstr.3curses
-winwchnstr.3curses		:= SOSRC = man3curses/curs_inwchstr.3curses
-winwchstr.3curses		:= SOSRC = man3curses/curs_inwchstr.3curses
+inwchnstr.3curses		:= LINKSRC = curs_inwchstr.3curses
+inwchstr.3curses		:= LINKSRC = curs_inwchstr.3curses
+mvinwchnstr.3curses		:= LINKSRC = curs_inwchstr.3curses
+mvinwchstr.3curses		:= LINKSRC = curs_inwchstr.3curses
+mvwinwchnstr.3curses		:= LINKSRC = curs_inwchstr.3curses
+mvwinwchstr.3curses		:= LINKSRC = curs_inwchstr.3curses
+winwchnstr.3curses		:= LINKSRC = curs_inwchstr.3curses
+winwchstr.3curses		:= LINKSRC = curs_inwchstr.3curses
 
-innwstr.3curses			:= SOSRC = man3curses/curs_inwstr.3curses
-inwstr.3curses			:= SOSRC = man3curses/curs_inwstr.3curses
-mvinnwstr.3curses		:= SOSRC = man3curses/curs_inwstr.3curses
-mvinwstr.3curses		:= SOSRC = man3curses/curs_inwstr.3curses
-mvwinnwstr.3curses		:= SOSRC = man3curses/curs_inwstr.3curses
-mvwinwstr.3curses		:= SOSRC = man3curses/curs_inwstr.3curses
-winnwstr.3curses		:= SOSRC = man3curses/curs_inwstr.3curses
-winwstr.3curses			:= SOSRC = man3curses/curs_inwstr.3curses
+innwstr.3curses			:= LINKSRC = curs_inwstr.3curses
+inwstr.3curses			:= LINKSRC = curs_inwstr.3curses
+mvinnwstr.3curses		:= LINKSRC = curs_inwstr.3curses
+mvinwstr.3curses		:= LINKSRC = curs_inwstr.3curses
+mvwinnwstr.3curses		:= LINKSRC = curs_inwstr.3curses
+mvwinwstr.3curses		:= LINKSRC = curs_inwstr.3curses
+winnwstr.3curses		:= LINKSRC = curs_inwstr.3curses
+winwstr.3curses			:= LINKSRC = curs_inwstr.3curses
 
-curs_set.3curses		:= SOSRC = man3curses/curs_kernel.3curses
-def_prog_mode.3curses		:= SOSRC = man3curses/curs_kernel.3curses
-def_shell_mode.3curses		:= SOSRC = man3curses/curs_kernel.3curses
-getsyx.3curses			:= SOSRC = man3curses/curs_kernel.3curses
-napms.3curses			:= SOSRC = man3curses/curs_kernel.3curses
-reset_prog_mode.3curses		:= SOSRC = man3curses/curs_kernel.3curses
-reset_shell_mode.3curses	:= SOSRC = man3curses/curs_kernel.3curses
-resetty.3curses			:= SOSRC = man3curses/curs_kernel.3curses
-ripoffline.3curses		:= SOSRC = man3curses/curs_kernel.3curses
-savetty.3curses			:= SOSRC = man3curses/curs_kernel.3curses
-setsyx.3curses			:= SOSRC = man3curses/curs_kernel.3curses
+curs_set.3curses		:= LINKSRC = curs_kernel.3curses
+def_prog_mode.3curses		:= LINKSRC = curs_kernel.3curses
+def_shell_mode.3curses		:= LINKSRC = curs_kernel.3curses
+getsyx.3curses			:= LINKSRC = curs_kernel.3curses
+napms.3curses			:= LINKSRC = curs_kernel.3curses
+reset_prog_mode.3curses		:= LINKSRC = curs_kernel.3curses
+reset_shell_mode.3curses	:= LINKSRC = curs_kernel.3curses
+resetty.3curses			:= LINKSRC = curs_kernel.3curses
+ripoffline.3curses		:= LINKSRC = curs_kernel.3curses
+savetty.3curses			:= LINKSRC = curs_kernel.3curses
+setsyx.3curses			:= LINKSRC = curs_kernel.3curses
 
-move.3curses			:= SOSRC = man3curses/curs_move.3curses
-wmove.3curses			:= SOSRC = man3curses/curs_move.3curses
+move.3curses			:= LINKSRC = curs_move.3curses
+wmove.3curses			:= LINKSRC = curs_move.3curses
 
-clearok.3curses			:= SOSRC = man3curses/curs_outopts.3curses
-idcok.3curses			:= SOSRC = man3curses/curs_outopts.3curses
-idlok.3curses			:= SOSRC = man3curses/curs_outopts.3curses
-immedok.3curses			:= SOSRC = man3curses/curs_outopts.3curses
-leaveok.3curses			:= SOSRC = man3curses/curs_outopts.3curses
-nl.3curses			:= SOSRC = man3curses/curs_outopts.3curses
-nonl.3curses			:= SOSRC = man3curses/curs_outopts.3curses
-scrollok.3curses		:= SOSRC = man3curses/curs_outopts.3curses
-setscrreg.3curses		:= SOSRC = man3curses/curs_outopts.3curses
-wsetscrreg.3curses		:= SOSRC = man3curses/curs_outopts.3curses
+clearok.3curses			:= LINKSRC = curs_outopts.3curses
+idcok.3curses			:= LINKSRC = curs_outopts.3curses
+idlok.3curses			:= LINKSRC = curs_outopts.3curses
+immedok.3curses			:= LINKSRC = curs_outopts.3curses
+leaveok.3curses			:= LINKSRC = curs_outopts.3curses
+nl.3curses			:= LINKSRC = curs_outopts.3curses
+nonl.3curses			:= LINKSRC = curs_outopts.3curses
+scrollok.3curses		:= LINKSRC = curs_outopts.3curses
+setscrreg.3curses		:= LINKSRC = curs_outopts.3curses
+wsetscrreg.3curses		:= LINKSRC = curs_outopts.3curses
 
-copywin.3curses			:= SOSRC = man3curses/curs_overlay.3curses
-overlay.3curses			:= SOSRC = man3curses/curs_overlay.3curses
-overwrite.3curses		:= SOSRC = man3curses/curs_overlay.3curses
+copywin.3curses			:= LINKSRC = curs_overlay.3curses
+overlay.3curses			:= LINKSRC = curs_overlay.3curses
+overwrite.3curses		:= LINKSRC = curs_overlay.3curses
 
-newpad.3curses			:= SOSRC = man3curses/curs_pad.3curses
-pechochar.3curses		:= SOSRC = man3curses/curs_pad.3curses
-pechowchar.3curses		:= SOSRC = man3curses/curs_pad.3curses
-pnoutrefresh.3curses		:= SOSRC = man3curses/curs_pad.3curses
-prefresh.3curses		:= SOSRC = man3curses/curs_pad.3curses
-subpad.3curses			:= SOSRC = man3curses/curs_pad.3curses
+newpad.3curses			:= LINKSRC = curs_pad.3curses
+pechochar.3curses		:= LINKSRC = curs_pad.3curses
+pechowchar.3curses		:= LINKSRC = curs_pad.3curses
+pnoutrefresh.3curses		:= LINKSRC = curs_pad.3curses
+prefresh.3curses		:= LINKSRC = curs_pad.3curses
+subpad.3curses			:= LINKSRC = curs_pad.3curses
 
-mvprintw.3curses		:= SOSRC = man3curses/curs_printw.3curses
-mvwprintw.3curses		:= SOSRC = man3curses/curs_printw.3curses
-printw.3curses			:= SOSRC = man3curses/curs_printw.3curses
-vwprintw.3curses		:= SOSRC = man3curses/curs_printw.3curses
-wprintw.3curses			:= SOSRC = man3curses/curs_printw.3curses
+mvprintw.3curses		:= LINKSRC = curs_printw.3curses
+mvwprintw.3curses		:= LINKSRC = curs_printw.3curses
+printw.3curses			:= LINKSRC = curs_printw.3curses
+vwprintw.3curses		:= LINKSRC = curs_printw.3curses
+wprintw.3curses			:= LINKSRC = curs_printw.3curses
 
-doupdate.3curses		:= SOSRC = man3curses/curs_refresh.3curses
-redrawwin.3curses		:= SOSRC = man3curses/curs_refresh.3curses
-refresh.3curses			:= SOSRC = man3curses/curs_refresh.3curses
-wnoutrefresh.3curses		:= SOSRC = man3curses/curs_refresh.3curses
-wredrawln.3curses		:= SOSRC = man3curses/curs_refresh.3curses
-wrefresh.3curses		:= SOSRC = man3curses/curs_refresh.3curses
+doupdate.3curses		:= LINKSRC = curs_refresh.3curses
+redrawwin.3curses		:= LINKSRC = curs_refresh.3curses
+refresh.3curses			:= LINKSRC = curs_refresh.3curses
+wnoutrefresh.3curses		:= LINKSRC = curs_refresh.3curses
+wredrawln.3curses		:= LINKSRC = curs_refresh.3curses
+wrefresh.3curses		:= LINKSRC = curs_refresh.3curses
 
-mvscanw.3curses			:= SOSRC = man3curses/curs_scanw.3curses
-mvwscanw.3curses		:= SOSRC = man3curses/curs_scanw.3curses
-scanw.3curses			:= SOSRC = man3curses/curs_scanw.3curses
-vwscanw.3curses			:= SOSRC = man3curses/curs_scanw.3curses
-wscanw.3curses			:= SOSRC = man3curses/curs_scanw.3curses
+mvscanw.3curses			:= LINKSRC = curs_scanw.3curses
+mvwscanw.3curses		:= LINKSRC = curs_scanw.3curses
+scanw.3curses			:= LINKSRC = curs_scanw.3curses
+vwscanw.3curses			:= LINKSRC = curs_scanw.3curses
+wscanw.3curses			:= LINKSRC = curs_scanw.3curses
 
-scr_dump.3curses		:= SOSRC = man3curses/curs_scr_dump.3curses
-scr_init.3curses		:= SOSRC = man3curses/curs_scr_dump.3curses
-scr_restore.3curses		:= SOSRC = man3curses/curs_scr_dump.3curses
-scr_set.3curses			:= SOSRC = man3curses/curs_scr_dump.3curses
+scr_dump.3curses		:= LINKSRC = curs_scr_dump.3curses
+scr_init.3curses		:= LINKSRC = curs_scr_dump.3curses
+scr_restore.3curses		:= LINKSRC = curs_scr_dump.3curses
+scr_set.3curses			:= LINKSRC = curs_scr_dump.3curses
 
-scrl.3curses			:= SOSRC = man3curses/curs_scroll.3curses
-scroll.3curses			:= SOSRC = man3curses/curs_scroll.3curses
-wscrl.3curses			:= SOSRC = man3curses/curs_scroll.3curses
+scrl.3curses			:= LINKSRC = curs_scroll.3curses
+scroll.3curses			:= LINKSRC = curs_scroll.3curses
+wscrl.3curses			:= LINKSRC = curs_scroll.3curses
 
-slk_attroff.3curses		:= SOSRC = man3curses/curs_slk.3curses
-slk_attron.3curses		:= SOSRC = man3curses/curs_slk.3curses
-slk_attrset.3curses		:= SOSRC = man3curses/curs_slk.3curses
-slk_clear.3curses		:= SOSRC = man3curses/curs_slk.3curses
-slk_init.3curses		:= SOSRC = man3curses/curs_slk.3curses
-slk_label.3curses		:= SOSRC = man3curses/curs_slk.3curses
-slk_noutrefresh.3curses		:= SOSRC = man3curses/curs_slk.3curses
-slk_refresh.3curses		:= SOSRC = man3curses/curs_slk.3curses
-slk_restore.3curses		:= SOSRC = man3curses/curs_slk.3curses
-slk_set.3curses			:= SOSRC = man3curses/curs_slk.3curses
-slk_touch.3curses		:= SOSRC = man3curses/curs_slk.3curses
+slk_attroff.3curses		:= LINKSRC = curs_slk.3curses
+slk_attron.3curses		:= LINKSRC = curs_slk.3curses
+slk_attrset.3curses		:= LINKSRC = curs_slk.3curses
+slk_clear.3curses		:= LINKSRC = curs_slk.3curses
+slk_init.3curses		:= LINKSRC = curs_slk.3curses
+slk_label.3curses		:= LINKSRC = curs_slk.3curses
+slk_noutrefresh.3curses		:= LINKSRC = curs_slk.3curses
+slk_refresh.3curses		:= LINKSRC = curs_slk.3curses
+slk_restore.3curses		:= LINKSRC = curs_slk.3curses
+slk_set.3curses			:= LINKSRC = curs_slk.3curses
+slk_touch.3curses		:= LINKSRC = curs_slk.3curses
 
-baudrate.3curses		:= SOSRC = man3curses/curs_termattrs.3curses
-erasechar.3curses		:= SOSRC = man3curses/curs_termattrs.3curses
-has_ic.3curses			:= SOSRC = man3curses/curs_termattrs.3curses
-has_il.3curses			:= SOSRC = man3curses/curs_termattrs.3curses
-killchar.3curses		:= SOSRC = man3curses/curs_termattrs.3curses
-longname.3curses		:= SOSRC = man3curses/curs_termattrs.3curses
-termattrs.3curses		:= SOSRC = man3curses/curs_termattrs.3curses
-termname.3curses		:= SOSRC = man3curses/curs_termattrs.3curses
+baudrate.3curses		:= LINKSRC = curs_termattrs.3curses
+erasechar.3curses		:= LINKSRC = curs_termattrs.3curses
+has_ic.3curses			:= LINKSRC = curs_termattrs.3curses
+has_il.3curses			:= LINKSRC = curs_termattrs.3curses
+killchar.3curses		:= LINKSRC = curs_termattrs.3curses
+longname.3curses		:= LINKSRC = curs_termattrs.3curses
+termattrs.3curses		:= LINKSRC = curs_termattrs.3curses
+termname.3curses		:= LINKSRC = curs_termattrs.3curses
 
-tgetent.3curses			:= SOSRC = man3curses/curs_termcap.3curses
-tgetflag.3curses		:= SOSRC = man3curses/curs_termcap.3curses
-tgetnum.3curses			:= SOSRC = man3curses/curs_termcap.3curses
-tgetstr.3curses			:= SOSRC = man3curses/curs_termcap.3curses
-tgoto.3curses			:= SOSRC = man3curses/curs_termcap.3curses
+tgetent.3curses			:= LINKSRC = curs_termcap.3curses
+tgetflag.3curses		:= LINKSRC = curs_termcap.3curses
+tgetnum.3curses			:= LINKSRC = curs_termcap.3curses
+tgetstr.3curses			:= LINKSRC = curs_termcap.3curses
+tgoto.3curses			:= LINKSRC = curs_termcap.3curses
 
-del_curterm.3curses		:= SOSRC = man3curses/curs_terminfo.3curses
-mvcur.3curses			:= SOSRC = man3curses/curs_terminfo.3curses
-putp.3curses			:= SOSRC = man3curses/curs_terminfo.3curses
-restartterm.3curses		:= SOSRC = man3curses/curs_terminfo.3curses
-set_curterm.3curses		:= SOSRC = man3curses/curs_terminfo.3curses
-setterm.3curses			:= SOSRC = man3curses/curs_terminfo.3curses
-setupterm.3curses		:= SOSRC = man3curses/curs_terminfo.3curses
-tigetflag.3curses		:= SOSRC = man3curses/curs_terminfo.3curses
-tigetnum.3curses		:= SOSRC = man3curses/curs_terminfo.3curses
-tigetstr.3curses		:= SOSRC = man3curses/curs_terminfo.3curses
-tparm.3curses			:= SOSRC = man3curses/curs_terminfo.3curses
-tputs.3curses			:= SOSRC = man3curses/curs_terminfo.3curses
-vidattr.3curses			:= SOSRC = man3curses/curs_terminfo.3curses
-vidputs.3curses			:= SOSRC = man3curses/curs_terminfo.3curses
+del_curterm.3curses		:= LINKSRC = curs_terminfo.3curses
+mvcur.3curses			:= LINKSRC = curs_terminfo.3curses
+putp.3curses			:= LINKSRC = curs_terminfo.3curses
+restartterm.3curses		:= LINKSRC = curs_terminfo.3curses
+set_curterm.3curses		:= LINKSRC = curs_terminfo.3curses
+setterm.3curses			:= LINKSRC = curs_terminfo.3curses
+setupterm.3curses		:= LINKSRC = curs_terminfo.3curses
+tigetflag.3curses		:= LINKSRC = curs_terminfo.3curses
+tigetnum.3curses		:= LINKSRC = curs_terminfo.3curses
+tigetstr.3curses		:= LINKSRC = curs_terminfo.3curses
+tparm.3curses			:= LINKSRC = curs_terminfo.3curses
+tputs.3curses			:= LINKSRC = curs_terminfo.3curses
+vidattr.3curses			:= LINKSRC = curs_terminfo.3curses
+vidputs.3curses			:= LINKSRC = curs_terminfo.3curses
 
-is_linetouched.3curses		:= SOSRC = man3curses/curs_touch.3curses
-is_wintouched.3curses		:= SOSRC = man3curses/curs_touch.3curses
-touchline.3curses		:= SOSRC = man3curses/curs_touch.3curses
-touchwin.3curses		:= SOSRC = man3curses/curs_touch.3curses
-untouchwin.3curses		:= SOSRC = man3curses/curs_touch.3curses
-wtouchln.3curses		:= SOSRC = man3curses/curs_touch.3curses
+is_linetouched.3curses		:= LINKSRC = curs_touch.3curses
+is_wintouched.3curses		:= LINKSRC = curs_touch.3curses
+touchline.3curses		:= LINKSRC = curs_touch.3curses
+touchwin.3curses		:= LINKSRC = curs_touch.3curses
+untouchwin.3curses		:= LINKSRC = curs_touch.3curses
+wtouchln.3curses		:= LINKSRC = curs_touch.3curses
 
-delay_output.3curses		:= SOSRC = man3curses/curs_util.3curses
-filter.3curses			:= SOSRC = man3curses/curs_util.3curses
-flushinp.3curses		:= SOSRC = man3curses/curs_util.3curses
-getwin.3curses			:= SOSRC = man3curses/curs_util.3curses
-keyname.3curses			:= SOSRC = man3curses/curs_util.3curses
-putwin.3curses			:= SOSRC = man3curses/curs_util.3curses
-unctrl.3curses			:= SOSRC = man3curses/curs_util.3curses
-use_env.3curses			:= SOSRC = man3curses/curs_util.3curses
+delay_output.3curses		:= LINKSRC = curs_util.3curses
+filter.3curses			:= LINKSRC = curs_util.3curses
+flushinp.3curses		:= LINKSRC = curs_util.3curses
+getwin.3curses			:= LINKSRC = curs_util.3curses
+keyname.3curses			:= LINKSRC = curs_util.3curses
+putwin.3curses			:= LINKSRC = curs_util.3curses
+unctrl.3curses			:= LINKSRC = curs_util.3curses
+use_env.3curses			:= LINKSRC = curs_util.3curses
 
-delwin.3curses			:= SOSRC = man3curses/curs_window.3curses
-derwin.3curses			:= SOSRC = man3curses/curs_window.3curses
-dupwin.3curses			:= SOSRC = man3curses/curs_window.3curses
-mvderwin.3curses		:= SOSRC = man3curses/curs_window.3curses
-mvwin.3curses			:= SOSRC = man3curses/curs_window.3curses
-newwin.3curses			:= SOSRC = man3curses/curs_window.3curses
-subwin.3curses			:= SOSRC = man3curses/curs_window.3curses
-syncok.3curses			:= SOSRC = man3curses/curs_window.3curses
-wcursyncup.3curses		:= SOSRC = man3curses/curs_window.3curses
-wsyncdown.3curses		:= SOSRC = man3curses/curs_window.3curses
-wsyncup.3curses			:= SOSRC = man3curses/curs_window.3curses
+delwin.3curses			:= LINKSRC = curs_window.3curses
+derwin.3curses			:= LINKSRC = curs_window.3curses
+dupwin.3curses			:= LINKSRC = curs_window.3curses
+mvderwin.3curses		:= LINKSRC = curs_window.3curses
+mvwin.3curses			:= LINKSRC = curs_window.3curses
+newwin.3curses			:= LINKSRC = curs_window.3curses
+subwin.3curses			:= LINKSRC = curs_window.3curses
+syncok.3curses			:= LINKSRC = curs_window.3curses
+wcursyncup.3curses		:= LINKSRC = curs_window.3curses
+wsyncdown.3curses		:= LINKSRC = curs_window.3curses
+wsyncup.3curses			:= LINKSRC = curs_window.3curses
 
-pos_form_cursor.3curses		:= SOSRC = man3curses/form_cursor.3curses
+pos_form_cursor.3curses		:= LINKSRC = form_cursor.3curses
 
-data_ahead.3curses		:= SOSRC = man3curses/form_data.3curses
-data_behind.3curses		:= SOSRC = man3curses/form_data.3curses
+data_ahead.3curses		:= LINKSRC = form_data.3curses
+data_behind.3curses		:= LINKSRC = form_data.3curses
 
-field_count.3curses		:= SOSRC = man3curses/form_field.3curses
-form_fields.3curses		:= SOSRC = man3curses/form_field.3curses
-move_field.3curses		:= SOSRC = man3curses/form_field.3curses
-set_form_fields.3curses		:= SOSRC = man3curses/form_field.3curses
+field_count.3curses		:= LINKSRC = form_field.3curses
+form_fields.3curses		:= LINKSRC = form_field.3curses
+move_field.3curses		:= LINKSRC = form_field.3curses
+set_form_fields.3curses		:= LINKSRC = form_field.3curses
 
-field_back.3curses		:= SOSRC = man3curses/form_field_attributes.3curses
-field_fore.3curses		:= SOSRC = man3curses/form_field_attributes.3curses
-field_pad.3curses		:= SOSRC = man3curses/form_field_attributes.3curses
-set_field_back.3curses		:= SOSRC = man3curses/form_field_attributes.3curses
-set_field_fore.3curses		:= SOSRC = man3curses/form_field_attributes.3curses
-set_field_pad.3curses		:= SOSRC = man3curses/form_field_attributes.3curses
+field_back.3curses		:= LINKSRC = form_field_attributes.3curses
+field_fore.3curses		:= LINKSRC = form_field_attributes.3curses
+field_pad.3curses		:= LINKSRC = form_field_attributes.3curses
+set_field_back.3curses		:= LINKSRC = form_field_attributes.3curses
+set_field_fore.3curses		:= LINKSRC = form_field_attributes.3curses
+set_field_pad.3curses		:= LINKSRC = form_field_attributes.3curses
 
-field_buffer.3curses		:= SOSRC = man3curses/form_field_buffer.3curses
-field_status.3curses		:= SOSRC = man3curses/form_field_buffer.3curses
-set_field_buffer.3curses	:= SOSRC = man3curses/form_field_buffer.3curses
-set_field_status.3curses	:= SOSRC = man3curses/form_field_buffer.3curses
-set_max_field.3curses		:= SOSRC = man3curses/form_field_buffer.3curses
+field_buffer.3curses		:= LINKSRC = form_field_buffer.3curses
+field_status.3curses		:= LINKSRC = form_field_buffer.3curses
+set_field_buffer.3curses	:= LINKSRC = form_field_buffer.3curses
+set_field_status.3curses	:= LINKSRC = form_field_buffer.3curses
+set_max_field.3curses		:= LINKSRC = form_field_buffer.3curses
 
-dynamic_field_info.3curses	:= SOSRC = man3curses/form_field_info.3curses
-field_info.3curses		:= SOSRC = man3curses/form_field_info.3curses
-field_just.3curses		:= SOSRC = man3curses/form_field_just.3curses
-set_field_just.3curses		:= SOSRC = man3curses/form_field_just.3curses
+dynamic_field_info.3curses	:= LINKSRC = form_field_info.3curses
+field_info.3curses		:= LINKSRC = form_field_info.3curses
+field_just.3curses		:= LINKSRC = form_field_just.3curses
+set_field_just.3curses		:= LINKSRC = form_field_just.3curses
 
-dup_field.3curses		:= SOSRC = man3curses/form_field_new.3curses
-free_field.3curses		:= SOSRC = man3curses/form_field_new.3curses
-link_field.3curses		:= SOSRC = man3curses/form_field_new.3curses
-new_field.3curses		:= SOSRC = man3curses/form_field_new.3curses
+dup_field.3curses		:= LINKSRC = form_field_new.3curses
+free_field.3curses		:= LINKSRC = form_field_new.3curses
+link_field.3curses		:= LINKSRC = form_field_new.3curses
+new_field.3curses		:= LINKSRC = form_field_new.3curses
 
-field_opts.3curses		:= SOSRC = man3curses/form_field_opts.3curses
-field_opts_off.3curses		:= SOSRC = man3curses/form_field_opts.3curses
-field_opts_on.3curses		:= SOSRC = man3curses/form_field_opts.3curses
-set_field_opts.3curses		:= SOSRC = man3curses/form_field_opts.3curses
+field_opts.3curses		:= LINKSRC = form_field_opts.3curses
+field_opts_off.3curses		:= LINKSRC = form_field_opts.3curses
+field_opts_on.3curses		:= LINKSRC = form_field_opts.3curses
+set_field_opts.3curses		:= LINKSRC = form_field_opts.3curses
 
-field_userptr.3curses		:= SOSRC = man3curses/form_field_userptr.3curses
-set_field_userptr.3curses	:= SOSRC = man3curses/form_field_userptr.3curses
+field_userptr.3curses		:= LINKSRC = form_field_userptr.3curses
+set_field_userptr.3curses	:= LINKSRC = form_field_userptr.3curses
 
-field_arg.3curses		:= SOSRC = man3curses/form_field_validation.3curses
-field_type.3curses		:= SOSRC = man3curses/form_field_validation.3curses
-set_field_type.3curses		:= SOSRC = man3curses/form_field_validation.3curses
+field_arg.3curses		:= LINKSRC = form_field_validation.3curses
+field_type.3curses		:= LINKSRC = form_field_validation.3curses
+set_field_type.3curses		:= LINKSRC = form_field_validation.3curses
 
-free_fieldtype.3curses		:= SOSRC = man3curses/form_fieldtype.3curses
-link_fieldtype.3curses		:= SOSRC = man3curses/form_fieldtype.3curses
-new_fieldtype.3curses		:= SOSRC = man3curses/form_fieldtype.3curses
-set_fieldtype_arg.3curses	:= SOSRC = man3curses/form_fieldtype.3curses
-set_fieldtype_choice.3curses	:= SOSRC = man3curses/form_fieldtype.3curses
+free_fieldtype.3curses		:= LINKSRC = form_fieldtype.3curses
+link_fieldtype.3curses		:= LINKSRC = form_fieldtype.3curses
+new_fieldtype.3curses		:= LINKSRC = form_fieldtype.3curses
+set_fieldtype_arg.3curses	:= LINKSRC = form_fieldtype.3curses
+set_fieldtype_choice.3curses	:= LINKSRC = form_fieldtype.3curses
 
-field_init.3curses		:= SOSRC = man3curses/form_hook.3curses
-field_term.3curses		:= SOSRC = man3curses/form_hook.3curses
-form_init.3curses		:= SOSRC = man3curses/form_hook.3curses
-form_term.3curses		:= SOSRC = man3curses/form_hook.3curses
-set_field_init.3curses		:= SOSRC = man3curses/form_hook.3curses
-set_field_term.3curses		:= SOSRC = man3curses/form_hook.3curses
-set_form_init.3curses		:= SOSRC = man3curses/form_hook.3curses
-set_form_term.3curses		:= SOSRC = man3curses/form_hook.3curses
+field_init.3curses		:= LINKSRC = form_hook.3curses
+field_term.3curses		:= LINKSRC = form_hook.3curses
+form_init.3curses		:= LINKSRC = form_hook.3curses
+form_term.3curses		:= LINKSRC = form_hook.3curses
+set_field_init.3curses		:= LINKSRC = form_hook.3curses
+set_field_term.3curses		:= LINKSRC = form_hook.3curses
+set_form_init.3curses		:= LINKSRC = form_hook.3curses
+set_form_term.3curses		:= LINKSRC = form_hook.3curses
 
-free_form.3curses		:= SOSRC = man3curses/form_new.3curses
-new_form.3curses		:= SOSRC = man3curses/form_new.3curses
+free_form.3curses		:= LINKSRC = form_new.3curses
+new_form.3curses		:= LINKSRC = form_new.3curses
 
-new_page.3curses		:= SOSRC = man3curses/form_new_page.3curses
-set_new_page.3curses		:= SOSRC = man3curses/form_new_page.3curses
+new_page.3curses		:= LINKSRC = form_new_page.3curses
+set_new_page.3curses		:= LINKSRC = form_new_page.3curses
 
-form_opts_off.3curses		:= SOSRC = man3curses/form_opts.3curses
-form_opts_on.3curses		:= SOSRC = man3curses/form_opts.3curses
-set_form_opts.3curses		:= SOSRC = man3curses/form_opts.3curses
+form_opts_off.3curses		:= LINKSRC = form_opts.3curses
+form_opts_on.3curses		:= LINKSRC = form_opts.3curses
+set_form_opts.3curses		:= LINKSRC = form_opts.3curses
 
-current_field.3curses		:= SOSRC = man3curses/form_page.3curses
-field_index.3curses		:= SOSRC = man3curses/form_page.3curses
-set_current_field.3curses	:= SOSRC = man3curses/form_page.3curses
-set_form_page.3curses		:= SOSRC = man3curses/form_page.3curses
+current_field.3curses		:= LINKSRC = form_page.3curses
+field_index.3curses		:= LINKSRC = form_page.3curses
+set_current_field.3curses	:= LINKSRC = form_page.3curses
+set_form_page.3curses		:= LINKSRC = form_page.3curses
 
-post_form.3curses		:= SOSRC = man3curses/form_post.3curses
-unpost_form.3curses		:= SOSRC = man3curses/form_post.3curses
+post_form.3curses		:= LINKSRC = form_post.3curses
+unpost_form.3curses		:= LINKSRC = form_post.3curses
 
-set_form_userptr.3curses	:= SOSRC = man3curses/form_userptr.3curses
+set_form_userptr.3curses	:= LINKSRC = form_userptr.3curses
 
-form_sub.3curses		:= SOSRC = man3curses/form_win.3curses
-scale_form.3curses		:= SOSRC = man3curses/form_win.3curses
-set_form_sub.3curses		:= SOSRC = man3curses/form_win.3curses
-set_form_win.3curses		:= SOSRC = man3curses/form_win.3curses
+form_sub.3curses		:= LINKSRC = form_win.3curses
+scale_form.3curses		:= LINKSRC = form_win.3curses
+set_form_sub.3curses		:= LINKSRC = form_win.3curses
+set_form_win.3curses		:= LINKSRC = form_win.3curses
 
-menu_back.3curses		:= SOSRC = man3curses/menu_attributes.3curses
-menu_fore.3curses		:= SOSRC = man3curses/menu_attributes.3curses
-menu_grey.3curses		:= SOSRC = man3curses/menu_attributes.3curses
-menu_pad.3curses		:= SOSRC = man3curses/menu_attributes.3curses
-set_menu_back.3curses		:= SOSRC = man3curses/menu_attributes.3curses
-set_menu_fore.3curses		:= SOSRC = man3curses/menu_attributes.3curses
-set_menu_grey.3curses		:= SOSRC = man3curses/menu_attributes.3curses
-set_menu_pad.3curses		:= SOSRC = man3curses/menu_attributes.3curses
+menu_back.3curses		:= LINKSRC = menu_attributes.3curses
+menu_fore.3curses		:= LINKSRC = menu_attributes.3curses
+menu_grey.3curses		:= LINKSRC = menu_attributes.3curses
+menu_pad.3curses		:= LINKSRC = menu_attributes.3curses
+set_menu_back.3curses		:= LINKSRC = menu_attributes.3curses
+set_menu_fore.3curses		:= LINKSRC = menu_attributes.3curses
+set_menu_grey.3curses		:= LINKSRC = menu_attributes.3curses
+set_menu_pad.3curses		:= LINKSRC = menu_attributes.3curses
 
-pos_menu_cursor.3curses		:= SOSRC = man3curses/menu_cursor.3curses
-set_menu_format.3curses		:= SOSRC = man3curses/menu_format.3curses
+pos_menu_cursor.3curses		:= LINKSRC = menu_cursor.3curses
+set_menu_format.3curses		:= LINKSRC = menu_format.3curses
 
-item_init.3curses		:= SOSRC = man3curses/menu_hook.3curses
-item_term.3curses		:= SOSRC = man3curses/menu_hook.3curses
-menu_init.3curses		:= SOSRC = man3curses/menu_hook.3curses
-menu_term.3curses		:= SOSRC = man3curses/menu_hook.3curses
-set_item_init.3curses		:= SOSRC = man3curses/menu_hook.3curses
-set_item_term.3curses		:= SOSRC = man3curses/menu_hook.3curses
-set_menu_init.3curses		:= SOSRC = man3curses/menu_hook.3curses
-set_menu_term.3curses		:= SOSRC = man3curses/menu_hook.3curses
+item_init.3curses		:= LINKSRC = menu_hook.3curses
+item_term.3curses		:= LINKSRC = menu_hook.3curses
+menu_init.3curses		:= LINKSRC = menu_hook.3curses
+menu_term.3curses		:= LINKSRC = menu_hook.3curses
+set_item_init.3curses		:= LINKSRC = menu_hook.3curses
+set_item_term.3curses		:= LINKSRC = menu_hook.3curses
+set_menu_init.3curses		:= LINKSRC = menu_hook.3curses
+set_menu_term.3curses		:= LINKSRC = menu_hook.3curses
 
-current_item.3curses		:= SOSRC = man3curses/menu_item_current.3curses
-item_index.3curses		:= SOSRC = man3curses/menu_item_current.3curses
-set_current_item.3curses	:= SOSRC = man3curses/menu_item_current.3curses
-set_top_row.3curses		:= SOSRC = man3curses/menu_item_current.3curses
-top_row.3curses			:= SOSRC = man3curses/menu_item_current.3curses
+current_item.3curses		:= LINKSRC = menu_item_current.3curses
+item_index.3curses		:= LINKSRC = menu_item_current.3curses
+set_current_item.3curses	:= LINKSRC = menu_item_current.3curses
+set_top_row.3curses		:= LINKSRC = menu_item_current.3curses
+top_row.3curses			:= LINKSRC = menu_item_current.3curses
 
-item_description.3curses	:= SOSRC = man3curses/menu_item_name.3curses
-item_name.3curses		:= SOSRC = man3curses/menu_item_name.3curses
+item_description.3curses	:= LINKSRC = menu_item_name.3curses
+item_name.3curses		:= LINKSRC = menu_item_name.3curses
 
-free_item.3curses		:= SOSRC = man3curses/menu_item_new.3curses
-new_item.3curses		:= SOSRC = man3curses/menu_item_new.3curses
+free_item.3curses		:= LINKSRC = menu_item_new.3curses
+new_item.3curses		:= LINKSRC = menu_item_new.3curses
 
-item_opts.3curses		:= SOSRC = man3curses/menu_item_opts.3curses
-item_opts_off.3curses		:= SOSRC = man3curses/menu_item_opts.3curses
-item_opts_on.3curses		:= SOSRC = man3curses/menu_item_opts.3curses
-set_item_opts.3curses		:= SOSRC = man3curses/menu_item_opts.3curses
+item_opts.3curses		:= LINKSRC = menu_item_opts.3curses
+item_opts_off.3curses		:= LINKSRC = menu_item_opts.3curses
+item_opts_on.3curses		:= LINKSRC = menu_item_opts.3curses
+set_item_opts.3curses		:= LINKSRC = menu_item_opts.3curses
 
-item_userptr.3curses		:= SOSRC = man3curses/menu_item_userptr.3curses
-set_item_userptr.3curses	:= SOSRC = man3curses/menu_item_userptr.3curses
+item_userptr.3curses		:= LINKSRC = menu_item_userptr.3curses
+set_item_userptr.3curses	:= LINKSRC = menu_item_userptr.3curses
 
-item_value.3curses		:= SOSRC = man3curses/menu_item_value.3curses
-set_item_value.3curses		:= SOSRC = man3curses/menu_item_value.3curses
+item_value.3curses		:= LINKSRC = menu_item_value.3curses
+set_item_value.3curses		:= LINKSRC = menu_item_value.3curses
 
-item_visible.3curses		:= SOSRC = man3curses/menu_item_visible.3curses
+item_visible.3curses		:= LINKSRC = menu_item_visible.3curses
 
-item_count.3curses		:= SOSRC = man3curses/menu_items.3curses
-set_menu_items.3curses		:= SOSRC = man3curses/menu_items.3curses
+item_count.3curses		:= LINKSRC = menu_items.3curses
+set_menu_items.3curses		:= LINKSRC = menu_items.3curses
 
-set_menu_mark.3curses		:= SOSRC = man3curses/menu_mark.3curses
+set_menu_mark.3curses		:= LINKSRC = menu_mark.3curses
 
-free_menu.3curses		:= SOSRC = man3curses/menu_new.3curses
-new_menu.3curses		:= SOSRC = man3curses/menu_new.3curses
+free_menu.3curses		:= LINKSRC = menu_new.3curses
+new_menu.3curses		:= LINKSRC = menu_new.3curses
 
-menu_opts_off.3curses		:= SOSRC = man3curses/menu_opts.3curses
-menu_opts_on.3curses		:= SOSRC = man3curses/menu_opts.3curses
-set_menu_opts.3curses		:= SOSRC = man3curses/menu_opts.3curses
+menu_opts_off.3curses		:= LINKSRC = menu_opts.3curses
+menu_opts_on.3curses		:= LINKSRC = menu_opts.3curses
+set_menu_opts.3curses		:= LINKSRC = menu_opts.3curses
 
-set_menu_pattern.3curses	:= SOSRC = man3curses/menu_pattern.3curses
+set_menu_pattern.3curses	:= LINKSRC = menu_pattern.3curses
 
-post_menu.3curses		:= SOSRC = man3curses/menu_post.3curses
-unpost_menu.3curses		:= SOSRC = man3curses/menu_post.3curses
+post_menu.3curses		:= LINKSRC = menu_post.3curses
+unpost_menu.3curses		:= LINKSRC = menu_post.3curses
 
-set_menu_userptr.3curses	:= SOSRC = man3curses/menu_userptr.3curses
+set_menu_userptr.3curses	:= LINKSRC = menu_userptr.3curses
 
-menu_sub.3curses		:= SOSRC = man3curses/menu_win.3curses
-scale_menu.3curses		:= SOSRC = man3curses/menu_win.3curses
-set_menu_sub.3curses		:= SOSRC = man3curses/menu_win.3curses
-set_menu_win.3curses		:= SOSRC = man3curses/menu_win.3curses
+menu_sub.3curses		:= LINKSRC = menu_win.3curses
+scale_menu.3curses		:= LINKSRC = menu_win.3curses
+set_menu_sub.3curses		:= LINKSRC = menu_win.3curses
+set_menu_win.3curses		:= LINKSRC = menu_win.3curses
 
-panel_below.3curses		:= SOSRC = man3curses/panel_above.3curses
+panel_below.3curses		:= LINKSRC = panel_above.3curses
 
-move_panel.3curses		:= SOSRC = man3curses/panel_move.3curses
+move_panel.3curses		:= LINKSRC = panel_move.3curses
 
-del_panel.3curses		:= SOSRC = man3curses/panel_new.3curses
-new_panel.3curses		:= SOSRC = man3curses/panel_new.3curses
+del_panel.3curses		:= LINKSRC = panel_new.3curses
+new_panel.3curses		:= LINKSRC = panel_new.3curses
 
-hide_panel.3curses		:= SOSRC = man3curses/panel_show.3curses
-panel_hidden.3curses		:= SOSRC = man3curses/panel_show.3curses
-show_panel.3curses		:= SOSRC = man3curses/panel_show.3curses
+hide_panel.3curses		:= LINKSRC = panel_show.3curses
+panel_hidden.3curses		:= LINKSRC = panel_show.3curses
+show_panel.3curses		:= LINKSRC = panel_show.3curses
 
-bottom_panel.3curses		:= SOSRC = man3curses/panel_top.3curses
-top_panel.3curses		:= SOSRC = man3curses/panel_top.3curses
+bottom_panel.3curses		:= LINKSRC = panel_top.3curses
+top_panel.3curses		:= LINKSRC = panel_top.3curses
 
-update_panels.3curses		:= SOSRC = man3curses/panel_update.3curses
+update_panels.3curses		:= LINKSRC = panel_update.3curses
 
-set_panel_userptr.3curses	:= SOSRC = man3curses/panel_userptr.3curses
+set_panel_userptr.3curses	:= LINKSRC = panel_userptr.3curses
 
-replace_panel.3curses		:= SOSRC = man3curses/panel_window.3curses
+replace_panel.3curses		:= LINKSRC = panel_window.3curses
 
 .KEEP_STATE:
 
-include ../Makefile.man
+include		$(SRC)/man/Makefile.man
 
-install: $(ROOTMANFILES)
-
-
+install:	$(ROOTMANFILES) $(ROOTMANLINKS)
--- a/usr/src/man/man3dat/Makefile	Fri Aug 30 01:19:35 2013 -0800
+++ b/usr/src/man/man3dat/Makefile	Thu Aug 29 02:33:28 2013 +0400
@@ -9,13 +9,16 @@
 # at http://www.illumos.org/license/CDDL.
 #
 
+#
 # Copyright 2011, Richard Lowe
-
-include ../../Makefile.master
+# Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
+#
 
-MANSECT = 	3dat
+include		$(SRC)/Makefile.master
 
-MANFILES = 	dat_cno_create.3dat			\
+MANSECT= 	3dat
+
+MANFILES= 	dat_cno_create.3dat			\
 	 	dat_cno_free.3dat			\
 	 	dat_cno_modify_agent.3dat		\
 	 	dat_cno_query.3dat			\
@@ -91,6 +94,6 @@
 
 .KEEP_STATE:
 
-include ../Makefile.man
+include		$(SRC)/man/Makefile.man
 
-install: $(ROOTMANFILES)
+install:	$(ROOTMANFILES)
--- a/usr/src/man/man3devid/Makefile	Fri Aug 30 01:19:35 2013 -0800
+++ b/usr/src/man/man3devid/Makefile	Thu Aug 29 02:33:28 2013 +0400
@@ -9,15 +9,18 @@
 # at http://www.illumos.org/license/CDDL.
 #
 
+#
 # Copyright 2011, Richard Lowe
-
-include ../../Makefile.master
+# Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
+#
 
-MANSECT = 	3devid
+include		$(SRC)/Makefile.master
+
+MANSECT= 	3devid
 
-MANFILES = 	devid_get.3devid
+MANFILES= 	devid_get.3devid
 
-MANSOFILES =	devid_compare.3devid		\
+MANLINKS=	devid_compare.3devid		\
 		devid_deviceid_to_nmlist.3devid	\
 		devid_free.3devid		\
 		devid_free_nmlist.3devid	\
@@ -28,21 +31,19 @@
 		devid_str_free.3devid		\
 		devid_valid.3devid
 
-MANFILES +=	$(MANSOFILES)
-
-devid_compare.3devid		:= SOSRC = man3devid/devid_get.3devid
-devid_deviceid_to_nmlist.3devid := SOSRC = man3devid/devid_get.3devid
-devid_free.3devid		:= SOSRC = man3devid/devid_get.3devid
-devid_free_nmlist.3devid	:= SOSRC = man3devid/devid_get.3devid
-devid_get_minor_name.3devid	:= SOSRC = man3devid/devid_get.3devid
-devid_sizeof.3devid		:= SOSRC = man3devid/devid_get.3devid
-devid_str_decode.3devid		:= SOSRC = man3devid/devid_get.3devid
-devid_str_encode.3devid		:= SOSRC = man3devid/devid_get.3devid
-devid_str_free.3devid		:= SOSRC = man3devid/devid_get.3devid
-devid_valid.3devid		:= SOSRC = man3devid/devid_get.3devid
+devid_compare.3devid		:= LINKSRC = devid_get.3devid
+devid_deviceid_to_nmlist.3devid := LINKSRC = devid_get.3devid
+devid_free.3devid		:= LINKSRC = devid_get.3devid
+devid_free_nmlist.3devid	:= LINKSRC = devid_get.3devid
+devid_get_minor_name.3devid	:= LINKSRC = devid_get.3devid
+devid_sizeof.3devid		:= LINKSRC = devid_get.3devid
+devid_str_decode.3devid		:= LINKSRC = devid_get.3devid
+devid_str_encode.3devid		:= LINKSRC = devid_get.3devid
+devid_str_free.3devid		:= LINKSRC = devid_get.3devid
+devid_valid.3devid		:= LINKSRC = devid_get.3devid
 
 .KEEP_STATE:
 
-include ../Makefile.man
+include		$(SRC)/man/Makefile.man
 
-install: $(ROOTMANFILES)
+install:	$(ROOTMANFILES) $(ROOTMANLINKS)
--- a/usr/src/man/man3devinfo/Makefile	Fri Aug 30 01:19:35 2013 -0800
+++ b/usr/src/man/man3devinfo/Makefile	Thu Aug 29 02:33:28 2013 +0400
@@ -9,13 +9,16 @@
 # at http://www.illumos.org/license/CDDL.
 #
 
+#
 # Copyright 2011, Richard Lowe
-
-include ../../Makefile.master
+# Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
+#
 
-MANSECT = 	3devinfo
+include		$(SRC)/Makefile.master
 
-MANFILES = 	di_binding_name.3devinfo		\
+MANSECT= 	3devinfo
+
+MANFILES= 	di_binding_name.3devinfo		\
 		di_child_node.3devinfo			\
 		di_devfs_path.3devinfo			\
 		di_devlink_dup.3devinfo			\
@@ -46,7 +49,7 @@
 		di_walk_minor.3devinfo			\
 		di_walk_node.3devinfo
 
-MANSOFILES =	di_bus_addr.3devinfo			\
+MANLINKS=	di_bus_addr.3devinfo			\
 		di_compatible_names.3devinfo		\
 		di_devfs_minor_path.3devinfo		\
 		di_devfs_path_free.3devinfo		\
@@ -113,97 +116,95 @@
 		di_prop_type.3devinfo			\
 		di_sibling_node.3devinfo
 
-MANFILES +=	$(MANSOFILES)
+di_bus_addr.3devinfo			:= LINKSRC = di_binding_name.3devinfo
+di_compatible_names.3devinfo		:= LINKSRC = di_binding_name.3devinfo
+di_devid.3devinfo			:= LINKSRC = di_binding_name.3devinfo
+di_driver_major.3devinfo		:= LINKSRC = di_binding_name.3devinfo
+di_driver_name.3devinfo			:= LINKSRC = di_binding_name.3devinfo
+di_driver_ops.3devinfo			:= LINKSRC = di_binding_name.3devinfo
+di_instance.3devinfo			:= LINKSRC = di_binding_name.3devinfo
+di_node_name.3devinfo			:= LINKSRC = di_binding_name.3devinfo
+di_nodeid.3devinfo			:= LINKSRC = di_binding_name.3devinfo
 
-di_bus_addr.3devinfo			:= SOSRC = man3devinfo/di_binding_name.3devinfo
-di_compatible_names.3devinfo		:= SOSRC = man3devinfo/di_binding_name.3devinfo
-di_devid.3devinfo			:= SOSRC = man3devinfo/di_binding_name.3devinfo
-di_driver_major.3devinfo		:= SOSRC = man3devinfo/di_binding_name.3devinfo
-di_driver_name.3devinfo			:= SOSRC = man3devinfo/di_binding_name.3devinfo
-di_driver_ops.3devinfo			:= SOSRC = man3devinfo/di_binding_name.3devinfo
-di_instance.3devinfo			:= SOSRC = man3devinfo/di_binding_name.3devinfo
-di_node_name.3devinfo			:= SOSRC = man3devinfo/di_binding_name.3devinfo
-di_nodeid.3devinfo			:= SOSRC = man3devinfo/di_binding_name.3devinfo
+di_drv_first_node.3devinfo		:= LINKSRC = di_child_node.3devinfo
+di_drv_next_node.3devinfo		:= LINKSRC = di_child_node.3devinfo
+di_parent_node.3devinfo			:= LINKSRC = di_child_node.3devinfo
+di_sibling_node.3devinfo		:= LINKSRC = di_child_node.3devinfo
 
-di_drv_first_node.3devinfo		:= SOSRC = man3devinfo/di_child_node.3devinfo
-di_drv_next_node.3devinfo		:= SOSRC = man3devinfo/di_child_node.3devinfo
-di_parent_node.3devinfo			:= SOSRC = man3devinfo/di_child_node.3devinfo
-di_sibling_node.3devinfo		:= SOSRC = man3devinfo/di_child_node.3devinfo
+di_devfs_minor_path.3devinfo		:= LINKSRC = di_devfs_path.3devinfo
+di_devfs_path_free.3devinfo		:= LINKSRC = di_devfs_path.3devinfo
+di_path_client_devfs_path.3devinfo	:= LINKSRC = di_devfs_path.3devinfo
+di_path_devfs_path.3devinfo		:= LINKSRC = di_devfs_path.3devinfo
 
-di_devfs_minor_path.3devinfo		:= SOSRC = man3devinfo/di_devfs_path.3devinfo
-di_devfs_path_free.3devinfo		:= SOSRC = man3devinfo/di_devfs_path.3devinfo
-di_path_client_devfs_path.3devinfo	:= SOSRC = man3devinfo/di_devfs_path.3devinfo
-di_path_devfs_path.3devinfo		:= SOSRC = man3devinfo/di_devfs_path.3devinfo
+di_devlink_free.3devinfo		:= LINKSRC = di_devlink_dup.3devinfo
+
+di_devlink_fini.3devinfo		:= LINKSRC = di_devlink_init.3devinfo
 
-di_devlink_free.3devinfo		:= SOSRC = man3devinfo/di_devlink_dup.3devinfo
+di_devlink_content.3devinfo		:= LINKSRC = di_devlink_path.3devinfo
+di_devlink_type.3devinfo		:= LINKSRC = di_devlink_path.3devinfo
 
-di_devlink_fini.3devinfo		:= SOSRC = man3devinfo/di_devlink_init.3devinfo
-
-di_devlink_content.3devinfo		:= SOSRC = man3devinfo/di_devlink_path.3devinfo
-di_devlink_type.3devinfo		:= SOSRC = man3devinfo/di_devlink_path.3devinfo
+di_fini.3devinfo			:= LINKSRC = di_init.3devinfo
 
-di_fini.3devinfo			:= SOSRC = man3devinfo/di_init.3devinfo
+di_link_next_by_lnode.3devinfo		:= LINKSRC = di_link_next_by_node.3devinfo
 
-di_link_next_by_lnode.3devinfo		:= SOSRC = man3devinfo/di_link_next_by_node.3devinfo
-
-di_link_to_lnode.3devinfo		:= SOSRC = man3devinfo/di_link_spectype.3devinfo
+di_link_to_lnode.3devinfo		:= LINKSRC = di_link_spectype.3devinfo
 
-di_lnode_devinfo.3devinfo		:= SOSRC = man3devinfo/di_lnode_name.3devinfo
-di_lnode_devt.3devinfo			:= SOSRC = man3devinfo/di_lnode_name.3devinfo
+di_lnode_devinfo.3devinfo		:= LINKSRC = di_lnode_name.3devinfo
+di_lnode_devt.3devinfo			:= LINKSRC = di_lnode_name.3devinfo
 
-di_minor_name.3devinfo			:= SOSRC = man3devinfo/di_minor_devt.3devinfo
-di_minor_nodetype.3devinfo		:= SOSRC = man3devinfo/di_minor_devt.3devinfo
-di_minor_spectype.3devinfo		:= SOSRC = man3devinfo/di_minor_devt.3devinfo
+di_minor_name.3devinfo			:= LINKSRC = di_minor_devt.3devinfo
+di_minor_nodetype.3devinfo		:= LINKSRC = di_minor_devt.3devinfo
+di_minor_spectype.3devinfo		:= LINKSRC = di_minor_devt.3devinfo
 
-di_link_private_get.3devinfo		:= SOSRC = man3devinfo/di_node_private_set.3devinfo
-di_link_private_set.3devinfo		:= SOSRC = man3devinfo/di_node_private_set.3devinfo
-di_lnode_private_get.3devinfo		:= SOSRC = man3devinfo/di_node_private_set.3devinfo
-di_lnode_private_set.3devinfo		:= SOSRC = man3devinfo/di_node_private_set.3devinfo
-di_minor_private_get.3devinfo		:= SOSRC = man3devinfo/di_node_private_set.3devinfo
-di_minor_private_set.3devinfo		:= SOSRC = man3devinfo/di_node_private_set.3devinfo
-di_node_private_get.3devinfo		:= SOSRC = man3devinfo/di_node_private_set.3devinfo
-di_path_private_get.3devinfo		:= SOSRC = man3devinfo/di_node_private_set.3devinfo
-di_path_private_set.3devinfo		:= SOSRC = man3devinfo/di_node_private_set.3devinfo
+di_link_private_get.3devinfo		:= LINKSRC = di_node_private_set.3devinfo
+di_link_private_set.3devinfo		:= LINKSRC = di_node_private_set.3devinfo
+di_lnode_private_get.3devinfo		:= LINKSRC = di_node_private_set.3devinfo
+di_lnode_private_set.3devinfo		:= LINKSRC = di_node_private_set.3devinfo
+di_minor_private_get.3devinfo		:= LINKSRC = di_node_private_set.3devinfo
+di_minor_private_set.3devinfo		:= LINKSRC = di_node_private_set.3devinfo
+di_node_private_get.3devinfo		:= LINKSRC = di_node_private_set.3devinfo
+di_path_private_get.3devinfo		:= LINKSRC = di_node_private_set.3devinfo
+di_path_private_set.3devinfo		:= LINKSRC = di_node_private_set.3devinfo
 
-di_path_client_node.3devinfo		:= SOSRC = man3devinfo/di_path_bus_addr.3devinfo
-di_path_instance.3devinfo		:= SOSRC = man3devinfo/di_path_bus_addr.3devinfo
-di_path_node_name.3devinfo		:= SOSRC = man3devinfo/di_path_bus_addr.3devinfo
-di_path_phci_node.3devinfo		:= SOSRC = man3devinfo/di_path_bus_addr.3devinfo
-di_path_state.3devinfo			:= SOSRC = man3devinfo/di_path_bus_addr.3devinfo
+di_path_client_node.3devinfo		:= LINKSRC = di_path_bus_addr.3devinfo
+di_path_instance.3devinfo		:= LINKSRC = di_path_bus_addr.3devinfo
+di_path_node_name.3devinfo		:= LINKSRC = di_path_bus_addr.3devinfo
+di_path_phci_node.3devinfo		:= LINKSRC = di_path_bus_addr.3devinfo
+di_path_state.3devinfo			:= LINKSRC = di_path_bus_addr.3devinfo
 
-di_path_phci_next_path.3devinfo		:= SOSRC = man3devinfo/di_path_client_next_path.3devinfo
+di_path_phci_next_path.3devinfo		:= LINKSRC = di_path_client_next_path.3devinfo
 
-di_path_prop_int64s.3devinfo		:= SOSRC = man3devinfo/di_path_prop_bytes.3devinfo
-di_path_prop_ints.3devinfo		:= SOSRC = man3devinfo/di_path_prop_bytes.3devinfo
-di_path_prop_name.3devinfo		:= SOSRC = man3devinfo/di_path_prop_bytes.3devinfo
-di_path_prop_strings.3devinfo		:= SOSRC = man3devinfo/di_path_prop_bytes.3devinfo
-di_path_prop_type.3devinfo		:= SOSRC = man3devinfo/di_path_prop_bytes.3devinfo
+di_path_prop_int64s.3devinfo		:= LINKSRC = di_path_prop_bytes.3devinfo
+di_path_prop_ints.3devinfo		:= LINKSRC = di_path_prop_bytes.3devinfo
+di_path_prop_name.3devinfo		:= LINKSRC = di_path_prop_bytes.3devinfo
+di_path_prop_strings.3devinfo		:= LINKSRC = di_path_prop_bytes.3devinfo
+di_path_prop_type.3devinfo		:= LINKSRC = di_path_prop_bytes.3devinfo
 
-di_path_prop_lookup_int64s.3devinfo	:= SOSRC = man3devinfo/di_path_prop_lookup_bytes.3devinfo
-di_path_prop_lookup_ints.3devinfo	:= SOSRC = man3devinfo/di_path_prop_lookup_bytes.3devinfo
-di_path_prop_lookup_strings.3devinfo	:= SOSRC = man3devinfo/di_path_prop_lookup_bytes.3devinfo
+di_path_prop_lookup_int64s.3devinfo	:= LINKSRC = di_path_prop_lookup_bytes.3devinfo
+di_path_prop_lookup_ints.3devinfo	:= LINKSRC = di_path_prop_lookup_bytes.3devinfo
+di_path_prop_lookup_strings.3devinfo	:= LINKSRC = di_path_prop_lookup_bytes.3devinfo
 
-di_prom_fini.3devinfo			:= SOSRC = man3devinfo/di_prom_init.3devinfo
+di_prom_fini.3devinfo			:= LINKSRC = di_prom_init.3devinfo
 
-di_prom_prop_name.3devinfo		:= SOSRC = man3devinfo/di_prom_prop_data.3devinfo
-di_prom_prop_next.3devinfo		:= SOSRC = man3devinfo/di_prom_prop_data.3devinfo
+di_prom_prop_name.3devinfo		:= LINKSRC = di_prom_prop_data.3devinfo
+di_prom_prop_next.3devinfo		:= LINKSRC = di_prom_prop_data.3devinfo
 
-di_prom_prop_lookup_ints.3devinfo	:= SOSRC = man3devinfo/di_prom_prop_lookup_bytes.3devinfo
-di_prom_prop_lookup_strings.3devinfo	:= SOSRC = man3devinfo/di_prom_prop_lookup_bytes.3devinfo
+di_prom_prop_lookup_ints.3devinfo	:= LINKSRC = di_prom_prop_lookup_bytes.3devinfo
+di_prom_prop_lookup_strings.3devinfo	:= LINKSRC = di_prom_prop_lookup_bytes.3devinfo
 
-di_prop_devt.3devinfo			:= SOSRC = man3devinfo/di_prop_bytes.3devinfo
-di_prop_int64.3devinfo			:= SOSRC = man3devinfo/di_prop_bytes.3devinfo
-di_prop_ints.3devinfo			:= SOSRC = man3devinfo/di_prop_bytes.3devinfo
-di_prop_name.3devinfo			:= SOSRC = man3devinfo/di_prop_bytes.3devinfo
-di_prop_strings.3devinfo		:= SOSRC = man3devinfo/di_prop_bytes.3devinfo
-di_prop_type.3devinfo			:= SOSRC = man3devinfo/di_prop_bytes.3devinfo
+di_prop_devt.3devinfo			:= LINKSRC = di_prop_bytes.3devinfo
+di_prop_int64.3devinfo			:= LINKSRC = di_prop_bytes.3devinfo
+di_prop_ints.3devinfo			:= LINKSRC = di_prop_bytes.3devinfo
+di_prop_name.3devinfo			:= LINKSRC = di_prop_bytes.3devinfo
+di_prop_strings.3devinfo		:= LINKSRC = di_prop_bytes.3devinfo
+di_prop_type.3devinfo			:= LINKSRC = di_prop_bytes.3devinfo
 
-di_prop_lookup_int64.3devinfo		:= SOSRC = man3devinfo/di_prop_lookup_bytes.3devinfo
-di_prop_lookup_ints.3devinfo		:= SOSRC = man3devinfo/di_prop_lookup_bytes.3devinfo
-di_prop_lookup_strings.3devinfo		:= SOSRC = man3devinfo/di_prop_lookup_bytes.3devinfo
+di_prop_lookup_int64.3devinfo		:= LINKSRC = di_prop_lookup_bytes.3devinfo
+di_prop_lookup_ints.3devinfo		:= LINKSRC = di_prop_lookup_bytes.3devinfo
+di_prop_lookup_strings.3devinfo		:= LINKSRC = di_prop_lookup_bytes.3devinfo
 
 .KEEP_STATE:
 
-include ../Makefile.man
+include		$(SRC)/man/Makefile.man
 
-install: $(ROOTMANFILES)
+install:	$(ROOTMANFILES) $(ROOTMANLINKS)
--- a/usr/src/man/man3dlpi/Makefile	Fri Aug 30 01:19:35 2013 -0800
+++ b/usr/src/man/man3dlpi/Makefile	Thu Aug 29 02:33:28 2013 +0400
@@ -9,13 +9,16 @@
 # at http://www.illumos.org/license/CDDL.
 #
 
+#
 # Copyright 2011, Richard Lowe
-
-include ../../Makefile.master
+# Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
+#
 
-MANSECT = 	3dlpi
+include		$(SRC)/Makefile.master
 
-MANFILES = 	dlpi_arptype.3dlpi	\
+MANSECT= 	3dlpi
+
+MANFILES= 	dlpi_arptype.3dlpi	\
 		dlpi_bind.3dlpi		\
 		dlpi_close.3dlpi	\
 		dlpi_disabnotify.3dlpi	\
@@ -37,19 +40,15 @@
 		dlpi_unbind.3dlpi	\
 		dlpi_walk.3dlpi
 
-MANSOFILES =	dlpi_disabmulti.3dlpi	\
+MANLINKS=	dlpi_disabmulti.3dlpi	\
 		dlpi_promiscoff.3dlpi
 
-MANFILES +=	$(MANSOFILES)
+dlpi_disabmulti.3dlpi	:= LINKSRC = dlpi_enabmulti.3dlpi
 
-dlpi_disabmulti.3dlpi := SOSRC = man3dlpi/dlpi_enabmulti.3dlpi
-
-dlpi_promiscoff.3dlpi := SOSRC = man3dlpi/dlpi_promiscon.3dlpi
+dlpi_promiscoff.3dlpi	:= LINKSRC = dlpi_promiscon.3dlpi
 
 .KEEP_STATE:
 
-include ../Makefile.man
+include		$(SRC)/man/Makefile.man
 
-install: $(ROOTMANFILES)
-
-
+install:	$(ROOTMANFILES) $(ROOTMANLINKS)
--- a/usr/src/man/man3dns_sd/Makefile	Fri Aug 30 01:19:35 2013 -0800
+++ b/usr/src/man/man3dns_sd/Makefile	Thu Aug 29 02:33:28 2013 +0400
@@ -9,13 +9,16 @@
 # at http://www.illumos.org/license/CDDL.
 #
 
+#
 # Copyright 2011, Richard Lowe
-
-include ../../Makefile.master
+# Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
+#
 
-MANSECT = 	3dns_sd
+include		$(SRC)/Makefile.master
 
-MANFILES = 	DNSServiceBrowse.3dns_sd		\
+MANSECT= 	3dns_sd
+
+MANFILES= 	DNSServiceBrowse.3dns_sd		\
 		DNSServiceConstructFullName.3dns_sd	\
 		DNSServiceCreateConnection.3dns_sd	\
 		DNSServiceEnumerateDomains.3dns_sd	\
@@ -28,7 +31,7 @@
 		DNSServiceResolve.3dns_sd		\
 		TXTRecordCreate.3dns_sd
 
-MANSOFILES =	DNSServiceAddRecord.3dns_sd		\
+MANLINKS=	DNSServiceAddRecord.3dns_sd		\
 		DNSServiceRegisterRecord.3dns_sd	\
 		DNSServiceRemoveRecord.3dns_sd		\
 		DNSServiceUpdateRecord.3dns_sd		\
@@ -42,28 +45,23 @@
 		TXTRecordRemoveValue.3dns_sd		\
 		TXTRecordSetValue.3dns_sd
 
-MANFILES +=	$(MANSOFILES)
-
-DNSServiceAddRecord.3dns_sd		:= SOSRC = man3dns_sd/DNSServiceCreateConnection.3dns_sd
-DNSServiceRegisterRecord.3dns_sd	:= SOSRC = man3dns_sd/DNSServiceCreateConnection.3dns_sd
-DNSServiceRemoveRecord.3dns_sd		:= SOSRC = man3dns_sd/DNSServiceCreateConnection.3dns_sd
-DNSServiceUpdateRecord.3dns_sd		:= SOSRC = man3dns_sd/DNSServiceCreateConnection.3dns_sd
+DNSServiceAddRecord.3dns_sd	:= LINKSRC = DNSServiceCreateConnection.3dns_sd
+DNSServiceRegisterRecord.3dns_sd:= LINKSRC = DNSServiceCreateConnection.3dns_sd
+DNSServiceRemoveRecord.3dns_sd	:= LINKSRC = DNSServiceCreateConnection.3dns_sd
+DNSServiceUpdateRecord.3dns_sd	:= LINKSRC = DNSServiceCreateConnection.3dns_sd
 
-TXTRecordContainsKey.3dns_sd	:= SOSRC = man3dns_sd/TXTRecordCreate.3dns_sd
-TXTRecordDeallocate.3dns_sd	:= SOSRC = man3dns_sd/TXTRecordCreate.3dns_sd
-TXTRecordGetBytesPtr.3dns_sd	:= SOSRC = man3dns_sd/TXTRecordCreate.3dns_sd
-TXTRecordGetCount.3dns_sd	:= SOSRC = man3dns_sd/TXTRecordCreate.3dns_sd
-TXTRecordGetItemAtIndex.3dns_sd	:= SOSRC = man3dns_sd/TXTRecordCreate.3dns_sd
-TXTRecordGetLength.3dns_sd	:= SOSRC = man3dns_sd/TXTRecordCreate.3dns_sd
-TXTRecordGetValuePtr.3dns_sd	:= SOSRC = man3dns_sd/TXTRecordCreate.3dns_sd
-TXTRecordRemoveValue.3dns_sd	:= SOSRC = man3dns_sd/TXTRecordCreate.3dns_sd
-TXTRecordSetValue.3dns_sd	:= SOSRC = man3dns_sd/TXTRecordCreate.3dns_sd
-
+TXTRecordContainsKey.3dns_sd	:= LINKSRC = TXTRecordCreate.3dns_sd
+TXTRecordDeallocate.3dns_sd	:= LINKSRC = TXTRecordCreate.3dns_sd
+TXTRecordGetBytesPtr.3dns_sd	:= LINKSRC = TXTRecordCreate.3dns_sd
+TXTRecordGetCount.3dns_sd	:= LINKSRC = TXTRecordCreate.3dns_sd
+TXTRecordGetItemAtIndex.3dns_sd	:= LINKSRC = TXTRecordCreate.3dns_sd
+TXTRecordGetLength.3dns_sd	:= LINKSRC = TXTRecordCreate.3dns_sd
+TXTRecordGetValuePtr.3dns_sd	:= LINKSRC = TXTRecordCreate.3dns_sd
+TXTRecordRemoveValue.3dns_sd	:= LINKSRC = TXTRecordCreate.3dns_sd
+TXTRecordSetValue.3dns_sd	:= LINKSRC = TXTRecordCreate.3dns_sd
 
 .KEEP_STATE:
 
-include ../Makefile.man
+include		$(SRC)/man/Makefile.man
 
-install: $(ROOTMANFILES)
-
-
+install:	$(ROOTMANFILES) $(ROOTMANLINKS)
--- a/usr/src/man/man3elf/Makefile	Fri Aug 30 01:19:35 2013 -0800
+++ b/usr/src/man/man3elf/Makefile	Thu Aug 29 02:33:28 2013 +0400
@@ -9,13 +9,16 @@
 # at http://www.illumos.org/license/CDDL.
 #
 
+#
 # Copyright 2011, Richard Lowe
-
-include ../../Makefile.master
+# Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
+#
 
-MANSECT = 	3elf
+include		$(SRC)/Makefile.master
 
-MANFILES = 	elf.3elf		\
+MANSECT= 	3elf
+
+MANFILES= 	elf.3elf		\
 	 	elf32_checksum.3elf	\
 	 	elf32_fsize.3elf	\
 	 	elf32_getehdr.3elf	\
@@ -42,7 +45,7 @@
 	 	gelf.3elf		\
 	 	nlist.3elf
 
-MANSOFILES =	elf32_newehdr.3elf		\
+MANLINKS=	elf32_newehdr.3elf		\
 		elf32_newphdr.3elf		\
 		elf32_xlatetom.3elf		\
 		elf64_checksum.3elf		\
@@ -106,84 +109,82 @@
 		gelf_xlatetof.3elf		\
 		gelf_xlatetom.3elf
 
-MANFILES +=	$(MANSOFILES)
+elf64_checksum.3elf		:= LINKSRC = elf32_checksum.3elf
 
-elf64_checksum.3elf		:= SOSRC = man3elf/elf32_checksum.3elf
-
-elf64_fsize.3elf		:= SOSRC = man3elf/elf32_fsize.3elf
+elf64_fsize.3elf		:= LINKSRC = elf32_fsize.3elf
 
-elf32_newehdr.3elf		:= SOSRC = man3elf/elf32_getehdr.3elf
-elf64_getehdr.3elf		:= SOSRC = man3elf/elf32_getehdr.3elf
-elf64_newehdr.3elf		:= SOSRC = man3elf/elf32_getehdr.3elf
-elf32_newphdr.3elf		:= SOSRC = man3elf/elf32_getphdr.3elf
-elf64_getphdr.3elf		:= SOSRC = man3elf/elf32_getphdr.3elf
-elf64_newphdr.3elf		:= SOSRC = man3elf/elf32_getphdr.3elf
-elf64_getshdr.3elf		:= SOSRC = man3elf/elf32_getshdr.3elf
+elf32_newehdr.3elf		:= LINKSRC = elf32_getehdr.3elf
+elf64_getehdr.3elf		:= LINKSRC = elf32_getehdr.3elf
+elf64_newehdr.3elf		:= LINKSRC = elf32_getehdr.3elf
+elf32_newphdr.3elf		:= LINKSRC = elf32_getphdr.3elf
+elf64_getphdr.3elf		:= LINKSRC = elf32_getphdr.3elf
+elf64_newphdr.3elf		:= LINKSRC = elf32_getphdr.3elf
+elf64_getshdr.3elf		:= LINKSRC = elf32_getshdr.3elf
+
+elf32_xlatetom.3elf		:= LINKSRC = elf32_xlatetof.3elf
+elf64_xlatetof.3elf		:= LINKSRC = elf32_xlatetof.3elf
+elf64_xlatetom.3elf		:= LINKSRC = elf32_xlatetof.3elf
 
-elf32_xlatetom.3elf		:= SOSRC = man3elf/elf32_xlatetof.3elf
-elf64_xlatetof.3elf		:= SOSRC = man3elf/elf32_xlatetof.3elf
-elf64_xlatetom.3elf		:= SOSRC = man3elf/elf32_xlatetof.3elf
+elf_end.3elf			:= LINKSRC = elf_begin.3elf
+elf_memory.3elf			:= LINKSRC = elf_begin.3elf
+elf_next.3elf			:= LINKSRC = elf_begin.3elf
+elf_rand.3elf			:= LINKSRC = elf_begin.3elf
 
-elf_end.3elf			:= SOSRC = man3elf/elf_begin.3elf
-elf_memory.3elf			:= SOSRC = man3elf/elf_begin.3elf
-elf_next.3elf			:= SOSRC = man3elf/elf_begin.3elf
-elf_rand.3elf			:= SOSRC = man3elf/elf_begin.3elf
+elf_errno.3elf			:= LINKSRC = elf_errmsg.3elf
 
-elf_errno.3elf			:= SOSRC = man3elf/elf_errmsg.3elf
+elf_flagehdr.3elf		:= LINKSRC = elf_flagdata.3elf
+elf_flagelf.3elf		:= LINKSRC = elf_flagdata.3elf
+elf_flagphdr.3elf		:= LINKSRC = elf_flagdata.3elf
+elf_flagscn.3elf		:= LINKSRC = elf_flagdata.3elf
+elf_flagshdr.3elf		:= LINKSRC = elf_flagdata.3elf
 
-elf_flagehdr.3elf		:= SOSRC = man3elf/elf_flagdata.3elf
-elf_flagelf.3elf		:= SOSRC = man3elf/elf_flagdata.3elf
-elf_flagphdr.3elf		:= SOSRC = man3elf/elf_flagdata.3elf
-elf_flagscn.3elf		:= SOSRC = man3elf/elf_flagdata.3elf
-elf_flagshdr.3elf		:= SOSRC = man3elf/elf_flagdata.3elf
-
-elf_newdata.3elf		:= SOSRC = man3elf/elf_getdata.3elf
-elf_rawdata.3elf		:= SOSRC = man3elf/elf_getdata.3elf
+elf_newdata.3elf		:= LINKSRC = elf_getdata.3elf
+elf_rawdata.3elf		:= LINKSRC = elf_getdata.3elf
 
-elf_getphdrnum.3elf		:= SOSRC = man3elf/elf_getident.3elf
-elf_getphnum.3elf		:= SOSRC = man3elf/elf_getident.3elf
-elf_getshdrnum.3elf		:= SOSRC = man3elf/elf_getident.3elf
-elf_getshdrstrndx.3elf		:= SOSRC = man3elf/elf_getident.3elf
-elf_getshnum.3elf		:= SOSRC = man3elf/elf_getident.3elf
-elf_getshstrndx.3elf		:= SOSRC = man3elf/elf_getident.3elf
+elf_getphdrnum.3elf		:= LINKSRC = elf_getident.3elf
+elf_getphnum.3elf		:= LINKSRC = elf_getident.3elf
+elf_getshdrnum.3elf		:= LINKSRC = elf_getident.3elf
+elf_getshdrstrndx.3elf		:= LINKSRC = elf_getident.3elf
+elf_getshnum.3elf		:= LINKSRC = elf_getident.3elf
+elf_getshstrndx.3elf		:= LINKSRC = elf_getident.3elf
 
-elf_ndxscn.3elf			:= SOSRC = man3elf/elf_getscn.3elf
-elf_newscn.3elf			:= SOSRC = man3elf/elf_getscn.3elf
-elf_nextscn.3elf		:= SOSRC = man3elf/elf_getscn.3elf
+elf_ndxscn.3elf			:= LINKSRC = elf_getscn.3elf
+elf_newscn.3elf			:= LINKSRC = elf_getscn.3elf
+elf_nextscn.3elf		:= LINKSRC = elf_getscn.3elf
 
-gelf_checksum.3elf		:= SOSRC = man3elf/gelf.3elf
-gelf_fsize.3elf			:= SOSRC = man3elf/gelf.3elf
-gelf_getcap.3elf		:= SOSRC = man3elf/gelf.3elf
-gelf_getclass.3elf		:= SOSRC = man3elf/gelf.3elf
-gelf_getdyn.3elf		:= SOSRC = man3elf/gelf.3elf
-gelf_getehdr.3elf		:= SOSRC = man3elf/gelf.3elf
-gelf_getmove.3elf		:= SOSRC = man3elf/gelf.3elf
-gelf_getphdr.3elf		:= SOSRC = man3elf/gelf.3elf
-gelf_getrel.3elf		:= SOSRC = man3elf/gelf.3elf
-gelf_getrela.3elf		:= SOSRC = man3elf/gelf.3elf
-gelf_getshdr.3elf		:= SOSRC = man3elf/gelf.3elf
-gelf_getsym.3elf		:= SOSRC = man3elf/gelf.3elf
-gelf_getsyminfo.3elf		:= SOSRC = man3elf/gelf.3elf
-gelf_getsymshndx.3elf		:= SOSRC = man3elf/gelf.3elf
-gelf_newehdr.3elf		:= SOSRC = man3elf/gelf.3elf
-gelf_newphdr.3elf		:= SOSRC = man3elf/gelf.3elf
-gelf_update_cap.3elf		:= SOSRC = man3elf/gelf.3elf
-gelf_update_dyn.3elf		:= SOSRC = man3elf/gelf.3elf
-gelf_update_ehdr.3elf		:= SOSRC = man3elf/gelf.3elf
-gelf_update_getmove.3elf	:= SOSRC = man3elf/gelf.3elf
-gelf_update_move.3elf		:= SOSRC = man3elf/gelf.3elf
-gelf_update_phdr.3elf		:= SOSRC = man3elf/gelf.3elf
-gelf_update_rel.3elf		:= SOSRC = man3elf/gelf.3elf
-gelf_update_rela.3elf		:= SOSRC = man3elf/gelf.3elf
-gelf_update_shdr.3elf		:= SOSRC = man3elf/gelf.3elf
-gelf_update_sym.3elf		:= SOSRC = man3elf/gelf.3elf
-gelf_update_syminfo.3elf	:= SOSRC = man3elf/gelf.3elf
-gelf_update_symshndx.3elf	:= SOSRC = man3elf/gelf.3elf
-gelf_xlatetof.3elf		:= SOSRC = man3elf/gelf.3elf
-gelf_xlatetom.3elf		:= SOSRC = man3elf/gelf.3elf
+gelf_checksum.3elf		:= LINKSRC = gelf.3elf
+gelf_fsize.3elf			:= LINKSRC = gelf.3elf
+gelf_getcap.3elf		:= LINKSRC = gelf.3elf
+gelf_getclass.3elf		:= LINKSRC = gelf.3elf
+gelf_getdyn.3elf		:= LINKSRC = gelf.3elf
+gelf_getehdr.3elf		:= LINKSRC = gelf.3elf
+gelf_getmove.3elf		:= LINKSRC = gelf.3elf
+gelf_getphdr.3elf		:= LINKSRC = gelf.3elf
+gelf_getrel.3elf		:= LINKSRC = gelf.3elf
+gelf_getrela.3elf		:= LINKSRC = gelf.3elf
+gelf_getshdr.3elf		:= LINKSRC = gelf.3elf
+gelf_getsym.3elf		:= LINKSRC = gelf.3elf
+gelf_getsyminfo.3elf		:= LINKSRC = gelf.3elf
+gelf_getsymshndx.3elf		:= LINKSRC = gelf.3elf
+gelf_newehdr.3elf		:= LINKSRC = gelf.3elf
+gelf_newphdr.3elf		:= LINKSRC = gelf.3elf
+gelf_update_cap.3elf		:= LINKSRC = gelf.3elf
+gelf_update_dyn.3elf		:= LINKSRC = gelf.3elf
+gelf_update_ehdr.3elf		:= LINKSRC = gelf.3elf
+gelf_update_getmove.3elf	:= LINKSRC = gelf.3elf
+gelf_update_move.3elf		:= LINKSRC = gelf.3elf
+gelf_update_phdr.3elf		:= LINKSRC = gelf.3elf
+gelf_update_rel.3elf		:= LINKSRC = gelf.3elf
+gelf_update_rela.3elf		:= LINKSRC = gelf.3elf
+gelf_update_shdr.3elf		:= LINKSRC = gelf.3elf
+gelf_update_sym.3elf		:= LINKSRC = gelf.3elf
+gelf_update_syminfo.3elf	:= LINKSRC = gelf.3elf
+gelf_update_symshndx.3elf	:= LINKSRC = gelf.3elf
+gelf_xlatetof.3elf		:= LINKSRC = gelf.3elf
+gelf_xlatetom.3elf		:= LINKSRC = gelf.3elf
 
 .KEEP_STATE:
 
-include ../Makefile.man
+include		$(SRC)/man/Makefile.man
 
-install: $(ROOTMANFILES)
+install:	$(ROOTMANFILES) $(ROOTMANLINKS)
--- a/usr/src/man/man3exacct/Makefile	Fri Aug 30 01:19:35 2013 -0800
+++ b/usr/src/man/man3exacct/Makefile	Thu Aug 29 02:33:28 2013 +0400
@@ -9,18 +9,21 @@
 # at http://www.illumos.org/license/CDDL.
 #
 
+#
 # Copyright 2011, Richard Lowe
-
-include ../../Makefile.master
+# Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
+#
 
-MANSECT = 	3exacct
+include		$(SRC)/Makefile.master
+
+MANSECT= 	3exacct
 
-MANFILES = 	ea_error.3exacct	\
-		ea_open.3exacct		\
-		ea_pack_object.3exacct	\
+MANFILES= 	ea_error.3exacct		\
+		ea_open.3exacct			\
+		ea_pack_object.3exacct		\
 		ea_set_item.3exacct
 
-MANSOFILES =	ea_alloc.3exacct		\
+MANLINKS=	ea_alloc.3exacct		\
 		ea_attach_to_group.3exacct	\
 		ea_attach_to_object.3exacct	\
 		ea_close.3exacct		\
@@ -42,34 +45,32 @@
 		ea_unpack_object.3exacct	\
 		ea_write_object.3exacct
 
-MANFILES +=	$(MANSOFILES)
-
-ea_close.3exacct		:= SOSRC = man3exacct/ea_open.3exacct
+ea_close.3exacct		:= LINKSRC = ea_open.3exacct
 
-ea_copy_object.3exacct		:= SOSRC = man3exacct/ea_pack_object.3exacct
-ea_copy_object_tree.3exacct	:= SOSRC = man3exacct/ea_pack_object.3exacct
-ea_get_creator.3exacct		:= SOSRC = man3exacct/ea_pack_object.3exacct
-ea_get_hostname.3exacct		:= SOSRC = man3exacct/ea_pack_object.3exacct
-ea_get_object.3exacct		:= SOSRC = man3exacct/ea_pack_object.3exacct
-ea_get_object_tree.3exacct	:= SOSRC = man3exacct/ea_pack_object.3exacct
-ea_next_object.3exacct		:= SOSRC = man3exacct/ea_pack_object.3exacct
-ea_previous_object.3exacct	:= SOSRC = man3exacct/ea_pack_object.3exacct
-ea_unpack_object.3exacct	:= SOSRC = man3exacct/ea_pack_object.3exacct
-ea_write_object.3exacct		:= SOSRC = man3exacct/ea_pack_object.3exacct
+ea_copy_object.3exacct		:= LINKSRC = ea_pack_object.3exacct
+ea_copy_object_tree.3exacct	:= LINKSRC = ea_pack_object.3exacct
+ea_get_creator.3exacct		:= LINKSRC = ea_pack_object.3exacct
+ea_get_hostname.3exacct		:= LINKSRC = ea_pack_object.3exacct
+ea_get_object.3exacct		:= LINKSRC = ea_pack_object.3exacct
+ea_get_object_tree.3exacct	:= LINKSRC = ea_pack_object.3exacct
+ea_next_object.3exacct		:= LINKSRC = ea_pack_object.3exacct
+ea_previous_object.3exacct	:= LINKSRC = ea_pack_object.3exacct
+ea_unpack_object.3exacct	:= LINKSRC = ea_pack_object.3exacct
+ea_write_object.3exacct		:= LINKSRC = ea_pack_object.3exacct
 
-ea_alloc.3exacct		:= SOSRC = man3exacct/ea_set_item.3exacct
-ea_attach_to_group.3exacct	:= SOSRC = man3exacct/ea_set_item.3exacct
-ea_attach_to_object.3exacct	:= SOSRC = man3exacct/ea_set_item.3exacct
-ea_free.3exacct			:= SOSRC = man3exacct/ea_set_item.3exacct
-ea_free_item.3exacct		:= SOSRC = man3exacct/ea_set_item.3exacct
-ea_free_object.3exacct		:= SOSRC = man3exacct/ea_set_item.3exacct
-ea_match_object_catalog.3exacct := SOSRC = man3exacct/ea_set_item.3exacct
-ea_set_group.3exacct		:= SOSRC = man3exacct/ea_set_item.3exacct
-ea_strdup.3exacct		:= SOSRC = man3exacct/ea_set_item.3exacct
-ea_strfree.3exacct		:= SOSRC = man3exacct/ea_set_item.3exacct
+ea_alloc.3exacct		:= LINKSRC = ea_set_item.3exacct
+ea_attach_to_group.3exacct	:= LINKSRC = ea_set_item.3exacct
+ea_attach_to_object.3exacct	:= LINKSRC = ea_set_item.3exacct
+ea_free.3exacct			:= LINKSRC = ea_set_item.3exacct
+ea_free_item.3exacct		:= LINKSRC = ea_set_item.3exacct
+ea_free_object.3exacct		:= LINKSRC = ea_set_item.3exacct
+ea_match_object_catalog.3exacct	:= LINKSRC = ea_set_item.3exacct
+ea_set_group.3exacct		:= LINKSRC = ea_set_item.3exacct
+ea_strdup.3exacct		:= LINKSRC = ea_set_item.3exacct
+ea_strfree.3exacct		:= LINKSRC = ea_set_item.3exacct
 
 .KEEP_STATE:
 
-include ../Makefile.man
+include		$(SRC)/man/Makefile.man
 
-install: $(ROOTMANFILES)
+install:	$(ROOTMANFILES) $(ROOTMANLINKS)
--- a/usr/src/man/man3ext/Makefile	Fri Aug 30 01:19:35 2013 -0800
+++ b/usr/src/man/man3ext/Makefile	Thu Aug 29 02:33:28 2013 +0400
@@ -9,13 +9,16 @@
 # at http://www.illumos.org/license/CDDL.
 #
 
+#
 # Copyright 2011, Richard Lowe
-
-include ../../Makefile.master
+# Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
+#
 
-MANSECT = 	3ext
+include		$(SRC)/Makefile.master
 
-MANFILES = 	NOTE.3ext			\
+MANSECT= 	3ext
+
+MANFILES= 	NOTE.3ext			\
 	 	SUNW_C_GetMechSession.3ext	\
 	 	auto_ef.3ext			\
 	 	crypt.3ext			\
@@ -36,7 +39,7 @@
 	 	tsalarm_get.3ext		\
 	 	varargs.3ext
 
-MANSOFILES =	DES_FAILED.3ext			\
+MANLINKS=	DES_FAILED.3ext			\
 		MD4Final.3ext			\
 		MD4Init.3ext			\
 		MD4Update.3ext			\
@@ -124,113 +127,111 @@
 		tsalarm_set.3ext		\
 		write_vtoc.3ext
 
-MANFILES +=	$(MANSOFILES)
+_NOTE.3ext			:= LINKSRC = NOTE.3ext
+
+SUNW_C_KeyToObject.3ext		:= LINKSRC = SUNW_C_GetMechSession.3ext
 
-_NOTE.3ext			:= SOSRC = man3ext/NOTE.3ext
-
-SUNW_C_KeyToObject.3ext		:= SOSRC = man3ext/SUNW_C_GetMechSession.3ext
+auto_ef_file.3ext		:= LINKSRC = auto_ef.3ext
+auto_ef_free.3ext		:= LINKSRC = auto_ef.3ext
+auto_ef_get_encoding.3ext	:= LINKSRC = auto_ef.3ext
+auto_ef_get_score.3ext		:= LINKSRC = auto_ef.3ext
+auto_ef_str.3ext		:= LINKSRC = auto_ef.3ext
 
-auto_ef_file.3ext		:= SOSRC = man3ext/auto_ef.3ext
-auto_ef_free.3ext		:= SOSRC = man3ext/auto_ef.3ext
-auto_ef_get_encoding.3ext	:= SOSRC = man3ext/auto_ef.3ext
-auto_ef_get_score.3ext		:= SOSRC = man3ext/auto_ef.3ext
-auto_ef_str.3ext		:= SOSRC = man3ext/auto_ef.3ext
+crypt_close.3ext		:= LINKSRC = crypt.3ext
+des_crypt.3ext			:= LINKSRC = crypt.3ext
+des_encrypt.3ext		:= LINKSRC = crypt.3ext
+des_setkey.3ext			:= LINKSRC = crypt.3ext
+encrypt.3ext			:= LINKSRC = crypt.3ext
+run_crypt.3ext			:= LINKSRC = crypt.3ext
+run_setkey.3ext			:= LINKSRC = crypt.3ext
+setkey.3ext			:= LINKSRC = crypt.3ext
 
-crypt_close.3ext		:= SOSRC = man3ext/crypt.3ext
-des_crypt.3ext			:= SOSRC = man3ext/crypt.3ext
-des_encrypt.3ext		:= SOSRC = man3ext/crypt.3ext
-des_setkey.3ext			:= SOSRC = man3ext/crypt.3ext
-encrypt.3ext			:= SOSRC = man3ext/crypt.3ext
-run_crypt.3ext			:= SOSRC = man3ext/crypt.3ext
-run_setkey.3ext			:= SOSRC = man3ext/crypt.3ext
-setkey.3ext			:= SOSRC = man3ext/crypt.3ext
-
-cplus_demangle.3ext		:= SOSRC = man3ext/demangle.3ext
+cplus_demangle.3ext		:= LINKSRC = demangle.3ext
 
-DES_FAILED.3ext			:= SOSRC = man3ext/ecb_crypt.3ext
-cbc_crypt.3ext			:= SOSRC = man3ext/ecb_crypt.3ext
-des_setparity.3ext		:= SOSRC = man3ext/ecb_crypt.3ext
+DES_FAILED.3ext			:= LINKSRC = ecb_crypt.3ext
+cbc_crypt.3ext			:= LINKSRC = ecb_crypt.3ext
+des_setparity.3ext		:= LINKSRC = ecb_crypt.3ext
 
-efi_alloc_and_read.3ext		:= SOSRC = man3ext/efi_alloc_and_init.3ext
-efi_free.3ext			:= SOSRC = man3ext/efi_alloc_and_init.3ext
-efi_use_whole_disk.3ext		:= SOSRC = man3ext/efi_alloc_and_init.3ext
-efi_write.3ext			:= SOSRC = man3ext/efi_alloc_and_init.3ext
+efi_alloc_and_read.3ext		:= LINKSRC = efi_alloc_and_init.3ext
+efi_free.3ext			:= LINKSRC = efi_alloc_and_init.3ext
+efi_use_whole_disk.3ext		:= LINKSRC = efi_alloc_and_init.3ext
+efi_write.3ext			:= LINKSRC = efi_alloc_and_init.3ext
 
-ld_atexit.3ext			:= SOSRC = man3ext/ld_support.3ext
-ld_atexit64.3ext		:= SOSRC = man3ext/ld_support.3ext
-ld_file.3ext			:= SOSRC = man3ext/ld_support.3ext
-ld_file64.3ext			:= SOSRC = man3ext/ld_support.3ext
-ld_input_done.3ext		:= SOSRC = man3ext/ld_support.3ext
-ld_input_section.3ext		:= SOSRC = man3ext/ld_support.3ext
-ld_input_section64.3ext		:= SOSRC = man3ext/ld_support.3ext
-ld_open.3ext			:= SOSRC = man3ext/ld_support.3ext
-ld_open64.3ext			:= SOSRC = man3ext/ld_support.3ext
-ld_section.3ext			:= SOSRC = man3ext/ld_support.3ext
-ld_section64.3ext		:= SOSRC = man3ext/ld_support.3ext
-ld_start.3ext			:= SOSRC = man3ext/ld_support.3ext
-ld_start64.3ext			:= SOSRC = man3ext/ld_support.3ext
-ld_version.3ext			:= SOSRC = man3ext/ld_support.3ext
+ld_atexit.3ext			:= LINKSRC = ld_support.3ext
+ld_atexit64.3ext		:= LINKSRC = ld_support.3ext
+ld_file.3ext			:= LINKSRC = ld_support.3ext
+ld_file64.3ext			:= LINKSRC = ld_support.3ext
+ld_input_done.3ext		:= LINKSRC = ld_support.3ext
+ld_input_section.3ext		:= LINKSRC = ld_support.3ext
+ld_input_section64.3ext		:= LINKSRC = ld_support.3ext
+ld_open.3ext			:= LINKSRC = ld_support.3ext
+ld_open64.3ext			:= LINKSRC = ld_support.3ext
+ld_section.3ext			:= LINKSRC = ld_support.3ext
+ld_section64.3ext		:= LINKSRC = ld_support.3ext
+ld_start.3ext			:= LINKSRC = ld_support.3ext
+ld_start64.3ext			:= LINKSRC = ld_support.3ext
+ld_version.3ext			:= LINKSRC = ld_support.3ext
 
-MD4Final.3ext			:= SOSRC = man3ext/md4.3ext
-MD4Init.3ext			:= SOSRC = man3ext/md4.3ext
-MD4Update.3ext			:= SOSRC = man3ext/md4.3ext
+MD4Final.3ext			:= LINKSRC = md4.3ext
+MD4Init.3ext			:= LINKSRC = md4.3ext
+MD4Update.3ext			:= LINKSRC = md4.3ext
 
-MD5Final.3ext			:= SOSRC = man3ext/md5.3ext
-MD5Init.3ext			:= SOSRC = man3ext/md5.3ext
-MD5Update.3ext			:= SOSRC = man3ext/md5.3ext
-md5_calc.3ext			:= SOSRC = man3ext/md5.3ext
+MD5Final.3ext			:= LINKSRC = md5.3ext
+MD5Init.3ext			:= LINKSRC = md5.3ext
+MD5Update.3ext			:= LINKSRC = md5.3ext
+md5_calc.3ext			:= LINKSRC = md5.3ext
 
-write_vtoc.3ext			:= SOSRC = man3ext/read_vtoc.3ext
+write_vtoc.3ext			:= LINKSRC = read_vtoc.3ext
 
-la_activity.3ext		:= SOSRC = man3ext/rtld_audit.3ext
-la_amd64_pltenter.3ext		:= SOSRC = man3ext/rtld_audit.3ext
-la_i86_pltenter.3ext		:= SOSRC = man3ext/rtld_audit.3ext
-la_objfilter.3ext		:= SOSRC = man3ext/rtld_audit.3ext
-la_objopen.3ext			:= SOSRC = man3ext/rtld_audit.3ext
-la_objsearch.3ext		:= SOSRC = man3ext/rtld_audit.3ext
-la_pltexit.3ext			:= SOSRC = man3ext/rtld_audit.3ext
-la_pltexit64.3ext		:= SOSRC = man3ext/rtld_audit.3ext
-la_preinit.3ext			:= SOSRC = man3ext/rtld_audit.3ext
-la_sparcv8_pltenter.3ext	:= SOSRC = man3ext/rtld_audit.3ext
-la_sparcv9_pltenter.3ext	:= SOSRC = man3ext/rtld_audit.3ext
-la_symbind32.3ext		:= SOSRC = man3ext/rtld_audit.3ext
-la_symbind64.3ext		:= SOSRC = man3ext/rtld_audit.3ext
-la_version.3ext			:= SOSRC = man3ext/rtld_audit.3ext
+la_activity.3ext		:= LINKSRC = rtld_audit.3ext
+la_amd64_pltenter.3ext		:= LINKSRC = rtld_audit.3ext
+la_i86_pltenter.3ext		:= LINKSRC = rtld_audit.3ext
+la_objfilter.3ext		:= LINKSRC = rtld_audit.3ext
+la_objopen.3ext			:= LINKSRC = rtld_audit.3ext
+la_objsearch.3ext		:= LINKSRC = rtld_audit.3ext
+la_pltexit.3ext			:= LINKSRC = rtld_audit.3ext
+la_pltexit64.3ext		:= LINKSRC = rtld_audit.3ext
+la_preinit.3ext			:= LINKSRC = rtld_audit.3ext
+la_sparcv8_pltenter.3ext	:= LINKSRC = rtld_audit.3ext
+la_sparcv9_pltenter.3ext	:= LINKSRC = rtld_audit.3ext
+la_symbind32.3ext		:= LINKSRC = rtld_audit.3ext
+la_symbind64.3ext		:= LINKSRC = rtld_audit.3ext
+la_version.3ext			:= LINKSRC = rtld_audit.3ext
 
-rd_delete.3ext			:= SOSRC = man3ext/rtld_db.3ext
-rd_errstr.3ext			:= SOSRC = man3ext/rtld_db.3ext
-rd_event_addr.3ext		:= SOSRC = man3ext/rtld_db.3ext
-rd_event_enable.3ext		:= SOSRC = man3ext/rtld_db.3ext
-rd_event_getmsg.3ext		:= SOSRC = man3ext/rtld_db.3ext
-rd_init.3ext			:= SOSRC = man3ext/rtld_db.3ext
-rd_loadobj_iter.3ext		:= SOSRC = man3ext/rtld_db.3ext
-rd_log.3ext			:= SOSRC = man3ext/rtld_db.3ext
-rd_new.3ext			:= SOSRC = man3ext/rtld_db.3ext
-rd_objpad_enable.3ext		:= SOSRC = man3ext/rtld_db.3ext
-rd_plt_resolution.3ext		:= SOSRC = man3ext/rtld_db.3ext
-rd_reset.3ext			:= SOSRC = man3ext/rtld_db.3ext
+rd_delete.3ext			:= LINKSRC = rtld_db.3ext
+rd_errstr.3ext			:= LINKSRC = rtld_db.3ext
+rd_event_addr.3ext		:= LINKSRC = rtld_db.3ext
+rd_event_enable.3ext		:= LINKSRC = rtld_db.3ext
+rd_event_getmsg.3ext		:= LINKSRC = rtld_db.3ext
+rd_init.3ext			:= LINKSRC = rtld_db.3ext
+rd_loadobj_iter.3ext		:= LINKSRC = rtld_db.3ext
+rd_log.3ext			:= LINKSRC = rtld_db.3ext
+rd_new.3ext			:= LINKSRC = rtld_db.3ext
+rd_objpad_enable.3ext		:= LINKSRC = rtld_db.3ext
+rd_plt_resolution.3ext		:= LINKSRC = rtld_db.3ext
+rd_reset.3ext			:= LINKSRC = rtld_db.3ext
 
-SHA1Final.3ext			:= SOSRC = man3ext/sha1.3ext
-SHA1Init.3ext			:= SOSRC = man3ext/sha1.3ext
-SHA1Update.3ext			:= SOSRC = man3ext/sha1.3ext
+SHA1Final.3ext			:= LINKSRC = sha1.3ext
+SHA1Init.3ext			:= LINKSRC = sha1.3ext
+SHA1Update.3ext			:= LINKSRC = sha1.3ext
 
-SHA256Final.3ext		:= SOSRC = man3ext/sha2.3ext
-SHA256Init.3ext			:= SOSRC = man3ext/sha2.3ext
-SHA256Update.3ext		:= SOSRC = man3ext/sha2.3ext
-SHA2Final.3ext			:= SOSRC = man3ext/sha2.3ext
-SHA2Init.3ext			:= SOSRC = man3ext/sha2.3ext
-SHA2Update.3ext			:= SOSRC = man3ext/sha2.3ext
-SHA384Final.3ext		:= SOSRC = man3ext/sha2.3ext
-SHA384Init.3ext			:= SOSRC = man3ext/sha2.3ext
-SHA384Update.3ext		:= SOSRC = man3ext/sha2.3ext
-SHA512Final.3ext		:= SOSRC = man3ext/sha2.3ext
-SHA512Init.3ext			:= SOSRC = man3ext/sha2.3ext
-SHA512Update.3ext		:= SOSRC = man3ext/sha2.3ext
+SHA256Final.3ext		:= LINKSRC = sha2.3ext
+SHA256Init.3ext			:= LINKSRC = sha2.3ext
+SHA256Update.3ext		:= LINKSRC = sha2.3ext
+SHA2Final.3ext			:= LINKSRC = sha2.3ext
+SHA2Init.3ext			:= LINKSRC = sha2.3ext
+SHA2Update.3ext			:= LINKSRC = sha2.3ext
+SHA384Final.3ext		:= LINKSRC = sha2.3ext
+SHA384Init.3ext			:= LINKSRC = sha2.3ext
+SHA384Update.3ext		:= LINKSRC = sha2.3ext
+SHA512Final.3ext		:= LINKSRC = sha2.3ext
+SHA512Init.3ext			:= LINKSRC = sha2.3ext
+SHA512Update.3ext		:= LINKSRC = sha2.3ext
 
-tsalarm_set.3ext		:= SOSRC = man3ext/tsalarm_get.3ext
+tsalarm_set.3ext		:= LINKSRC = tsalarm_get.3ext
 
 .KEEP_STATE:
 
-include ../Makefile.man
+include		$(SRC)/man/Makefile.man
 
-install: $(ROOTMANFILES)
+install:	$(ROOTMANFILES) $(ROOTMANLINKS)
--- a/usr/src/man/man3fcoe/Makefile	Fri Aug 30 01:19:35 2013 -0800
+++ b/usr/src/man/man3fcoe/Makefile	Thu Aug 29 02:33:28 2013 +0400
@@ -9,20 +9,21 @@
 # at http://www.illumos.org/license/CDDL.
 #
 
+#
 # Copyright 2011, Richard Lowe
-
-include ../../Makefile.master
+# Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
+#
 
-MANSECT = 	3fcoe
+include		$(SRC)/Makefile.master
 
-MANFILES = 	FCOE_CreatePort.3fcoe	\
+MANSECT= 	3fcoe
+
+MANFILES= 	FCOE_CreatePort.3fcoe	\
 		FCOE_DeletePort.3fcoe	\
 		FCOE_GetPortList.3fcoe
 
 .KEEP_STATE:
 
-include ../Makefile.man
+include		$(SRC)/man/Makefile.man
 
-install: $(ROOTMANFILES)
-
-
+install:	$(ROOTMANFILES)
--- a/usr/src/man/man3fstyp/Makefile	Fri Aug 30 01:19:35 2013 -0800
+++ b/usr/src/man/man3fstyp/Makefile	Thu Aug 29 02:33:28 2013 +0400
@@ -9,37 +9,36 @@
 # at http://www.illumos.org/license/CDDL.
 #
 
+#
 # Copyright 2011, Richard Lowe
-
-include ../../Makefile.master
+# Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
+#
 
-MANSECT = 	3fstyp
+include		$(SRC)/Makefile.master
 
-MANFILES = 	fstyp_get_attr.3fstyp	\
+MANSECT= 	3fstyp
+
+MANFILES= 	fstyp_get_attr.3fstyp	\
 		fstyp_ident.3fstyp	\
 		fstyp_init.3fstyp	\
 		fstyp_mod_init.3fstyp	\
 		fstyp_strerror.3fstyp
 
-MANSOFILES =	fstyp_fini.3fstyp		\
+MANLINKS=	fstyp_fini.3fstyp		\
 	 	fstyp_mod_dump.3fstyp		\
 	 	fstyp_mod_fini.3fstyp		\
 	 	fstyp_mod_get_attr.3fstyp	\
 	 	fstyp_mod_ident.3fstyp
 
-MANFILES +=	$(MANSOFILES)
-
-fstyp_fini.3fstyp		:= SOSRC = man3fstyp/fstyp_init.3fstyp
+fstyp_fini.3fstyp		:= LINKSRC = fstyp_init.3fstyp
 
-fstyp_mod_dump.3fstyp		:= SOSRC = man3fstyp/fstyp_mod_init.3fstyp
-fstyp_mod_fini.3fstyp		:= SOSRC = man3fstyp/fstyp_mod_init.3fstyp
-fstyp_mod_get_attr.3fstyp	:= SOSRC = man3fstyp/fstyp_mod_init.3fstyp
-fstyp_mod_ident.3fstyp		:= SOSRC = man3fstyp/fstyp_mod_init.3fstyp
+fstyp_mod_dump.3fstyp		:= LINKSRC = fstyp_mod_init.3fstyp
+fstyp_mod_fini.3fstyp		:= LINKSRC = fstyp_mod_init.3fstyp
+fstyp_mod_get_attr.3fstyp	:= LINKSRC = fstyp_mod_init.3fstyp
+fstyp_mod_ident.3fstyp		:= LINKSRC = fstyp_mod_init.3fstyp
 
 .KEEP_STATE:
 
-include ../Makefile.man
+include		$(SRC)/man/Makefile.man
 
-install: $(ROOTMANFILES)
-
-
+install:	$(ROOTMANFILES) $(ROOTMANLINKS)
--- a/usr/src/man/man3gen/Makefile	Fri Aug 30 01:19:35 2013 -0800
+++ b/usr/src/man/man3gen/Makefile	Thu Aug 29 02:33:28 2013 +0400
@@ -9,13 +9,16 @@
 # at http://www.illumos.org/license/CDDL.
 #
 
+#
 # Copyright 2011, Richard Lowe
-
-include ../../Makefile.master
+# Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
+#
 
-MANSECT = 	3gen
+include		$(SRC)/Makefile.master
 
-MANFILES = 	bgets.3gen	\
+MANSECT= 	3gen
+
+MANFILES= 	bgets.3gen	\
 	 	bufsplit.3gen	\
 	 	copylist.3gen	\
 	 	gmatch.3gen	\
@@ -27,7 +30,7 @@
 	 	strccpy.3gen	\
 	 	strfind.3gen
 
-MANSOFILES =	advance.3gen	\
+MANLINKS=	advance.3gen	\
 		compile.3gen	\
 		p2close.3gen	\
 		rmdirp.3gen	\
@@ -39,29 +42,24 @@
 		strrspn.3gen	\
 		strtrns.3gen
 
-MANFILES +=	$(MANSOFILES)
+rmdirp.3gen	:= LINKSRC = mkdirp.3gen
+
+p2close.3gen	:= LINKSRC = p2open.3gen
 
-rmdirp.3gen	:= SOSRC = man3gen/mkdirp.3gen
-
-p2close.3gen	:= SOSRC = man3gen/p2open.3gen
+advance.3gen	:= LINKSRC = regexpr.3gen
+compile.3gen	:= LINKSRC = regexpr.3gen
+step.3gen	:= LINKSRC = regexpr.3gen
 
-advance.3gen	:= SOSRC = man3gen/regexpr.3gen
-compile.3gen	:= SOSRC = man3gen/regexpr.3gen
-step.3gen	:= SOSRC = man3gen/regexpr.3gen
+strcadd.3gen	:= LINKSRC = strccpy.3gen
+streadd.3gen	:= LINKSRC = strccpy.3gen
+strecpy.3gen	:= LINKSRC = strccpy.3gen
 
-strcadd.3gen	:= SOSRC = man3gen/strccpy.3gen
-streadd.3gen	:= SOSRC = man3gen/strccpy.3gen
-strecpy.3gen	:= SOSRC = man3gen/strccpy.3gen
-
-str.3gen	:= SOSRC = man3gen/strfind.3gen
-strrspn.3gen	:= SOSRC = man3gen/strfind.3gen
-strtrns.3gen	:= SOSRC = man3gen/strfind.3gen
-
+str.3gen	:= LINKSRC = strfind.3gen
+strrspn.3gen	:= LINKSRC = strfind.3gen
+strtrns.3gen	:= LINKSRC = strfind.3gen
 
 .KEEP_STATE:
 
-include ../Makefile.man
+include		$(SRC)/man/Makefile.man
 
-install: $(ROOTMANFILES)
-
-
+install:	$(ROOTMANFILES) $(ROOTMANLINKS)
--- a/usr/src/man/man3gss/Makefile	Fri Aug 30 01:19:35 2013 -0800
+++ b/usr/src/man/man3gss/Makefile	Thu Aug 29 02:33:28 2013 +0400
@@ -9,13 +9,16 @@
 # at http://www.illumos.org/license/CDDL.
 #
 
+#
 # Copyright 2011, Richard Lowe
-
-include ../../Makefile.master
+# Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
+#
 
-MANSECT = 	3gss
+include		$(SRC)/Makefile.master
 
-MANFILES = 	gss_accept_sec_context.3gss	\
+MANSECT= 	3gss
+
+MANFILES= 	gss_accept_sec_context.3gss	\
 	 	gss_acquire_cred.3gss		\
 	 	gss_add_cred.3gss		\
 	 	gss_add_oid_set_member.3gss	\
@@ -56,8 +59,6 @@
 
 .KEEP_STATE:
 
-include ../Makefile.man
+include		$(SRC)/man/Makefile.man
 
-install: $(ROOTMANFILES)
-
-
+install:	$(ROOTMANFILES)
--- a/usr/src/man/man3head/Makefile	Fri Aug 30 01:19:35 2013 -0800
+++ b/usr/src/man/man3head/Makefile	Thu Aug 29 02:33:28 2013 +0400
@@ -9,13 +9,16 @@
 # at http://www.illumos.org/license/CDDL.
 #
 
+#
 # Copyright 2011, Richard Lowe
-
-include ../../Makefile.master
+# Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
+#
 
-MANSECT = 	3head
+include		$(SRC)/Makefile.master
 
-MANFILES =	acct.h.3head		\
+MANSECT= 	3head
+
+MANFILES=	acct.h.3head		\
 	 	aio.h.3head		\
 	 	ar.h.3head		\
 	 	archives.h.3head	\
@@ -103,187 +106,184 @@
 	 	wctype.h.3head		\
 	 	wordexp.h.3head
 
-MANSOFILES =	acct.3head	\
-		 	aio.3head	\
-		 	ar.3head	\
-		 	archives.3head	\
-		 	assert.3head	\
-		 	complex.3head	\
-		 	cpio.3head	\
-		 	dirent.3head	\
-		 	errno.3head	\
-		 	fcntl.3head	\
-		 	fenv.3head	\
-		 	float.3head	\
-		 	floatingpoint.3head	\
-		 	fmtmsg.3head	\
-		 	fnmatch.3head	\
-		 	ftw.3head	\
-		 	glob.3head	\
-		 	grp.3head	\
-		 	iconv.3head	\
-		 	if.3head	\
-		 	in.3head	\
-		 	inet.3head	\
-		 	inttypes.3head	\
-		 	ipc.3head	\
-		 	iso646.3head	\
-		 	langinfo.3head	\
-		 	libgen.3head	\
-		 	libintl.3head	\
-		 	limits.3head	\
-		 	locale.3head	\
-		 	math.3head	\
-		 	mman.3head	\
-		 	monetary.3head	\
-		 	mqueue.3head	\
-		 	msg.3head	\
-		 	ndbm.3head	\
-		 	netdb.3head	\
-		 	nl_types.3head	\
-		 	poll.3head	\
-		 	pthread.3head	\
-		 	pwd.3head	\
-		 	regex.3head	\
-		 	resource.3head	\
-		 	sched.3head	\
-		 	search.3head	\
-		 	select.3head	\
-		 	sem.3head	\
-		 	semaphore.3head	\
-		 	setjmp.3head	\
-		 	shm.3head	\
-		 	siginfo.3head	\
-		 	signal.3head	\
-		 	socket.3head	\
-		 	spawn.3head	\
-		 	stat.3head	\
-		 	statvfs.3head	\
-		 	stdbool.3head	\
-		 	stddef.3head	\
-		 	stdint.3head	\
-		 	stdio.3head	\
-		 	stdlib.3head	\
-		 	string.3head	\
-		 	strings.3head	\
-		 	stropts.3head	\
-		 	syslog.3head	\
-		 	tar.3head	\
-		 	tcp.3head	\
-		 	termios.3head	\
-		 	tgmath.3head	\
-		 	time.3head	\
-		 	timeb.3head	\
-		 	times.3head	\
-		 	types.3head	\
-		 	types32.3head	\
-		 	ucontext.3head	\
-		 	uio.3head	\
-		 	ulimit.3head	\
-		 	un.3head	\
-		 	unistd.3head	\
-		 	utime.3head	\
-		 	utmpx.3head	\
-		 	utsname.3head	\
-		 	values.3head	\
-		 	wait.3head	\
-		 	wchar.3head	\
-		 	wctype.3head	\
-		 	wordexp.3head
+MANLINKS=	acct.3head		\
+		aio.3head		\
+		ar.3head		\
+		archives.3head		\
+		assert.3head		\
+		complex.3head		\
+		cpio.3head		\
+		dirent.3head		\
+		errno.3head		\
+		fcntl.3head		\
+		fenv.3head		\
+		float.3head		\
+		floatingpoint.3head	\
+		fmtmsg.3head		\
+		fnmatch.3head		\
+		ftw.3head		\
+		glob.3head		\
+		grp.3head		\
+		iconv.3head		\
+		if.3head		\
+		in.3head		\
+		inet.3head		\
+		inttypes.3head		\
+		ipc.3head		\
+		iso646.3head		\
+		langinfo.3head		\
+		libgen.3head		\
+		libintl.3head		\
+		limits.3head		\
+		locale.3head		\
+		math.3head		\
+		mman.3head		\
+		monetary.3head		\
+		mqueue.3head		\
+		msg.3head		\
+		ndbm.3head		\
+		netdb.3head		\
+		nl_types.3head		\
+		poll.3head		\
+		pthread.3head		\
+		pwd.3head		\
+		regex.3head		\
+		resource.3head		\
+		sched.3head		\
+		search.3head		\
+		select.3head		\
+		sem.3head		\
+		semaphore.3head		\
+		setjmp.3head		\
+		shm.3head		\
+		siginfo.3head		\
+		signal.3head		\
+		socket.3head		\
+		spawn.3head		\
+		stat.3head		\
+		statvfs.3head		\
+		stdbool.3head		\
+		stddef.3head		\
+		stdint.3head		\
+		stdio.3head		\
+		stdlib.3head		\
+		string.3head		\
+		strings.3head		\
+		stropts.3head		\
+		syslog.3head		\
+		tar.3head		\
+		tcp.3head		\
+		termios.3head		\
+		tgmath.3head		\
+		time.3head		\
+		timeb.3head		\
+		times.3head		\
+		types.3head		\
+		types32.3head		\
+		ucontext.3head		\
+		uio.3head		\
+		ulimit.3head		\
+		un.3head		\
+		unistd.3head		\
+		utime.3head		\
+		utmpx.3head		\
+		utsname.3head		\
+		values.3head		\
+		wait.3head		\
+		wchar.3head		\
+		wctype.3head		\
+		wordexp.3head
 
-MANFILES +=	$(MANSOFILES)
-
-acct.3head		:= SOSRC = man3head/acct.h.3head
-aio.3head		:= SOSRC = man3head/aio.h.3head
-ar.3head		:= SOSRC = man3head/ar.h.3head
-archives.3head		:= SOSRC = man3head/archives.h.3head
-assert.3head		:= SOSRC = man3head/assert.h.3head
-complex.3head		:= SOSRC = man3head/complex.h.3head
-cpio.3head		:= SOSRC = man3head/cpio.h.3head
-dirent.3head		:= SOSRC = man3head/dirent.h.3head
-errno.3head		:= SOSRC = man3head/errno.h.3head
-fcntl.3head		:= SOSRC = man3head/fcntl.h.3head
-fenv.3head		:= SOSRC = man3head/fenv.h.3head
-float.3head		:= SOSRC = man3head/float.h.3head
-floatingpoint.3head	:= SOSRC = man3head/floatingpoint.h.3head
-fmtmsg.3head		:= SOSRC = man3head/fmtmsg.h.3head
-fnmatch.3head		:= SOSRC = man3head/fnmatch.h.3head
-ftw.3head		:= SOSRC = man3head/ftw.h.3head
-glob.3head		:= SOSRC = man3head/glob.h.3head
-grp.3head		:= SOSRC = man3head/grp.h.3head
-iconv.3head		:= SOSRC = man3head/iconv.h.3head
-if.3head		:= SOSRC = man3head/if.h.3head
-in.3head		:= SOSRC = man3head/in.h.3head
-inet.3head		:= SOSRC = man3head/inet.h.3head
-inttypes.3head		:= SOSRC = man3head/inttypes.h.3head
-ipc.3head		:= SOSRC = man3head/ipc.h.3head
-iso646.3head		:= SOSRC = man3head/iso646.h.3head
-langinfo.3head		:= SOSRC = man3head/langinfo.h.3head
-libgen.3head		:= SOSRC = man3head/libgen.h.3head
-libintl.3head		:= SOSRC = man3head/libintl.h.3head
-limits.3head		:= SOSRC = man3head/limits.h.3head
-locale.3head		:= SOSRC = man3head/locale.h.3head
-math.3head		:= SOSRC = man3head/math.h.3head
-mman.3head		:= SOSRC = man3head/mman.h.3head
-monetary.3head		:= SOSRC = man3head/monetary.h.3head
-mqueue.3head		:= SOSRC = man3head/mqueue.h.3head
-msg.3head		:= SOSRC = man3head/msg.h.3head
-ndbm.3head		:= SOSRC = man3head/ndbm.h.3head
-netdb.3head		:= SOSRC = man3head/netdb.h.3head
-nl_types.3head		:= SOSRC = man3head/nl_types.h.3head
-poll.3head		:= SOSRC = man3head/poll.h.3head
-pthread.3head		:= SOSRC = man3head/pthread.h.3head
-pwd.3head		:= SOSRC = man3head/pwd.h.3head
-regex.3head		:= SOSRC = man3head/regex.h.3head
-resource.3head		:= SOSRC = man3head/resource.h.3head
-sched.3head		:= SOSRC = man3head/sched.h.3head
-search.3head		:= SOSRC = man3head/search.h.3head
-select.3head		:= SOSRC = man3head/select.h.3head
-sem.3head		:= SOSRC = man3head/sem.h.3head
-semaphore.3head		:= SOSRC = man3head/semaphore.h.3head
-setjmp.3head		:= SOSRC = man3head/setjmp.h.3head
-shm.3head		:= SOSRC = man3head/shm.h.3head
-siginfo.3head		:= SOSRC = man3head/siginfo.h.3head
-signal.3head		:= SOSRC = man3head/signal.h.3head
-socket.3head		:= SOSRC = man3head/socket.h.3head
-spawn.3head		:= SOSRC = man3head/spawn.h.3head
-stat.3head		:= SOSRC = man3head/stat.h.3head
-statvfs.3head		:= SOSRC = man3head/statvfs.h.3head
-stdbool.3head		:= SOSRC = man3head/stdbool.h.3head
-stddef.3head		:= SOSRC = man3head/stddef.h.3head
-stdint.3head		:= SOSRC = man3head/stdint.h.3head
-stdio.3head		:= SOSRC = man3head/stdio.h.3head
-stdlib.3head		:= SOSRC = man3head/stdlib.h.3head
-string.3head		:= SOSRC = man3head/string.h.3head
-strings.3head		:= SOSRC = man3head/strings.h.3head
-stropts.3head		:= SOSRC = man3head/stropts.h.3head
-syslog.3head		:= SOSRC = man3head/syslog.h.3head
-tar.3head		:= SOSRC = man3head/tar.h.3head
-tcp.3head		:= SOSRC = man3head/tcp.h.3head
-termios.3head		:= SOSRC = man3head/termios.h.3head
-tgmath.3head		:= SOSRC = man3head/tgmath.h.3head
-time.3head		:= SOSRC = man3head/time.h.3head
-timeb.3head		:= SOSRC = man3head/timeb.h.3head
-times.3head		:= SOSRC = man3head/times.h.3head
-types.3head		:= SOSRC = man3head/types.h.3head
-types32.3head		:= SOSRC = man3head/types32.h.3head
-ucontext.3head		:= SOSRC = man3head/ucontext.h.3head
-uio.3head		:= SOSRC = man3head/uio.h.3head
-ulimit.3head		:= SOSRC = man3head/ulimit.h.3head
-un.3head		:= SOSRC = man3head/un.h.3head
-unistd.3head		:= SOSRC = man3head/unistd.h.3head
-utime.3head		:= SOSRC = man3head/utime.h.3head
-utmpx.3head		:= SOSRC = man3head/utmpx.h.3head
-utsname.3head		:= SOSRC = man3head/utsname.h.3head
-values.3head		:= SOSRC = man3head/values.h.3head
-wait.3head		:= SOSRC = man3head/wait.h.3head
-wchar.3head		:= SOSRC = man3head/wchar.h.3head
-wctype.3head		:= SOSRC = man3head/wctype.h.3head
-wordexp.3head		:= SOSRC = man3head/wordexp.h.3head
-
+acct.3head		:= LINKSRC = acct.h.3head
+aio.3head		:= LINKSRC = aio.h.3head
+ar.3head		:= LINKSRC = ar.h.3head
+archives.3head		:= LINKSRC = archives.h.3head
+assert.3head		:= LINKSRC = assert.h.3head
+complex.3head		:= LINKSRC = complex.h.3head
+cpio.3head		:= LINKSRC = cpio.h.3head
+dirent.3head		:= LINKSRC = dirent.h.3head
+errno.3head		:= LINKSRC = errno.h.3head
+fcntl.3head		:= LINKSRC = fcntl.h.3head
+fenv.3head		:= LINKSRC = fenv.h.3head
+float.3head		:= LINKSRC = float.h.3head
+floatingpoint.3head	:= LINKSRC = floatingpoint.h.3head
+fmtmsg.3head		:= LINKSRC = fmtmsg.h.3head
+fnmatch.3head		:= LINKSRC = fnmatch.h.3head
+ftw.3head		:= LINKSRC = ftw.h.3head
+glob.3head		:= LINKSRC = glob.h.3head
+grp.3head		:= LINKSRC = grp.h.3head
+iconv.3head		:= LINKSRC = iconv.h.3head
+if.3head		:= LINKSRC = if.h.3head
+in.3head		:= LINKSRC = in.h.3head
+inet.3head		:= LINKSRC = inet.h.3head
+inttypes.3head		:= LINKSRC = inttypes.h.3head
+ipc.3head		:= LINKSRC = ipc.h.3head
+iso646.3head		:= LINKSRC = iso646.h.3head
+langinfo.3head		:= LINKSRC = langinfo.h.3head
+libgen.3head		:= LINKSRC = libgen.h.3head
+libintl.3head		:= LINKSRC = libintl.h.3head
+limits.3head		:= LINKSRC = limits.h.3head
+locale.3head		:= LINKSRC = locale.h.3head
+math.3head		:= LINKSRC = math.h.3head
+mman.3head		:= LINKSRC = mman.h.3head
+monetary.3head		:= LINKSRC = monetary.h.3head
+mqueue.3head		:= LINKSRC = mqueue.h.3head
+msg.3head		:= LINKSRC = msg.h.3head
+ndbm.3head		:= LINKSRC = ndbm.h.3head
+netdb.3head		:= LINKSRC = netdb.h.3head
+nl_types.3head		:= LINKSRC = nl_types.h.3head
+poll.3head		:= LINKSRC = poll.h.3head
+pthread.3head		:= LINKSRC = pthread.h.3head
+pwd.3head		:= LINKSRC = pwd.h.3head
+regex.3head		:= LINKSRC = regex.h.3head
+resource.3head		:= LINKSRC = resource.h.3head
+sched.3head		:= LINKSRC = sched.h.3head
+search.3head		:= LINKSRC = search.h.3head
+select.3head		:= LINKSRC = select.h.3head
+sem.3head		:= LINKSRC = sem.h.3head
+semaphore.3head		:= LINKSRC = semaphore.h.3head
+setjmp.3head		:= LINKSRC = setjmp.h.3head
+shm.3head		:= LINKSRC = shm.h.3head
+siginfo.3head		:= LINKSRC = siginfo.h.3head
+signal.3head		:= LINKSRC = signal.h.3head
+socket.3head		:= LINKSRC = socket.h.3head
+spawn.3head		:= LINKSRC = spawn.h.3head
+stat.3head		:= LINKSRC = stat.h.3head
+statvfs.3head		:= LINKSRC = statvfs.h.3head
+stdbool.3head		:= LINKSRC = stdbool.h.3head
+stddef.3head		:= LINKSRC = stddef.h.3head
+stdint.3head		:= LINKSRC = stdint.h.3head
+stdio.3head		:= LINKSRC = stdio.h.3head
+stdlib.3head		:= LINKSRC = stdlib.h.3head
+string.3head		:= LINKSRC = string.h.3head
+strings.3head		:= LINKSRC = strings.h.3head
+stropts.3head		:= LINKSRC = stropts.h.3head
+syslog.3head		:= LINKSRC = syslog.h.3head
+tar.3head		:= LINKSRC = tar.h.3head
+tcp.3head		:= LINKSRC = tcp.h.3head
+termios.3head		:= LINKSRC = termios.h.3head
+tgmath.3head		:= LINKSRC = tgmath.h.3head
+time.3head		:= LINKSRC = time.h.3head
+timeb.3head		:= LINKSRC = timeb.h.3head
+times.3head		:= LINKSRC = times.h.3head
+types.3head		:= LINKSRC = types.h.3head
+types32.3head		:= LINKSRC = types32.h.3head
+ucontext.3head		:= LINKSRC = ucontext.h.3head
+uio.3head		:= LINKSRC = uio.h.3head
+ulimit.3head		:= LINKSRC = ulimit.h.3head
+un.3head		:= LINKSRC = un.h.3head
+unistd.3head		:= LINKSRC = unistd.h.3head
+utime.3head		:= LINKSRC = utime.h.3head
+utmpx.3head		:= LINKSRC = utmpx.h.3head
+utsname.3head		:= LINKSRC = utsname.h.3head
+values.3head		:= LINKSRC = values.h.3head
+wait.3head		:= LINKSRC = wait.h.3head
+wchar.3head		:= LINKSRC = wchar.h.3head
+wctype.3head		:= LINKSRC = wctype.h.3head
+wordexp.3head		:= LINKSRC = wordexp.h.3head
 
 .KEEP_STATE:
 
-include ../Makefile.man
+include		$(SRC)/man/Makefile.man
 
-install: $(ROOTMANFILES)
+install:	$(ROOTMANFILES) $(ROOTMANLINKS)
--- a/usr/src/man/man3iscsit/Makefile	Fri Aug 30 01:19:35 2013 -0800
+++ b/usr/src/man/man3iscsit/Makefile	Thu Aug 29 02:33:28 2013 +0400
@@ -9,19 +9,22 @@
 # at http://www.illumos.org/license/CDDL.
 #
 
+#
 # Copyright 2011, Richard Lowe
-
-include ../../Makefile.master
+# Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
+#
 
-MANSECT = 	3iscsit
+include		$(SRC)/Makefile.master
 
-MANFILES = 	it_config_load.3iscsit		\
+MANSECT= 	3iscsit
+
+MANFILES= 	it_config_load.3iscsit		\
 	 	it_ini_create.3iscsit		\
 		it_portal_create.3iscsit	\
 		it_tgt_create.3iscsit		\
 		it_tpg_create.3iscsit
 
-MANSOFILES =	it_config_commit.3iscsit	\
+MANLINKS=	it_config_commit.3iscsit	\
 		it_config_free.3iscsit		\
 		it_config_setprop.3iscsit	\
 		it_ini_delete.3iscsit		\
@@ -37,31 +40,28 @@
 		it_tpgt_delete.3iscsit		\
 		it_tpgt_free.3iscsit
 
-MANFILES +=	$(MANSOFILES)
+it_config_commit.3iscsit	:= LINKSRC = it_config_load.3iscsit
+it_config_free.3iscsit		:= LINKSRC = it_config_load.3iscsit
+it_config_setprop.3iscsit	:= LINKSRC = it_config_load.3iscsit
 
-it_config_commit.3iscsit	:= SOSRC = man3iscsit/it_config_load.3iscsit
-it_config_free.3iscsit		:= SOSRC = man3iscsit/it_config_load.3iscsit
-it_config_setprop.3iscsit	:= SOSRC = man3iscsit/it_config_load.3iscsit
+it_ini_delete.3iscsit		:= LINKSRC = it_ini_create.3iscsit
+it_ini_free.3iscsit		:= LINKSRC = it_ini_create.3iscsit
+it_ini_setprop.3iscsit		:= LINKSRC = it_ini_create.3iscsit
 
-it_ini_delete.3iscsit		:= SOSRC = man3iscsit/it_ini_create.3iscsit
-it_ini_free.3iscsit		:= SOSRC = man3iscsit/it_ini_create.3iscsit
-it_ini_setprop.3iscsit		:= SOSRC = man3iscsit/it_ini_create.3iscsit
+it_portal_delete.3iscsit	:= LINKSRC = it_portal_create.3iscsit
 
-it_portal_delete.3iscsit	:= SOSRC = man3iscsit/it_portal_create.3iscsit
+it_tgt_delete.3iscsit		:= LINKSRC = it_tgt_create.3iscsit
+it_tgt_free.3iscsit		:= LINKSRC = it_tgt_create.3iscsit
+it_tgt_setprop.3iscsit		:= LINKSRC = it_tgt_create.3iscsit
+it_tpgt_create.3iscsit		:= LINKSRC = it_tgt_create.3iscsit
+it_tpgt_delete.3iscsit		:= LINKSRC = it_tgt_create.3iscsit
+it_tpgt_free.3iscsit		:= LINKSRC = it_tgt_create.3iscsit
 
-it_tgt_delete.3iscsit		:= SOSRC = man3iscsit/it_tgt_create.3iscsit
-it_tgt_free.3iscsit		:= SOSRC = man3iscsit/it_tgt_create.3iscsit
-it_tgt_setprop.3iscsit		:= SOSRC = man3iscsit/it_tgt_create.3iscsit
-it_tpgt_create.3iscsit		:= SOSRC = man3iscsit/it_tgt_create.3iscsit
-it_tpgt_delete.3iscsit		:= SOSRC = man3iscsit/it_tgt_create.3iscsit
-it_tpgt_free.3iscsit		:= SOSRC = man3iscsit/it_tgt_create.3iscsit
-
-it_tpg_delete.3iscsit		:= SOSRC = man3iscsit/it_tpg_create.3iscsit
-it_tpg_free.3iscsit		:= SOSRC = man3iscsit/it_tpg_create.3iscsit
-
+it_tpg_delete.3iscsit		:= LINKSRC = it_tpg_create.3iscsit
+it_tpg_free.3iscsit		:= LINKSRC = it_tpg_create.3iscsit
 
 .KEEP_STATE:
 
-include ../Makefile.man
+include		$(SRC)/man/Makefile.man
 
-install: $(ROOTMANFILES)
+install:	$(ROOTMANFILES) $(ROOTMANLINKS)
--- a/usr/src/man/man3kstat/Makefile	Fri Aug 30 01:19:35 2013 -0800
+++ b/usr/src/man/man3kstat/Makefile	Thu Aug 29 02:33:28 2013 +0400
@@ -9,32 +9,33 @@
 # at http://www.illumos.org/license/CDDL.
 #
 
+#
 # Copyright 2011, Richard Lowe
-
-include ../../Makefile.master
+# Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
+#
 
-MANSECT = 	3kstat
+include		$(SRC)/Makefile.master
 
-MANFILES = 	kstat.3kstat			\
+MANSECT= 	3kstat
+
+MANFILES= 	kstat.3kstat			\
 		kstat_chain_update.3kstat	\
 		kstat_lookup.3kstat		\
 		kstat_open.3kstat		\
 		kstat_read.3kstat
 
-MANSOFILES =	kstat_close.3kstat		\
+MANLINKS=	kstat_close.3kstat		\
 		kstat_data_lookup.3kstat	\
 		kstat_write.3kstat
 
-MANFILES +=	$(MANSOFILES)
-
-kstat_data_lookup.3kstat	:= SOSRC = man3kstat/kstat_lookup.3kstat
+kstat_data_lookup.3kstat	:= LINKSRC = kstat_lookup.3kstat
 
-kstat_close.3kstat		:= SOSRC = man3kstat/kstat_open.3kstat
+kstat_close.3kstat		:= LINKSRC = kstat_open.3kstat
 
-kstat_write.3kstat		:= SOSRC = man3kstat/kstat_read.3kstat
+kstat_write.3kstat		:= LINKSRC = kstat_read.3kstat
 
 .KEEP_STATE:
 
-include ../Makefile.man
+include		$(SRC)/man/Makefile.man
 
-install: $(ROOTMANFILES)
+install:	$(ROOTMANFILES) $(ROOTMANLINKS)
--- a/usr/src/man/man3kvm/Makefile	Fri Aug 30 01:19:35 2013 -0800
+++ b/usr/src/man/man3kvm/Makefile	Thu Aug 29 02:33:28 2013 +0400
@@ -9,20 +9,23 @@
 # at http://www.illumos.org/license/CDDL.
 #
 
+#
 # Copyright 2011, Richard Lowe
-
-include ../../Makefile.master
+# Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
+#
 
-MANSECT = 	3kvm
+include		$(SRC)/Makefile.master
 
-MANFILES = 	kvm_getu.3kvm		\
+MANSECT= 	3kvm
+
+MANFILES= 	kvm_getu.3kvm		\
 	 	kvm_kread.3kvm		\
 	 	kvm_nextproc.3kvm	\
 	 	kvm_nlist.3kvm		\
 	 	kvm_open.3kvm		\
 	 	kvm_read.3kvm
 
-MANSOFILES =	kvm_close.3kvm		\
+MANLINKS=	kvm_close.3kvm		\
 		kvm_getcmd.3kvm		\
 		kvm_getproc.3kvm	\
 		kvm_kwrite.3kvm		\
@@ -31,26 +34,21 @@
 		kvm_uwrite.3kvm		\
 		kvm_write.3kvm
 
-MANFILES +=	$(MANSOFILES)
-
-kvm_getcmd.3kvm		:= SOSRC = man3kvm/kvm_getu.3kvm
+kvm_getcmd.3kvm		:= LINKSRC = kvm_getu.3kvm
 
-kvm_kwrite.3kvm		:= SOSRC = man3kvm/kvm_kread.3kvm
-kvm_uread.3kvm		:= SOSRC = man3kvm/kvm_kread.3kvm
-kvm_uwrite.3kvm		:= SOSRC = man3kvm/kvm_kread.3kvm
+kvm_kwrite.3kvm		:= LINKSRC = kvm_kread.3kvm
+kvm_uread.3kvm		:= LINKSRC = kvm_kread.3kvm
+kvm_uwrite.3kvm		:= LINKSRC = kvm_kread.3kvm
 
-kvm_getproc.3kvm	:= SOSRC = man3kvm/kvm_nextproc.3kvm
-kvm_setproc.3kvm	:= SOSRC = man3kvm/kvm_nextproc.3kvm
+kvm_getproc.3kvm	:= LINKSRC = kvm_nextproc.3kvm
+kvm_setproc.3kvm	:= LINKSRC = kvm_nextproc.3kvm
 
-kvm_close.3kvm		:= SOSRC = man3kvm/kvm_open.3kvm
+kvm_close.3kvm		:= LINKSRC = kvm_open.3kvm
 
-kvm_write.3kvm		:= SOSRC = man3kvm/kvm_read.3kvm
-
+kvm_write.3kvm		:= LINKSRC = kvm_read.3kvm
 
 .KEEP_STATE:
 
-include ../Makefile.man
+include		$(SRC)/man/Makefile.man
 
-install: $(ROOTMANFILES)
-
-
+install:	$(ROOTMANFILES) $(ROOTMANLINKS)
--- a/usr/src/man/man3ldap/Makefile	Fri Aug 30 01:19:35 2013 -0800
+++ b/usr/src/man/man3ldap/Makefile	Thu Aug 29 02:33:28 2013 +0400
@@ -9,13 +9,16 @@
 # at http://www.illumos.org/license/CDDL.
 #
 
+#
 # Copyright 2011, Richard Lowe
-
-include ../../Makefile.master
+# Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
+#
 
-MANSECT = 	3ldap
+include		$(SRC)/Makefile.master
 
-MANFILES =	ber_decode.3ldap		\
+MANSECT= 	3ldap
+
+MANFILES=	ber_decode.3ldap		\
 	 	ber_encode.3ldap		\
 	 	cldap_close.3ldap		\
 	 	cldap_open.3ldap		\
@@ -57,7 +60,7 @@
 	 	ldap_url.3ldap			\
 	 	ldap_version.3ldap
 
-MANSOFILES =	ber_alloc.3ldap				\
+MANLINKS=	ber_alloc.3ldap				\
 		ber_alloc_t.3ldap			\
 		ber_bvdup.3ldap				\
 		ber_bvecfree.3ldap			\
@@ -212,192 +215,190 @@
 		ldap_value_free.3ldap			\
 		ldap_value_free_len.3ldap
 
-MANFILES +=	$(MANSOFILES)
+ber_alloc_t.3ldap			:= LINKSRC = ber_decode.3ldap
+ber_bvdup.3ldap				:= LINKSRC = ber_decode.3ldap
+ber_bvecfree.3ldap			:= LINKSRC = ber_decode.3ldap
+ber_bvfree.3ldap			:= LINKSRC = ber_decode.3ldap
+ber_first_element.3ldap			:= LINKSRC = ber_decode.3ldap
+ber_flatten.3ldap			:= LINKSRC = ber_decode.3ldap
+ber_free.3ldap				:= LINKSRC = ber_decode.3ldap
+ber_get_bitstring.3ldap			:= LINKSRC = ber_decode.3ldap
+ber_get_boolean.3ldap			:= LINKSRC = ber_decode.3ldap
+ber_get_int.3ldap			:= LINKSRC = ber_decode.3ldap
+ber_get_next.3ldap			:= LINKSRC = ber_decode.3ldap
+ber_get_null.3ldap			:= LINKSRC = ber_decode.3ldap
+ber_get_stringa.3ldap			:= LINKSRC = ber_decode.3ldap
+ber_get_stringal.3ldap			:= LINKSRC = ber_decode.3ldap
+ber_get_stringb.3ldap			:= LINKSRC = ber_decode.3ldap
+ber_init.3ldap				:= LINKSRC = ber_decode.3ldap
+ber_next_element.3ldap			:= LINKSRC = ber_decode.3ldap
+ber_peek_tag.3ldap			:= LINKSRC = ber_decode.3ldap
+ber_scanf.3ldap				:= LINKSRC = ber_decode.3ldap
+ber_skip_tag.3ldap			:= LINKSRC = ber_decode.3ldap
+ber_alloc.3ldap				:= LINKSRC = ber_encode.3ldap
+ber_printf.3ldap			:= LINKSRC = ber_encode.3ldap
+ber_put_bitstring.3ldap			:= LINKSRC = ber_encode.3ldap
+ber_put_boolean.3ldap			:= LINKSRC = ber_encode.3ldap
+ber_put_int.3ldap			:= LINKSRC = ber_encode.3ldap
+ber_put_null.3ldap			:= LINKSRC = ber_encode.3ldap
+ber_put_ostring.3ldap			:= LINKSRC = ber_encode.3ldap
+ber_put_seq.3ldap			:= LINKSRC = ber_encode.3ldap
+ber_put_set.3ldap			:= LINKSRC = ber_encode.3ldap
+ber_put_string.3ldap			:= LINKSRC = ber_encode.3ldap
+ber_start_seq.3ldap			:= LINKSRC = ber_encode.3ldap
+ber_start_set.3ldap			:= LINKSRC = ber_encode.3ldap
 
-ber_alloc_t.3ldap			:= SOSRC = man3ldap/ber_decode.3ldap
-ber_bvdup.3ldap				:= SOSRC = man3ldap/ber_decode.3ldap
-ber_bvecfree.3ldap			:= SOSRC = man3ldap/ber_decode.3ldap
-ber_bvfree.3ldap			:= SOSRC = man3ldap/ber_decode.3ldap
-ber_first_element.3ldap			:= SOSRC = man3ldap/ber_decode.3ldap
-ber_flatten.3ldap			:= SOSRC = man3ldap/ber_decode.3ldap
-ber_free.3ldap				:= SOSRC = man3ldap/ber_decode.3ldap
-ber_get_bitstring.3ldap			:= SOSRC = man3ldap/ber_decode.3ldap
-ber_get_boolean.3ldap			:= SOSRC = man3ldap/ber_decode.3ldap
-ber_get_int.3ldap			:= SOSRC = man3ldap/ber_decode.3ldap
-ber_get_next.3ldap			:= SOSRC = man3ldap/ber_decode.3ldap
-ber_get_null.3ldap			:= SOSRC = man3ldap/ber_decode.3ldap
-ber_get_stringa.3ldap			:= SOSRC = man3ldap/ber_decode.3ldap
-ber_get_stringal.3ldap			:= SOSRC = man3ldap/ber_decode.3ldap
-ber_get_stringb.3ldap			:= SOSRC = man3ldap/ber_decode.3ldap
-ber_init.3ldap				:= SOSRC = man3ldap/ber_decode.3ldap
-ber_next_element.3ldap			:= SOSRC = man3ldap/ber_decode.3ldap
-ber_peek_tag.3ldap			:= SOSRC = man3ldap/ber_decode.3ldap
-ber_scanf.3ldap				:= SOSRC = man3ldap/ber_decode.3ldap
-ber_skip_tag.3ldap			:= SOSRC = man3ldap/ber_decode.3ldap
-ber_alloc.3ldap				:= SOSRC = man3ldap/ber_encode.3ldap
-ber_printf.3ldap			:= SOSRC = man3ldap/ber_encode.3ldap
-ber_put_bitstring.3ldap			:= SOSRC = man3ldap/ber_encode.3ldap
-ber_put_boolean.3ldap			:= SOSRC = man3ldap/ber_encode.3ldap
-ber_put_int.3ldap			:= SOSRC = man3ldap/ber_encode.3ldap
-ber_put_null.3ldap			:= SOSRC = man3ldap/ber_encode.3ldap
-ber_put_ostring.3ldap			:= SOSRC = man3ldap/ber_encode.3ldap
-ber_put_seq.3ldap			:= SOSRC = man3ldap/ber_encode.3ldap
-ber_put_set.3ldap			:= SOSRC = man3ldap/ber_encode.3ldap
-ber_put_string.3ldap			:= SOSRC = man3ldap/ber_encode.3ldap
-ber_start_seq.3ldap			:= SOSRC = man3ldap/ber_encode.3ldap
-ber_start_set.3ldap			:= SOSRC = man3ldap/ber_encode.3ldap
-
-ldap_add_ext.3ldap			:= SOSRC = man3ldap/ldap_add.3ldap
-ldap_add_ext_s.3ldap			:= SOSRC = man3ldap/ldap_add.3ldap
-ldap_add_s.3ldap			:= SOSRC = man3ldap/ldap_add.3ldap
+ldap_add_ext.3ldap			:= LINKSRC = ldap_add.3ldap
+ldap_add_ext_s.3ldap			:= LINKSRC = ldap_add.3ldap
+ldap_add_s.3ldap			:= LINKSRC = ldap_add.3ldap
 
-ldap_bind_s.3ldap			:= SOSRC = man3ldap/ldap_bind.3ldap
-ldap_sasl_bind.3ldap			:= SOSRC = man3ldap/ldap_bind.3ldap
-ldap_sasl_bind_s.3ldap			:= SOSRC = man3ldap/ldap_bind.3ldap
-ldap_sasl_interactive_bind_s.3ldap	:= SOSRC = man3ldap/ldap_bind.3ldap
-ldap_set_rebind_proc.3ldap		:= SOSRC = man3ldap/ldap_bind.3ldap
-ldap_simple_bind.3ldap			:= SOSRC = man3ldap/ldap_bind.3ldap
-ldap_simple_bind_s.3ldap		:= SOSRC = man3ldap/ldap_bind.3ldap
-ldap_unbind.3ldap			:= SOSRC = man3ldap/ldap_bind.3ldap
-ldap_unbind_ext.3ldap			:= SOSRC = man3ldap/ldap_bind.3ldap
-ldap_unbind_s.3ldap			:= SOSRC = man3ldap/ldap_bind.3ldap
+ldap_bind_s.3ldap			:= LINKSRC = ldap_bind.3ldap
+ldap_sasl_bind.3ldap			:= LINKSRC = ldap_bind.3ldap
+ldap_sasl_bind_s.3ldap			:= LINKSRC = ldap_bind.3ldap
+ldap_sasl_interactive_bind_s.3ldap	:= LINKSRC = ldap_bind.3ldap
+ldap_set_rebind_proc.3ldap		:= LINKSRC = ldap_bind.3ldap
+ldap_simple_bind.3ldap			:= LINKSRC = ldap_bind.3ldap
+ldap_simple_bind_s.3ldap		:= LINKSRC = ldap_bind.3ldap
+ldap_unbind.3ldap			:= LINKSRC = ldap_bind.3ldap
+ldap_unbind_ext.3ldap			:= LINKSRC = ldap_bind.3ldap
+ldap_unbind_s.3ldap			:= LINKSRC = ldap_bind.3ldap
 
-ldap_8859_to_t61.3ldap			:= SOSRC = man3ldap/ldap_charset.3ldap
-ldap_enable_translation.3ldap		:= SOSRC = man3ldap/ldap_charset.3ldap
-ldap_set_string_translators.3ldap	:= SOSRC = man3ldap/ldap_charset.3ldap
-ldap_t61_to_8859.3ldap			:= SOSRC = man3ldap/ldap_charset.3ldap
-ldap_translate_from_t61.3ldap		:= SOSRC = man3ldap/ldap_charset.3ldap
-ldap_translate_to_t61.3ldap		:= SOSRC = man3ldap/ldap_charset.3ldap
-ldap_compare_ext.3ldap			:= SOSRC = man3ldap/ldap_compare.3ldap
-ldap_compare_ext_s.3ldap		:= SOSRC = man3ldap/ldap_compare.3ldap
-ldap_compare_s.3ldap			:= SOSRC = man3ldap/ldap_compare.3ldap
+ldap_8859_to_t61.3ldap			:= LINKSRC = ldap_charset.3ldap
+ldap_enable_translation.3ldap		:= LINKSRC = ldap_charset.3ldap
+ldap_set_string_translators.3ldap	:= LINKSRC = ldap_charset.3ldap
+ldap_t61_to_8859.3ldap			:= LINKSRC = ldap_charset.3ldap
+ldap_translate_from_t61.3ldap		:= LINKSRC = ldap_charset.3ldap
+ldap_translate_to_t61.3ldap		:= LINKSRC = ldap_charset.3ldap
+ldap_compare_ext.3ldap			:= LINKSRC = ldap_compare.3ldap
+ldap_compare_ext_s.3ldap		:= LINKSRC = ldap_compare.3ldap
+ldap_compare_s.3ldap			:= LINKSRC = ldap_compare.3ldap
 
-ldap_controls_free.3ldap		:= SOSRC = man3ldap/ldap_control_free.3ldap
+ldap_controls_free.3ldap		:= LINKSRC = ldap_control_free.3ldap
 
-ldap_delete_ext.3ldap			:= SOSRC = man3ldap/ldap_delete.3ldap
-ldap_delete_ext_s.3ldap			:= SOSRC = man3ldap/ldap_delete.3ldap
-ldap_delete_s.3ldap			:= SOSRC = man3ldap/ldap_delete.3ldap
+ldap_delete_ext.3ldap			:= LINKSRC = ldap_delete.3ldap
+ldap_delete_ext_s.3ldap			:= LINKSRC = ldap_delete.3ldap
+ldap_delete_s.3ldap			:= LINKSRC = ldap_delete.3ldap
 
-ldap_first_disptmpl.3ldap		:= SOSRC = man3ldap/ldap_disptmpl.3ldap
-ldap_first_tmplcol.3ldap		:= SOSRC = man3ldap/ldap_disptmpl.3ldap
-ldap_first_tmplrow.3ldap		:= SOSRC = man3ldap/ldap_disptmpl.3ldap
-ldap_free_templates.3ldap		:= SOSRC = man3ldap/ldap_disptmpl.3ldap
-ldap_init_templates.3ldap		:= SOSRC = man3ldap/ldap_disptmpl.3ldap
-ldap_init_templates_buf.3ldap		:= SOSRC = man3ldap/ldap_disptmpl.3ldap
-ldap_name2template.3ldap		:= SOSRC = man3ldap/ldap_disptmpl.3ldap
-ldap_next_disptmpl.3ldap		:= SOSRC = man3ldap/ldap_disptmpl.3ldap
-ldap_next_tmplcol.3ldap			:= SOSRC = man3ldap/ldap_disptmpl.3ldap
-ldap_next_tmplrow.3ldap			:= SOSRC = man3ldap/ldap_disptmpl.3ldap
-ldap_oc2template.3ldap			:= SOSRC = man3ldap/ldap_disptmpl.3ldap
-ldap_tmplattrs.3ldap			:= SOSRC = man3ldap/ldap_disptmpl.3ldap
+ldap_first_disptmpl.3ldap		:= LINKSRC = ldap_disptmpl.3ldap
+ldap_first_tmplcol.3ldap		:= LINKSRC = ldap_disptmpl.3ldap
+ldap_first_tmplrow.3ldap		:= LINKSRC = ldap_disptmpl.3ldap
+ldap_free_templates.3ldap		:= LINKSRC = ldap_disptmpl.3ldap
+ldap_init_templates.3ldap		:= LINKSRC = ldap_disptmpl.3ldap
+ldap_init_templates_buf.3ldap		:= LINKSRC = ldap_disptmpl.3ldap
+ldap_name2template.3ldap		:= LINKSRC = ldap_disptmpl.3ldap
+ldap_next_disptmpl.3ldap		:= LINKSRC = ldap_disptmpl.3ldap
+ldap_next_tmplcol.3ldap			:= LINKSRC = ldap_disptmpl.3ldap
+ldap_next_tmplrow.3ldap			:= LINKSRC = ldap_disptmpl.3ldap
+ldap_oc2template.3ldap			:= LINKSRC = ldap_disptmpl.3ldap
+ldap_tmplattrs.3ldap			:= LINKSRC = ldap_disptmpl.3ldap
 
-ldap_entry2html.3ldap			:= SOSRC = man3ldap/ldap_entry2text.3ldap
-ldap_entry2html_search.3ldap		:= SOSRC = man3ldap/ldap_entry2text.3ldap
-ldap_entry2text_search.3ldap		:= SOSRC = man3ldap/ldap_entry2text.3ldap
-ldap_vals2html.3ldap			:= SOSRC = man3ldap/ldap_entry2text.3ldap
-ldap_vals2text.3ldap			:= SOSRC = man3ldap/ldap_entry2text.3ldap
+ldap_entry2html.3ldap			:= LINKSRC = ldap_entry2text.3ldap
+ldap_entry2html_search.3ldap		:= LINKSRC = ldap_entry2text.3ldap
+ldap_entry2text_search.3ldap		:= LINKSRC = ldap_entry2text.3ldap
+ldap_vals2html.3ldap			:= LINKSRC = ldap_entry2text.3ldap
+ldap_vals2text.3ldap			:= LINKSRC = ldap_entry2text.3ldap
 
-ldap_err2string.3ldap			:= SOSRC = man3ldap/ldap_error.3ldap
-ldap_perror.3ldap			:= SOSRC = man3ldap/ldap_error.3ldap
-ldap_result2error.3ldap			:= SOSRC = man3ldap/ldap_error.3ldap
+ldap_err2string.3ldap			:= LINKSRC = ldap_error.3ldap
+ldap_perror.3ldap			:= LINKSRC = ldap_error.3ldap
+ldap_result2error.3ldap			:= LINKSRC = ldap_error.3ldap
 
-ldap_next_attribute.3ldap		:= SOSRC = man3ldap/ldap_first_attribute.3ldap
+ldap_next_attribute.3ldap		:= LINKSRC = ldap_first_attribute.3ldap
 
-ldap_count_entries.3ldap		:= SOSRC = man3ldap/ldap_first_entry.3ldap
-ldap_count_references.3ldap		:= SOSRC = man3ldap/ldap_first_entry.3ldap
-ldap_first_reference.3ldap		:= SOSRC = man3ldap/ldap_first_entry.3ldap
-ldap_next_entry.3ldap			:= SOSRC = man3ldap/ldap_first_entry.3ldap
-ldap_next_reference.3ldap		:= SOSRC = man3ldap/ldap_first_entry.3ldap
+ldap_count_entries.3ldap		:= LINKSRC = ldap_first_entry.3ldap
+ldap_count_references.3ldap		:= LINKSRC = ldap_first_entry.3ldap
+ldap_first_reference.3ldap		:= LINKSRC = ldap_first_entry.3ldap
+ldap_next_entry.3ldap			:= LINKSRC = ldap_first_entry.3ldap
+ldap_next_reference.3ldap		:= LINKSRC = ldap_first_entry.3ldap
 
-ldap_count_messages.3ldap		:= SOSRC = man3ldap/ldap_first_message.3ldap
-ldap_msgtype.3ldap			:= SOSRC = man3ldap/ldap_first_message.3ldap
-ldap_next_message.3ldap			:= SOSRC = man3ldap/ldap_first_message.3ldap
+ldap_count_messages.3ldap		:= LINKSRC = ldap_first_message.3ldap
+ldap_msgtype.3ldap			:= LINKSRC = ldap_first_message.3ldap
+ldap_next_message.3ldap			:= LINKSRC = ldap_first_message.3ldap
 
-ldap_free_friendlymap.3ldap		:= SOSRC = man3ldap/ldap_friendly.3ldap
-ldap_friendly_name.3ldap		:= SOSRC = man3ldap/ldap_friendly.3ldap
+ldap_free_friendlymap.3ldap		:= LINKSRC = ldap_friendly.3ldap
+ldap_friendly_name.3ldap		:= LINKSRC = ldap_friendly.3ldap
 
-ldap_dn2ufn.3ldap			:= SOSRC = man3ldap/ldap_get_dn.3ldap
-ldap_dns_to_dn.3ldap			:= SOSRC = man3ldap/ldap_get_dn.3ldap
-ldap_explode_dn.3ldap			:= SOSRC = man3ldap/ldap_get_dn.3ldap
-ldap_explode_dns.3ldap			:= SOSRC = man3ldap/ldap_get_dn.3ldap
-ldap_is_dns_dn.3ldap			:= SOSRC = man3ldap/ldap_get_dn.3ldap
+ldap_dn2ufn.3ldap			:= LINKSRC = ldap_get_dn.3ldap
+ldap_dns_to_dn.3ldap			:= LINKSRC = ldap_get_dn.3ldap
+ldap_explode_dn.3ldap			:= LINKSRC = ldap_get_dn.3ldap
+ldap_explode_dns.3ldap			:= LINKSRC = ldap_get_dn.3ldap
+ldap_is_dns_dn.3ldap			:= LINKSRC = ldap_get_dn.3ldap
 
-ldap_get_lang_values_len.3ldap		:= SOSRC = man3ldap/ldap_get_lang_values.3ldap
+ldap_get_lang_values_len.3ldap		:= LINKSRC = ldap_get_lang_values.3ldap
 
-ldap_set_option.3ldap			:= SOSRC = man3ldap/ldap_get_option.3ldap
-ldap_count_values.3ldap			:= SOSRC = man3ldap/ldap_get_values.3ldap
-ldap_count_values_len.3ldap		:= SOSRC = man3ldap/ldap_get_values.3ldap
-ldap_get_values_len.3ldap		:= SOSRC = man3ldap/ldap_get_values.3ldap
-ldap_value_free.3ldap			:= SOSRC = man3ldap/ldap_get_values.3ldap
-ldap_value_free_len.3ldap		:= SOSRC = man3ldap/ldap_get_values.3ldap
+ldap_set_option.3ldap			:= LINKSRC = ldap_get_option.3ldap
+ldap_count_values.3ldap			:= LINKSRC = ldap_get_values.3ldap
+ldap_count_values_len.3ldap		:= LINKSRC = ldap_get_values.3ldap
+ldap_get_values_len.3ldap		:= LINKSRC = ldap_get_values.3ldap
+ldap_value_free.3ldap			:= LINKSRC = ldap_get_values.3ldap
+ldap_value_free_len.3ldap		:= LINKSRC = ldap_get_values.3ldap
 
-ldap_build_filter.3ldap			:= SOSRC = man3ldap/ldap_getfilter.3ldap
-ldap_getfilter_free.3ldap		:= SOSRC = man3ldap/ldap_getfilter.3ldap
-ldap_getfirstfilter.3ldap		:= SOSRC = man3ldap/ldap_getfilter.3ldap
-ldap_getnextfilter.3ldap		:= SOSRC = man3ldap/ldap_getfilter.3ldap
-ldap_init_getfilter.3ldap		:= SOSRC = man3ldap/ldap_getfilter.3ldap
-ldap_init_getfilter_buf.3ldap		:= SOSRC = man3ldap/ldap_getfilter.3ldap
-ldap_setfilteraffixes.3ldap		:= SOSRC = man3ldap/ldap_getfilter.3ldap
+ldap_build_filter.3ldap			:= LINKSRC = ldap_getfilter.3ldap
+ldap_getfilter_free.3ldap		:= LINKSRC = ldap_getfilter.3ldap
+ldap_getfirstfilter.3ldap		:= LINKSRC = ldap_getfilter.3ldap
+ldap_getnextfilter.3ldap		:= LINKSRC = ldap_getfilter.3ldap
+ldap_init_getfilter.3ldap		:= LINKSRC = ldap_getfilter.3ldap
+ldap_init_getfilter_buf.3ldap		:= LINKSRC = ldap_getfilter.3ldap
+ldap_setfilteraffixes.3ldap		:= LINKSRC = ldap_getfilter.3ldap
 
-ldap_memcache_destroy.3ldap		:= SOSRC = man3ldap/ldap_memcache.3ldap
-ldap_memcache_flush.3ldap		:= SOSRC = man3ldap/ldap_memcache.3ldap
-ldap_memcache_get.3ldap			:= SOSRC = man3ldap/ldap_memcache.3ldap
-ldap_memcache_init.3ldap		:= SOSRC = man3ldap/ldap_memcache.3ldap
-ldap_memcache_set.3ldap			:= SOSRC = man3ldap/ldap_memcache.3ldap
-ldap_memcache_update.3ldap		:= SOSRC = man3ldap/ldap_memcache.3ldap
+ldap_memcache_destroy.3ldap		:= LINKSRC = ldap_memcache.3ldap
+ldap_memcache_flush.3ldap		:= LINKSRC = ldap_memcache.3ldap
+ldap_memcache_get.3ldap			:= LINKSRC = ldap_memcache.3ldap
+ldap_memcache_init.3ldap		:= LINKSRC = ldap_memcache.3ldap
+ldap_memcache_set.3ldap			:= LINKSRC = ldap_memcache.3ldap
+ldap_memcache_update.3ldap		:= LINKSRC = ldap_memcache.3ldap
 
-ldap_modify_ext.3ldap			:= SOSRC = man3ldap/ldap_modify.3ldap
-ldap_modify_ext_s.3ldap			:= SOSRC = man3ldap/ldap_modify.3ldap
-ldap_modify_s.3ldap			:= SOSRC = man3ldap/ldap_modify.3ldap
-ldap_mods_free.3ldap			:= SOSRC = man3ldap/ldap_modify.3ldap
+ldap_modify_ext.3ldap			:= LINKSRC = ldap_modify.3ldap
+ldap_modify_ext_s.3ldap			:= LINKSRC = ldap_modify.3ldap
+ldap_modify_s.3ldap			:= LINKSRC = ldap_modify.3ldap
+ldap_mods_free.3ldap			:= LINKSRC = ldap_modify.3ldap
 
-ldap_modrdn2.3ldap			:= SOSRC = man3ldap/ldap_modrdn.3ldap
-ldap_modrdn2_s.3ldap			:= SOSRC = man3ldap/ldap_modrdn.3ldap
-ldap_modrdn_s.3ldap			:= SOSRC = man3ldap/ldap_modrdn.3ldap
-ldap_rename.3ldap			:= SOSRC = man3ldap/ldap_modrdn.3ldap
-ldap_rename_s.3ldap			:= SOSRC = man3ldap/ldap_modrdn.3ldap
+ldap_modrdn2.3ldap			:= LINKSRC = ldap_modrdn.3ldap
+ldap_modrdn2_s.3ldap			:= LINKSRC = ldap_modrdn.3ldap
+ldap_modrdn_s.3ldap			:= LINKSRC = ldap_modrdn.3ldap
+ldap_rename.3ldap			:= LINKSRC = ldap_modrdn.3ldap
+ldap_rename_s.3ldap			:= LINKSRC = ldap_modrdn.3ldap
 
-ldap_init.3ldap				:= SOSRC = man3ldap/ldap_open.3ldap
+ldap_init.3ldap				:= LINKSRC = ldap_open.3ldap
 
-ldap_parse_extended_result.3ldap	:= SOSRC = man3ldap/ldap_parse_result.3ldap
-ldap_parse_sasl_bind_result.3ldap	:= SOSRC = man3ldap/ldap_parse_result.3ldap
+ldap_parse_extended_result.3ldap	:= LINKSRC = ldap_parse_result.3ldap
+ldap_parse_sasl_bind_result.3ldap	:= LINKSRC = ldap_parse_result.3ldap
 
-ldap_msgfree.3ldap			:= SOSRC = man3ldap/ldap_result.3ldap
+ldap_msgfree.3ldap			:= LINKSRC = ldap_result.3ldap
 
-ldap_search_ext.3ldap			:= SOSRC = man3ldap/ldap_search.3ldap
-ldap_search_ext_s.3ldap			:= SOSRC = man3ldap/ldap_search.3ldap
-ldap_search_s.3ldap			:= SOSRC = man3ldap/ldap_search.3ldap
-ldap_search_st.3ldap			:= SOSRC = man3ldap/ldap_search.3ldap
+ldap_search_ext.3ldap			:= LINKSRC = ldap_search.3ldap
+ldap_search_ext_s.3ldap			:= LINKSRC = ldap_search.3ldap
+ldap_search_s.3ldap			:= LINKSRC = ldap_search.3ldap
+ldap_search_st.3ldap			:= LINKSRC = ldap_search.3ldap
 
-ldap_first_searchobj.3ldap		:= SOSRC = man3ldap/ldap_searchprefs.3ldap
-ldap_free_searchprefs.3ldap		:= SOSRC = man3ldap/ldap_searchprefs.3ldap
-ldap_init_searchprefs.3ldap		:= SOSRC = man3ldap/ldap_searchprefs.3ldap
-ldap_init_searchprefs_buf.3ldap		:= SOSRC = man3ldap/ldap_searchprefs.3ldap
-ldap_next_searchobj.3ldap		:= SOSRC = man3ldap/ldap_searchprefs.3ldap
+ldap_first_searchobj.3ldap		:= LINKSRC = ldap_searchprefs.3ldap
+ldap_free_searchprefs.3ldap		:= LINKSRC = ldap_searchprefs.3ldap
+ldap_init_searchprefs.3ldap		:= LINKSRC = ldap_searchprefs.3ldap
+ldap_init_searchprefs_buf.3ldap		:= LINKSRC = ldap_searchprefs.3ldap
+ldap_next_searchobj.3ldap		:= LINKSRC = ldap_searchprefs.3ldap
 
-ldap_sort_entries.3ldap			:= SOSRC = man3ldap/ldap_sort.3ldap
-ldap_sort_strcasecmp.3ldap		:= SOSRC = man3ldap/ldap_sort.3ldap
-ldap_sort_values.3ldap			:= SOSRC = man3ldap/ldap_sort.3ldap
+ldap_sort_entries.3ldap			:= LINKSRC = ldap_sort.3ldap
+ldap_sort_strcasecmp.3ldap		:= LINKSRC = ldap_sort.3ldap
+ldap_sort_values.3ldap			:= LINKSRC = ldap_sort.3ldap
 
-ldap_ufn_search_c.3ldap			:= SOSRC = man3ldap/ldap_ufn.3ldap
-ldap_ufn_search_ct.3ldap		:= SOSRC = man3ldap/ldap_ufn.3ldap
-ldap_ufn_search_s.3ldap			:= SOSRC = man3ldap/ldap_ufn.3ldap
-ldap_ufn_setfilter.3ldap		:= SOSRC = man3ldap/ldap_ufn.3ldap
-ldap_ufn_setprefix.3ldap		:= SOSRC = man3ldap/ldap_ufn.3ldap
-ldap_ufn_timeout.3ldap			:= SOSRC = man3ldap/ldap_ufn.3ldap
+ldap_ufn_search_c.3ldap			:= LINKSRC = ldap_ufn.3ldap
+ldap_ufn_search_ct.3ldap		:= LINKSRC = ldap_ufn.3ldap
+ldap_ufn_search_s.3ldap			:= LINKSRC = ldap_ufn.3ldap
+ldap_ufn_setfilter.3ldap		:= LINKSRC = ldap_ufn.3ldap
+ldap_ufn_setprefix.3ldap		:= LINKSRC = ldap_ufn.3ldap
+ldap_ufn_timeout.3ldap			:= LINKSRC = ldap_ufn.3ldap
 
-ldap_dn_to_url.3ldap			:= SOSRC = man3ldap/ldap_url.3ldap
-ldap_dns_to_url.3ldap			:= SOSRC = man3ldap/ldap_url.3ldap
-ldap_free_urldesc.3ldap			:= SOSRC = man3ldap/ldap_url.3ldap
-ldap_is_ldap_url.3ldap			:= SOSRC = man3ldap/ldap_url.3ldap
-ldap_url_parse.3ldap			:= SOSRC = man3ldap/ldap_url.3ldap
-ldap_url_parse_nodn.3ldap		:= SOSRC = man3ldap/ldap_url.3ldap
-ldap_url_search.3ldap			:= SOSRC = man3ldap/ldap_url.3ldap
-ldap_url_search_s.3ldap			:= SOSRC = man3ldap/ldap_url.3ldap
-ldap_url_search_st.3ldap		:= SOSRC = man3ldap/ldap_url.3ldap
+ldap_dn_to_url.3ldap			:= LINKSRC = ldap_url.3ldap
+ldap_dns_to_url.3ldap			:= LINKSRC = ldap_url.3ldap
+ldap_free_urldesc.3ldap			:= LINKSRC = ldap_url.3ldap
+ldap_is_ldap_url.3ldap			:= LINKSRC = ldap_url.3ldap
+ldap_url_parse.3ldap			:= LINKSRC = ldap_url.3ldap
+ldap_url_parse_nodn.3ldap		:= LINKSRC = ldap_url.3ldap
+ldap_url_search.3ldap			:= LINKSRC = ldap_url.3ldap
+ldap_url_search_s.3ldap			:= LINKSRC = ldap_url.3ldap
+ldap_url_search_st.3ldap		:= LINKSRC = ldap_url.3ldap
 
 .KEEP_STATE:
 
-include ../Makefile.man
+include		$(SRC)/man/Makefile.man
 
-install: $(ROOTMANFILES)
+install:	$(ROOTMANFILES) $(ROOTMANLINKS)
--- a/usr/src/man/man3lgrp/Makefile	Fri Aug 30 01:19:35 2013 -0800
+++ b/usr/src/man/man3lgrp/Makefile	Thu Aug 29 02:33:28 2013 +0400
@@ -9,13 +9,16 @@
 # at http://www.illumos.org/license/CDDL.
 #
 
+#
 # Copyright 2011, Richard Lowe
-
-include ../../Makefile.master
+# Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
+#
 
-MANSECT = 	3lgrp
+include		$(SRC)/Makefile.master
 
-MANFILES =	lgrp_affinity_get.3lgrp		\
+MANSECT= 	3lgrp
+
+MANFILES=	lgrp_affinity_get.3lgrp		\
 	 	lgrp_children.3lgrp		\
 	 	lgrp_cookie_stale.3lgrp		\
 	 	lgrp_cpus.3lgrp			\
@@ -31,17 +34,15 @@
 	 	lgrp_version.3lgrp		\
 	 	lgrp_view.3lgrp
 
-MANSOFILES =	lgrp_affinity_set.3lgrp	\
+MANLINKS=	lgrp_affinity_set.3lgrp		\
 		lgrp_latency_cookie.3lgrp
 
-MANFILES +=	$(MANSOFILES)
+lgrp_affinity_set.3lgrp		:= LINKSRC = lgrp_affinity_get.3lgrp
 
-lgrp_affinity_set.3lgrp		:= SOSRC = man3lgrp/lgrp_affinity_get.3lgrp
-
-lgrp_latency_cookie.3lgrp	:= SOSRC = man3lgrp/lgrp_latency.3lgrp
+lgrp_latency_cookie.3lgrp	:= LINKSRC = lgrp_latency.3lgrp
 
 .KEEP_STATE:
 
-include ../Makefile.man
+include		$(SRC)/man/Makefile.man
 
-install: $(ROOTMANFILES)
+install:	$(ROOTMANFILES) $(ROOTMANLINKS)
--- a/usr/src/man/man3lib/Makefile	Fri Aug 30 01:19:35 2013 -0800
+++ b/usr/src/man/man3lib/Makefile	Thu Aug 29 02:33:28 2013 +0400
@@ -9,13 +9,16 @@
 # at http://www.illumos.org/license/CDDL.
 #
 
+#
 # Copyright 2011, Richard Lowe
-
-include ../../Makefile.master
+# Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
+#
 
-MANSECT = 	3lib
+include		$(SRC)/Makefile.master
 
-MANFILES = 	libMPAPI.3lib		\
+MANSECT= 	3lib
+
+MANFILES= 	libMPAPI.3lib		\
 	 	libSMHBAAPI.3lib	\
 	 	libadm.3lib		\
 	 	libaio.3lib		\
@@ -104,7 +107,7 @@
 	 	libxnet.3lib		\
 	 	liby.3lib
 
-MANSOFILES =	SMHBA_GetAdapterAttributes.3lib			\
+MANLINKS=	SMHBA_GetAdapterAttributes.3lib			\
 		SMHBA_GetAdapterPortAttributes.3lib		\
 		SMHBA_GetBindingCapability.3lib			\
 		SMHBA_GetBindingSupport.3lib			\
@@ -145,56 +148,52 @@
 		libtermcap.3lib					\
 		libtermlib.3lib
 
-MANFILES +=	$(MANSOFILES)
-
-libmpapi.3lib					:= SOSRC = man3lib/libMPAPI.3lib
+libmpapi.3lib					:= LINKSRC = libMPAPI.3lib
 
-SMHBA_GetAdapterAttributes.3lib			:= SOSRC = man3lib/libSMHBAAPI.3lib
-SMHBA_GetAdapterPortAttributes.3lib		:= SOSRC = man3lib/libSMHBAAPI.3lib
-SMHBA_GetBindingCapability.3lib			:= SOSRC = man3lib/libSMHBAAPI.3lib
-SMHBA_GetBindingSupport.3lib			:= SOSRC = man3lib/libSMHBAAPI.3lib
-SMHBA_GetDiscoveredPortAttributes.3lib		:= SOSRC = man3lib/libSMHBAAPI.3lib
-SMHBA_GetFCPhyAttributes.3lib			:= SOSRC = man3lib/libSMHBAAPI.3lib
-SMHBA_GetLUNStatistics.3lib			:= SOSRC = man3lib/libSMHBAAPI.3lib
-SMHBA_GetNumberofPorts.3lib			:= SOSRC = man3lib/libSMHBAAPI.3lib
-SMHBA_GetPersistentBinding.3lib			:= SOSRC = man3lib/libSMHBAAPI.3lib
-SMHBA_GetPhyStatistics.3lib			:= SOSRC = man3lib/libSMHBAAPI.3lib
-SMHBA_GetPortAttributesByWWN.3lib		:= SOSRC = man3lib/libSMHBAAPI.3lib
-SMHBA_GetPortType.3lib				:= SOSRC = man3lib/libSMHBAAPI.3lib
-SMHBA_GetProtocolStatistics.3lib		:= SOSRC = man3lib/libSMHBAAPI.3lib
-SMHBA_GetSASPhyAttributes.3lib			:= SOSRC = man3lib/libSMHBAAPI.3lib
-SMHBA_GetTargetMapping.3lib			:= SOSRC = man3lib/libSMHBAAPI.3lib
-SMHBA_GetVendorLibraryAttributes.3lib		:= SOSRC = man3lib/libSMHBAAPI.3lib
-SMHBA_GetVersion.3lib				:= SOSRC = man3lib/libSMHBAAPI.3lib
-SMHBA_GetWrapperLibraryAttributes.3lib		:= SOSRC = man3lib/libSMHBAAPI.3lib
-SMHBA_RegisterForAdapterAddEvents.3lib		:= SOSRC = man3lib/libSMHBAAPI.3lib
-SMHBA_RegisterForAdapterEvents.3lib		:= SOSRC = man3lib/libSMHBAAPI.3lib
-SMHBA_RegisterForAdapterPhyStatEvents.3lib	:= SOSRC = man3lib/libSMHBAAPI.3lib
-SMHBA_RegisterForAdapterPortEvents.3lib		:= SOSRC = man3lib/libSMHBAAPI.3lib
-SMHBA_RegisterForAdapterPortStatEvents.3lib	:= SOSRC = man3lib/libSMHBAAPI.3lib
-SMHBA_RegisterForTargetEvents.3lib		:= SOSRC = man3lib/libSMHBAAPI.3lib
-SMHBA_RegisterLibrary.3lib			:= SOSRC = man3lib/libSMHBAAPI.3lib
-SMHBA_RemoveAllPersistentBindings.3lib		:= SOSRC = man3lib/libSMHBAAPI.3lib
-SMHBA_RemovePersistentBinding.3lib		:= SOSRC = man3lib/libSMHBAAPI.3lib
-SMHBA_ScsiInquiry.3lib				:= SOSRC = man3lib/libSMHBAAPI.3lib
-SMHBA_ScsiReadCapacity.3lib			:= SOSRC = man3lib/libSMHBAAPI.3lib
-SMHBA_ScsiReportLuns.3lib			:= SOSRC = man3lib/libSMHBAAPI.3lib
-SMHBA_SendECHO.3lib				:= SOSRC = man3lib/libSMHBAAPI.3lib
-SMHBA_SendSMPPassThru.3lib			:= SOSRC = man3lib/libSMHBAAPI.3lib
-SMHBA_SendTEST.3lib				:= SOSRC = man3lib/libSMHBAAPI.3lib
-SMHBA_SetBindingSupport.3lib			:= SOSRC = man3lib/libSMHBAAPI.3lib
-SMHBA_SetPersistentBinding.3lib			:= SOSRC = man3lib/libSMHBAAPI.3lib
-libsmhbaapi.3lib				:= SOSRC = man3lib/libSMHBAAPI.3lib
+SMHBA_GetAdapterAttributes.3lib			:= LINKSRC = libSMHBAAPI.3lib
+SMHBA_GetAdapterPortAttributes.3lib		:= LINKSRC = libSMHBAAPI.3lib
+SMHBA_GetBindingCapability.3lib			:= LINKSRC = libSMHBAAPI.3lib
+SMHBA_GetBindingSupport.3lib			:= LINKSRC = libSMHBAAPI.3lib
+SMHBA_GetDiscoveredPortAttributes.3lib		:= LINKSRC = libSMHBAAPI.3lib
+SMHBA_GetFCPhyAttributes.3lib			:= LINKSRC = libSMHBAAPI.3lib
+SMHBA_GetLUNStatistics.3lib			:= LINKSRC = libSMHBAAPI.3lib
+SMHBA_GetNumberofPorts.3lib			:= LINKSRC = libSMHBAAPI.3lib
+SMHBA_GetPersistentBinding.3lib			:= LINKSRC = libSMHBAAPI.3lib
+SMHBA_GetPhyStatistics.3lib			:= LINKSRC = libSMHBAAPI.3lib
+SMHBA_GetPortAttributesByWWN.3lib		:= LINKSRC = libSMHBAAPI.3lib
+SMHBA_GetPortType.3lib				:= LINKSRC = libSMHBAAPI.3lib
+SMHBA_GetProtocolStatistics.3lib		:= LINKSRC = libSMHBAAPI.3lib
+SMHBA_GetSASPhyAttributes.3lib			:= LINKSRC = libSMHBAAPI.3lib
+SMHBA_GetTargetMapping.3lib			:= LINKSRC = libSMHBAAPI.3lib
+SMHBA_GetVendorLibraryAttributes.3lib		:= LINKSRC = libSMHBAAPI.3lib
+SMHBA_GetVersion.3lib				:= LINKSRC = libSMHBAAPI.3lib
+SMHBA_GetWrapperLibraryAttributes.3lib		:= LINKSRC = libSMHBAAPI.3lib
+SMHBA_RegisterForAdapterAddEvents.3lib		:= LINKSRC = libSMHBAAPI.3lib
+SMHBA_RegisterForAdapterEvents.3lib		:= LINKSRC = libSMHBAAPI.3lib
+SMHBA_RegisterForAdapterPhyStatEvents.3lib	:= LINKSRC = libSMHBAAPI.3lib
+SMHBA_RegisterForAdapterPortEvents.3lib		:= LINKSRC = libSMHBAAPI.3lib
+SMHBA_RegisterForAdapterPortStatEvents.3lib	:= LINKSRC = libSMHBAAPI.3lib
+SMHBA_RegisterForTargetEvents.3lib		:= LINKSRC = libSMHBAAPI.3lib
+SMHBA_RegisterLibrary.3lib			:= LINKSRC = libSMHBAAPI.3lib
+SMHBA_RemoveAllPersistentBindings.3lib		:= LINKSRC = libSMHBAAPI.3lib
+SMHBA_RemovePersistentBinding.3lib		:= LINKSRC = libSMHBAAPI.3lib
+SMHBA_ScsiInquiry.3lib				:= LINKSRC = libSMHBAAPI.3lib
+SMHBA_ScsiReadCapacity.3lib			:= LINKSRC = libSMHBAAPI.3lib
+SMHBA_ScsiReportLuns.3lib			:= LINKSRC = libSMHBAAPI.3lib
+SMHBA_SendECHO.3lib				:= LINKSRC = libSMHBAAPI.3lib
+SMHBA_SendSMPPassThru.3lib			:= LINKSRC = libSMHBAAPI.3lib
+SMHBA_SendTEST.3lib				:= LINKSRC = libSMHBAAPI.3lib
+SMHBA_SetBindingSupport.3lib			:= LINKSRC = libSMHBAAPI.3lib
+SMHBA_SetPersistentBinding.3lib			:= LINKSRC = libSMHBAAPI.3lib
+libsmhbaapi.3lib				:= LINKSRC = libSMHBAAPI.3lib
 
-libtermcap.3lib					:= SOSRC = man3lib/libcurses.3lib
-libtermlib.3lib					:= SOSRC = man3lib/libcurses.3lib
+libtermcap.3lib					:= LINKSRC = libcurses.3lib
+libtermlib.3lib					:= LINKSRC = libcurses.3lib
 
-libposix4.3lib					:= SOSRC = man3lib/librt.3lib
+libposix4.3lib					:= LINKSRC = librt.3lib
 
 .KEEP_STATE:
 
-include ../Makefile.man
+include		$(SRC)/man/Makefile.man
 
-install: $(ROOTMANFILES)
-
-
+install:	$(ROOTMANFILES) $(ROOTMANLINKS)
--- a/usr/src/man/man3libucb/Makefile	Fri Aug 30 01:19:35 2013 -0800
+++ b/usr/src/man/man3libucb/Makefile	Thu Aug 29 02:33:28 2013 +0400
@@ -9,13 +9,16 @@
 # at http://www.illumos.org/license/CDDL.
 #
 
+#
 # Copyright 2011, Richard Lowe
-
-include ../../Makefile.master
+# Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
+#
 
-MANSECT = 	3libucb
+include		$(SRC)/Makefile.master
 
-MANFILES = 	libcurses.3libucb		\
+MANSECT= 	3libucb
+
+MANFILES=	libcurses.3libucb		\
 		libdbm.3libucb			\
 		librpcsoc.3libucb		\
 		libtermcap.3libucb		\
@@ -23,6 +26,6 @@
 
 .KEEP_STATE:
 
-include ../Makefile.man
+include		$(SRC)/man/Makefile.man
 
-install: $(ROOTMANFILES)
+install:	$(ROOTMANFILES)
--- a/usr/src/man/man3mail/Makefile	Fri Aug 30 01:19:35 2013 -0800
+++ b/usr/src/man/man3mail/Makefile	Thu Aug 29 02:33:28 2013 +0400
@@ -9,27 +9,26 @@
 # at http://www.illumos.org/license/CDDL.
 #
 
+#
 # Copyright 2011, Richard Lowe
-
-include ../../Makefile.master
+# Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
+#
 
-MANSECT = 	3mail
+include		$(SRC)/Makefile.master
 
-MANFILES =	maillock.3mail
+MANSECT= 	3mail
 
-MANSOFILES =	mailunlock.3mail	\
-			touchlock.3mail
+MANFILES=	maillock.3mail
 
-MANFILES +=	$(MANSOFILES)
+MANLINKS=	mailunlock.3mail	\
+		touchlock.3mail
 
-mailunlock.3mail	:= SOSRC = man3mail/maillock.3mail
+mailunlock.3mail	:= LINKSRC = maillock.3mail
 
-touchlock.3mail		:= SOSRC = man3mail/maillock.3mail
+touchlock.3mail		:= LINKSRC = maillock.3mail
 
 .KEEP_STATE:
 
-include ../Makefile.man
+include		$(SRC)/man/Makefile.man
 
-install: $(ROOTMANFILES)
-
-
+install:	$(ROOTMANFILES) $(ROOTMANLINKS)
--- a/usr/src/man/man3malloc/Makefile	Fri Aug 30 01:19:35 2013 -0800
+++ b/usr/src/man/man3malloc/Makefile	Thu Aug 29 02:33:28 2013 +0400
@@ -9,13 +9,16 @@
 # at http://www.illumos.org/license/CDDL.
 #
 
+#
 # Copyright 2011, Richard Lowe
-
-include ../../Makefile.master
+# Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
+#
 
-MANSECT = 	3malloc
+include		$(SRC)/Makefile.master
 
-MANFILES = 	bsdmalloc.3malloc		\
+MANSECT= 	3malloc
+
+MANFILES= 	bsdmalloc.3malloc		\
 		malloc.3malloc			\
 		mapmalloc.3malloc		\
 		mtmalloc.3malloc		\
@@ -24,7 +27,7 @@
 		umem_debug.3malloc		\
 		watchmalloc.3malloc
 
-MANSOFILES =	calloc.3malloc			\
+MANLINKS=	calloc.3malloc			\
 		free.3malloc			\
 		mallinfo.3malloc		\
 		mallocctl.3malloc		\
@@ -39,29 +42,26 @@
 		umem_zalloc.3malloc		\
 		valloc.3malloc
 
-MANFILES +=	$(MANSOFILES)
-
-calloc.3malloc			:= SOSRC = man3malloc/malloc.3malloc
-free.3malloc			:= SOSRC = man3malloc/malloc.3malloc
-mallinfo.3malloc		:= SOSRC = man3malloc/malloc.3malloc
-mallopt.3malloc			:= SOSRC = man3malloc/malloc.3malloc
-memalign.3malloc		:= SOSRC = man3malloc/malloc.3malloc
-realloc.3malloc			:= SOSRC = man3malloc/malloc.3malloc
-valloc.3malloc			:= SOSRC = man3malloc/malloc.3malloc
+calloc.3malloc			:= LINKSRC = malloc.3malloc
+free.3malloc			:= LINKSRC = malloc.3malloc
+mallinfo.3malloc		:= LINKSRC = malloc.3malloc
+mallopt.3malloc			:= LINKSRC = malloc.3malloc
+memalign.3malloc		:= LINKSRC = malloc.3malloc
+realloc.3malloc			:= LINKSRC = malloc.3malloc
+valloc.3malloc			:= LINKSRC = malloc.3malloc
 
-mallocctl.3malloc		:= SOSRC = man3malloc/mtmalloc.3malloc
+mallocctl.3malloc		:= LINKSRC = mtmalloc.3malloc
 
-umem_free.3malloc		:= SOSRC = man3malloc/umem_alloc.3malloc
-umem_nofail_callback.3malloc	:= SOSRC = man3malloc/umem_alloc.3malloc
-umem_zalloc.3malloc		:= SOSRC = man3malloc/umem_alloc.3malloc
+umem_free.3malloc		:= LINKSRC = umem_alloc.3malloc
+umem_nofail_callback.3malloc	:= LINKSRC = umem_alloc.3malloc
+umem_zalloc.3malloc		:= LINKSRC = umem_alloc.3malloc
 
-umem_cache_alloc.3malloc	:= SOSRC = man3malloc/umem_cache_create.3malloc
-umem_cache_destroy.3malloc	:= SOSRC = man3malloc/umem_cache_create.3malloc
-umem_cache_free.3malloc		:= SOSRC = man3malloc/umem_cache_create.3malloc
+umem_cache_alloc.3malloc	:= LINKSRC = umem_cache_create.3malloc
+umem_cache_destroy.3malloc	:= LINKSRC = umem_cache_create.3malloc
+umem_cache_free.3malloc		:= LINKSRC = umem_cache_create.3malloc
 
 .KEEP_STATE:
 
-include ../Makefile.man
+include		$(SRC)/man/Makefile.man
 
-install: $(ROOTMANFILES)
-
+install:	$(ROOTMANFILES) $(ROOTMANLINKS)
--- a/usr/src/man/man3mp/Makefile	Fri Aug 30 01:19:35 2013 -0800
+++ b/usr/src/man/man3mp/Makefile	Thu Aug 29 02:33:28 2013 +0400
@@ -9,15 +9,18 @@
 # at http://www.illumos.org/license/CDDL.
 #
 
+#
 # Copyright 2011, Richard Lowe
-
-include ../../Makefile.master
+# Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
+#
 
-MANSECT = 	3mp
+include		$(SRC)/Makefile.master
+
+MANSECT= 	3mp
 
-MANFILES = mp.3mp
+MANFILES=	mp.3mp
 
-MANSOFILES =	mp_gcd.3mp	\
+MANLINKS=	mp_gcd.3mp	\
 	 	mp_itom.3mp	\
 	 	mp_madd.3mp	\
 	 	mp_mcmp.3mp	\
@@ -34,29 +37,25 @@
 	 	mp_sdiv.3mp	\
 	 	mp_xtom.3mp
 
-MANFILES +=	$(MANSOFILES)
-
-mp_gcd.3mp	:= SOSRC = man3mp/mp.3mp
-mp_itom.3mp	:= SOSRC = man3mp/mp.3mp
-mp_madd.3mp	:= SOSRC = man3mp/mp.3mp
-mp_mcmp.3mp	:= SOSRC = man3mp/mp.3mp
-mp_mdiv.3mp	:= SOSRC = man3mp/mp.3mp
-mp_mfree.3mp	:= SOSRC = man3mp/mp.3mp
-mp_min.3mp	:= SOSRC = man3mp/mp.3mp
-mp_mout.3mp	:= SOSRC = man3mp/mp.3mp
-mp_msqrt.3mp	:= SOSRC = man3mp/mp.3mp
-mp_msub.3mp	:= SOSRC = man3mp/mp.3mp
-mp_mtox.3mp	:= SOSRC = man3mp/mp.3mp
-mp_mult.3mp	:= SOSRC = man3mp/mp.3mp
-mp_pow.3mp	:= SOSRC = man3mp/mp.3mp
-mp_rpow.3mp	:= SOSRC = man3mp/mp.3mp
-mp_sdiv.3mp	:= SOSRC = man3mp/mp.3mp
-mp_xtom.3mp	:= SOSRC = man3mp/mp.3mp
+mp_gcd.3mp	:= LINKSRC = mp.3mp
+mp_itom.3mp	:= LINKSRC = mp.3mp
+mp_madd.3mp	:= LINKSRC = mp.3mp
+mp_mcmp.3mp	:= LINKSRC = mp.3mp
+mp_mdiv.3mp	:= LINKSRC = mp.3mp
+mp_mfree.3mp	:= LINKSRC = mp.3mp
+mp_min.3mp	:= LINKSRC = mp.3mp
+mp_mout.3mp	:= LINKSRC = mp.3mp
+mp_msqrt.3mp	:= LINKSRC = mp.3mp
+mp_msub.3mp	:= LINKSRC = mp.3mp
+mp_mtox.3mp	:= LINKSRC = mp.3mp
+mp_mult.3mp	:= LINKSRC = mp.3mp
+mp_pow.3mp	:= LINKSRC = mp.3mp
+mp_rpow.3mp	:= LINKSRC = mp.3mp
+mp_sdiv.3mp	:= LINKSRC = mp.3mp
+mp_xtom.3mp	:= LINKSRC = mp.3mp
 
 .KEEP_STATE:
 
-include ../Makefile.man
+include		$(SRC)/man/Makefile.man
 
-install: $(ROOTMANFILES)
-
-
+install:	$(ROOTMANFILES) $(ROOTMANLINKS)
--- a/usr/src/man/man3mpapi/Makefile	Fri Aug 30 01:19:35 2013 -0800
+++ b/usr/src/man/man3mpapi/Makefile	Thu Aug 29 02:33:28 2013 +0400
@@ -9,13 +9,16 @@
 # at http://www.illumos.org/license/CDDL.
 #
 
+#
 # Copyright 2011, Richard Lowe
-
-include ../../Makefile.master
+# Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
+#
 
-MANSECT = 	3mpapi
+include		$(SRC)/Makefile.master
 
-MANFILES = 	MP_AssignLogicalUnitToTPG.3mpapi		\
+MANSECT= 	3mpapi
+
+MANFILES= 	MP_AssignLogicalUnitToTPG.3mpapi		\
 		MP_CancelOverridePath.3mpapi			\
 		MP_CompareOIDs.3mpapi				\
 		MP_DeregisterForObjectPropertyChanges.3mpapi	\
@@ -63,6 +66,6 @@
 
 .KEEP_STATE:
 
-include ../Makefile.man
+include		$(SRC)/man/Makefile.man
 
-install: $(ROOTMANFILES)
+install:	$(ROOTMANFILES)
--- a/usr/src/man/man3nsl/Makefile	Fri Aug 30 01:19:35 2013 -0800
+++ b/usr/src/man/man3nsl/Makefile	Thu Aug 29 02:33:28 2013 +0400
@@ -9,13 +9,16 @@
 # at http://www.illumos.org/license/CDDL.
 #
 
+#
 # Copyright 2011, Richard Lowe
-
-include ../../Makefile.master
+# Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
+#
 
-MANSECT = 	3nsl
+include		$(SRC)/Makefile.master
 
-MANFILES = 	dial.3nsl			\
+MANSECT= 	3nsl
+
+MANFILES= 	dial.3nsl			\
 	 	doconfig.3nsl			\
 	 	gethostbyname.3nsl		\
 	 	getipsecalgbyname.3nsl		\
@@ -96,478 +99,476 @@
 	 	yp_update.3nsl			\
 	 	ypclnt.3nsl
 
-MANSOFILES =	auth_destroy.3nsl			\
-		 	authdes_create.3nsl			\
-		 	authdes_getucred.3nsl			\
-		 	authdes_seccreate.3nsl			\
-		 	authnone_create.3nsl			\
-		 	authsys_create.3nsl			\
-		 	authsys_create_default.3nsl		\
-		 	authunix_create.3nsl			\
-		 	authunix_create_default.3nsl		\
-		 	callrpc.3nsl				\
-		 	clnt_broadcast.3nsl			\
-		 	clnt_call.3nsl				\
-		 	clnt_control.3nsl			\
-		 	clnt_create.3nsl			\
-		 	clnt_create_timed.3nsl			\
-		 	clnt_create_vers.3nsl			\
-		 	clnt_create_vers_timed.3nsl		\
-		 	clnt_destroy.3nsl			\
-		 	clnt_dg_create.3nsl			\
-		 	clnt_door_create.3nsl			\
-		 	clnt_freeres.3nsl			\
-		 	clnt_geterr.3nsl			\
-		 	clnt_pcreateerror.3nsl			\
-		 	clnt_perrno.3nsl			\
-		 	clnt_perror.3nsl			\
-		 	clnt_raw_create.3nsl			\
-		 	clnt_send.3nsl				\
-		 	clnt_spcreateerror.3nsl			\
-		 	clnt_sperrno.3nsl			\
-		 	clnt_sperror.3nsl			\
-		 	clnt_tli_create.3nsl			\
-		 	clnt_tp_create.3nsl			\
-		 	clnt_tp_create_timed.3nsl		\
-		 	clnt_vc_create.3nsl			\
-		 	clntraw_create.3nsl			\
-		 	clnttcp_create.3nsl			\
-		 	clntudp_bufcreate.3nsl			\
-		 	clntudp_create.3nsl			\
-		 	endhostent.3nsl				\
-		 	endnetconfig.3nsl			\
-		 	endnetpath.3nsl				\
-		 	endrpcent.3nsl				\
-		 	freeipsecalgent.3nsl			\
-		 	freenetconfigent.3nsl			\
-		 	get_myaddress.3nsl			\
-		 	gethostbyaddr.3nsl			\
-		 	gethostbyaddr_r.3nsl			\
-		 	gethostbyname_r.3nsl			\
-		 	gethostent.3nsl				\
-		 	gethostent_r.3nsl			\
-		 	getipsecalgbynum.3nsl			\
-		 	getipsecprotobynum.3nsl			\
-		 	getnetconfigent.3nsl			\
-		 	getnetname.3nsl				\
-		 	getrpcbyname_r.3nsl			\
-		 	getrpcbynumber.3nsl			\
-		 	getrpcbynumber_r.3nsl			\
-		 	getrpcent.3nsl				\
-		 	getrpcent_r.3nsl			\
-		 	getrpcport.3nsl				\
-		 	getsecretkey.3nsl			\
-		 	host2netname.3nsl			\
-		 	key_decryptsession.3nsl			\
-		 	key_encryptsession.3nsl			\
-		 	key_gendes.3nsl				\
-		 	key_secretkey_is_set.3nsl		\
-		 	key_setsecret.3nsl			\
-		 	nc_perror.3nsl				\
-		 	nc_sperror.3nsl				\
-		 	netdir_free.3nsl			\
-		 	netdir_getbyaddr.3nsl			\
-		 	netdir_getbyname.3nsl			\
-		 	netdir_mergeaddr.3nsl			\
-		 	netdir_options.3nsl			\
-		 	netdir_perror.3nsl			\
-		 	netdir_sperror.3nsl			\
-		 	netname2host.3nsl			\
-		 	netname2user.3nsl			\
-		 	pmap_getmaps.3nsl			\
-		 	pmap_getport.3nsl			\
-		 	pmap_rmtcall.3nsl			\
-		 	pmap_set.3nsl				\
-		 	pmap_unset.3nsl				\
-		 	publickey.3nsl				\
-		 	registerrpc.3nsl			\
-		 	rpc_broadcast.3nsl			\
-		 	rpc_broadcast_exp.3nsl			\
-		 	rpc_call.3nsl				\
-		 	rpc_createerr.3nsl			\
-		 	rpc_gss_get_mech_info.3nsl		\
-		 	rpc_gss_get_versions.3nsl		\
-		 	rpc_gss_is_installed.3nsl		\
-		 	rpc_gss_qop_to_num.3nsl			\
-		 	rpc_gss_svc_max_data_length.3nsl	\
-		 	rpc_reg.3nsl				\
-		 	rpcb_getaddr.3nsl			\
-		 	rpcb_getmaps.3nsl			\
-		 	rpcb_gettime.3nsl			\
-		 	rpcb_rmtcall.3nsl			\
-		 	rpcb_set.3nsl				\
-		 	rpcb_unset.3nsl				\
-		 	sethostent.3nsl				\
-		 	setnetconfig.3nsl			\
-		 	setnetpath.3nsl				\
-		 	setrpcent.3nsl				\
-		 	svc_add_input.3nsl			\
-		 	svc_auth_reg.3nsl			\
-		 	svc_control.3nsl			\
-		 	svc_create.3nsl				\
-		 	svc_destroy.3nsl			\
-		 	svc_dg_create.3nsl			\
-		 	svc_dg_enablecache.3nsl			\
-		 	svc_done.3nsl				\
-		 	svc_door_create.3nsl			\
-		 	svc_exit.3nsl				\
-		 	svc_fd_create.3nsl			\
-		 	svc_fd_negotiate_ucred.3nsl		\
-		 	svc_fds.3nsl				\
-		 	svc_fdset.3nsl				\
-		 	svc_freeargs.3nsl			\
-		 	svc_getargs.3nsl			\
-		 	svc_getcaller.3nsl			\
-		 	svc_getcallerucred.3nsl			\
-		 	svc_getreq.3nsl				\
-		 	svc_getreq_common.3nsl			\
-		 	svc_getreq_poll.3nsl			\
-		 	svc_getreqset.3nsl			\
-		 	svc_getrpccaller.3nsl			\
-		 	svc_max_pollfd.3nsl			\
-		 	svc_pollfd.3nsl				\
-		 	svc_raw_create.3nsl			\
-		 	svc_reg.3nsl				\
-		 	svc_register.3nsl			\
-		 	svc_remove_input.3nsl			\
-		 	svc_run.3nsl				\
-		 	svc_sendreply.3nsl			\
-		 	svc_tli_create.3nsl			\
-		 	svc_tp_create.3nsl			\
-		 	svc_unreg.3nsl				\
-		 	svc_unregister.3nsl			\
-		 	svc_vc_create.3nsl			\
-		 	svcerr_auth.3nsl			\
-		 	svcerr_decode.3nsl			\
-		 	svcerr_noproc.3nsl			\
-		 	svcerr_noprog.3nsl			\
-		 	svcerr_progvers.3nsl			\
-		 	svcerr_systemerr.3nsl			\
-		 	svcerr_weakauth.3nsl			\
-		 	svcfd_create.3nsl			\
-		 	svcraw_create.3nsl			\
-		 	svctcp_create.3nsl			\
-		 	svcudp_bufcreate.3nsl			\
-		 	svcudp_create.3nsl			\
-		 	taddr2uaddr.3nsl			\
-		 	uaddr2taddr.3nsl			\
-		 	undial.3nsl				\
-		 	user2netname.3nsl			\
-		 	xdr_accepted_reply.3nsl			\
-		 	xdr_array.3nsl				\
-		 	xdr_authsys_parms.3nsl			\
-		 	xdr_authunix_parms.3nsl			\
-		 	xdr_bool.3nsl				\
-		 	xdr_bytes.3nsl				\
-		 	xdr_callhdr.3nsl			\
-		 	xdr_callmsg.3nsl			\
-		 	xdr_char.3nsl				\
-		 	xdr_control.3nsl			\
-		 	xdr_destroy.3nsl			\
-		 	xdr_double.3nsl				\
-		 	xdr_enum.3nsl				\
-		 	xdr_float.3nsl				\
-		 	xdr_free.3nsl				\
-		 	xdr_getpos.3nsl				\
-		 	xdr_hyper.3nsl				\
-		 	xdr_inline.3nsl				\
-		 	xdr_int.3nsl				\
-		 	xdr_long.3nsl				\
-		 	xdr_longlong_t.3nsl			\
-		 	xdr_opaque.3nsl				\
-		 	xdr_opaque_auth.3nsl			\
-		 	xdr_pointer.3nsl			\
-		 	xdr_quadruple.3nsl			\
-		 	xdr_reference.3nsl			\
-		 	xdr_rejected_reply.3nsl			\
-		 	xdr_replymsg.3nsl			\
-		 	xdr_setpos.3nsl				\
-		 	xdr_short.3nsl				\
-		 	xdr_sizeof.3nsl				\
-		 	xdr_string.3nsl				\
-		 	xdr_u_char.3nsl				\
-		 	xdr_u_hyper.3nsl			\
-		 	xdr_u_int.3nsl				\
-		 	xdr_u_long.3nsl				\
-		 	xdr_u_longlong_t.3nsl			\
-		 	xdr_u_short.3nsl			\
-		 	xdr_union.3nsl				\
-		 	xdr_vector.3nsl				\
-		 	xdr_void.3nsl				\
-		 	xdr_wrapstring.3nsl			\
-		 	xdrmem_create.3nsl			\
-		 	xdrrec_create.3nsl			\
-		 	xdrrec_endofrecord.3nsl			\
-		 	xdrrec_eof.3nsl				\
-		 	xdrrec_readbytes.3nsl			\
-		 	xdrrec_skiprecord.3nsl			\
-		 	xdrstdio_create.3nsl			\
-		 	xprt_register.3nsl			\
-		 	xprt_unregister.3nsl			\
-		 	yp_all.3nsl				\
-		 	yp_bind.3nsl				\
-		 	yp_first.3nsl				\
-		 	yp_get_default_domain.3nsl		\
-		 	yp_master.3nsl				\
-		 	yp_match.3nsl				\
-		 	yp_next.3nsl				\
-		 	yp_order.3nsl				\
-		 	yp_unbind.3nsl				\
-		 	yperr_string.3nsl			\
-		 	ypprot_err.3nsl
+MANLINKS=	auth_destroy.3nsl			\
+		authdes_create.3nsl			\
+		authdes_getucred.3nsl			\
+		authdes_seccreate.3nsl			\
+		authnone_create.3nsl			\
+		authsys_create.3nsl			\
+		authsys_create_default.3nsl		\
+		authunix_create.3nsl			\
+		authunix_create_default.3nsl		\
+		callrpc.3nsl				\
+		clnt_broadcast.3nsl			\
+		clnt_call.3nsl				\
+		clnt_control.3nsl			\
+		clnt_create.3nsl			\
+		clnt_create_timed.3nsl			\
+		clnt_create_vers.3nsl			\
+		clnt_create_vers_timed.3nsl		\
+		clnt_destroy.3nsl			\
+		clnt_dg_create.3nsl			\
+		clnt_door_create.3nsl			\
+		clnt_freeres.3nsl			\
+		clnt_geterr.3nsl			\
+		clnt_pcreateerror.3nsl			\
+		clnt_perrno.3nsl			\
+		clnt_perror.3nsl			\
+		clnt_raw_create.3nsl			\
+		clnt_send.3nsl				\
+		clnt_spcreateerror.3nsl			\
+		clnt_sperrno.3nsl			\
+		clnt_sperror.3nsl			\
+		clnt_tli_create.3nsl			\
+		clnt_tp_create.3nsl			\
+		clnt_tp_create_timed.3nsl		\
+		clnt_vc_create.3nsl			\
+		clntraw_create.3nsl			\
+		clnttcp_create.3nsl			\
+		clntudp_bufcreate.3nsl			\
+		clntudp_create.3nsl			\
+		endhostent.3nsl				\
+		endnetconfig.3nsl			\
+		endnetpath.3nsl				\
+		endrpcent.3nsl				\
+		freeipsecalgent.3nsl			\
+		freenetconfigent.3nsl			\
+		get_myaddress.3nsl			\
+		gethostbyaddr.3nsl			\
+		gethostbyaddr_r.3nsl			\
+		gethostbyname_r.3nsl			\
+		gethostent.3nsl				\
+		gethostent_r.3nsl			\
+		getipsecalgbynum.3nsl			\
+		getipsecprotobynum.3nsl			\
+		getnetconfigent.3nsl			\
+		getnetname.3nsl				\
+		getrpcbyname_r.3nsl			\
+		getrpcbynumber.3nsl			\
+		getrpcbynumber_r.3nsl			\
+		getrpcent.3nsl				\
+		getrpcent_r.3nsl			\
+		getrpcport.3nsl				\
+		getsecretkey.3nsl			\
+		host2netname.3nsl			\
+		key_decryptsession.3nsl			\
+		key_encryptsession.3nsl			\
+		key_gendes.3nsl				\
+		key_secretkey_is_set.3nsl		\
+		key_setsecret.3nsl			\
+		nc_perror.3nsl				\
+		nc_sperror.3nsl				\
+		netdir_free.3nsl			\
+		netdir_getbyaddr.3nsl			\
+		netdir_getbyname.3nsl			\
+		netdir_mergeaddr.3nsl			\
+		netdir_options.3nsl			\
+		netdir_perror.3nsl			\
+		netdir_sperror.3nsl			\
+		netname2host.3nsl			\
+		netname2user.3nsl			\
+		pmap_getmaps.3nsl			\
+		pmap_getport.3nsl			\
+		pmap_rmtcall.3nsl			\
+		pmap_set.3nsl				\
+		pmap_unset.3nsl				\
+		publickey.3nsl				\
+		registerrpc.3nsl			\
+		rpc_broadcast.3nsl			\
+		rpc_broadcast_exp.3nsl			\
+		rpc_call.3nsl				\
+		rpc_createerr.3nsl			\
+		rpc_gss_get_mech_info.3nsl		\
+		rpc_gss_get_versions.3nsl		\
+		rpc_gss_is_installed.3nsl		\
+		rpc_gss_qop_to_num.3nsl			\
+		rpc_gss_svc_max_data_length.3nsl	\
+		rpc_reg.3nsl				\
+		rpcb_getaddr.3nsl			\
+		rpcb_getmaps.3nsl			\
+		rpcb_gettime.3nsl			\
+		rpcb_rmtcall.3nsl			\
+		rpcb_set.3nsl				\
+		rpcb_unset.3nsl				\
+		sethostent.3nsl				\
+		setnetconfig.3nsl			\
+		setnetpath.3nsl				\
+		setrpcent.3nsl				\
+		svc_add_input.3nsl			\
+		svc_auth_reg.3nsl			\
+		svc_control.3nsl			\
+		svc_create.3nsl				\
+		svc_destroy.3nsl			\
+		svc_dg_create.3nsl			\
+		svc_dg_enablecache.3nsl			\
+		svc_done.3nsl				\
+		svc_door_create.3nsl			\
+		svc_exit.3nsl				\
+		svc_fd_create.3nsl			\
+		svc_fd_negotiate_ucred.3nsl		\
+		svc_fds.3nsl				\
+		svc_fdset.3nsl				\
+		svc_freeargs.3nsl			\
+		svc_getargs.3nsl			\
+		svc_getcaller.3nsl			\
+		svc_getcallerucred.3nsl			\
+		svc_getreq.3nsl				\
+		svc_getreq_common.3nsl			\
+		svc_getreq_poll.3nsl			\
+		svc_getreqset.3nsl			\
+		svc_getrpccaller.3nsl			\
+		svc_max_pollfd.3nsl			\
+		svc_pollfd.3nsl				\
+		svc_raw_create.3nsl			\
+		svc_reg.3nsl				\
+		svc_register.3nsl			\
+		svc_remove_input.3nsl			\
+		svc_run.3nsl				\
+		svc_sendreply.3nsl			\
+		svc_tli_create.3nsl			\
+		svc_tp_create.3nsl			\
+		svc_unreg.3nsl				\
+		svc_unregister.3nsl			\
+		svc_vc_create.3nsl			\
+		svcerr_auth.3nsl			\
+		svcerr_decode.3nsl			\
+		svcerr_noproc.3nsl			\
+		svcerr_noprog.3nsl			\
+		svcerr_progvers.3nsl			\
+		svcerr_systemerr.3nsl			\
+		svcerr_weakauth.3nsl			\
+		svcfd_create.3nsl			\
+		svcraw_create.3nsl			\
+		svctcp_create.3nsl			\
+		svcudp_bufcreate.3nsl			\
+		svcudp_create.3nsl			\
+		taddr2uaddr.3nsl			\
+		uaddr2taddr.3nsl			\
+		undial.3nsl				\
+		user2netname.3nsl			\
+		xdr_accepted_reply.3nsl			\
+		xdr_array.3nsl				\
+		xdr_authsys_parms.3nsl			\
+		xdr_authunix_parms.3nsl			\
+		xdr_bool.3nsl				\
+		xdr_bytes.3nsl				\
+		xdr_callhdr.3nsl			\
+		xdr_callmsg.3nsl			\
+		xdr_char.3nsl				\
+		xdr_control.3nsl			\
+		xdr_destroy.3nsl			\
+		xdr_double.3nsl				\
+		xdr_enum.3nsl				\
+		xdr_float.3nsl				\
+		xdr_free.3nsl				\
+		xdr_getpos.3nsl				\
+		xdr_hyper.3nsl				\
+		xdr_inline.3nsl				\
+		xdr_int.3nsl				\
+		xdr_long.3nsl				\
+		xdr_longlong_t.3nsl			\
+		xdr_opaque.3nsl				\
+		xdr_opaque_auth.3nsl			\
+		xdr_pointer.3nsl			\
+		xdr_quadruple.3nsl			\
+		xdr_reference.3nsl			\
+		xdr_rejected_reply.3nsl			\
+		xdr_replymsg.3nsl			\
+		xdr_setpos.3nsl				\
+		xdr_short.3nsl				\
+		xdr_sizeof.3nsl				\
+		xdr_string.3nsl				\
+		xdr_u_char.3nsl				\
+		xdr_u_hyper.3nsl			\
+		xdr_u_int.3nsl				\
+		xdr_u_long.3nsl				\
+		xdr_u_longlong_t.3nsl			\
+		xdr_u_short.3nsl			\
+		xdr_union.3nsl				\
+		xdr_vector.3nsl				\
+		xdr_void.3nsl				\
+		xdr_wrapstring.3nsl			\
+		xdrmem_create.3nsl			\
+		xdrrec_create.3nsl			\
+		xdrrec_endofrecord.3nsl			\
+		xdrrec_eof.3nsl				\
+		xdrrec_readbytes.3nsl			\
+		xdrrec_skiprecord.3nsl			\
+		xdrstdio_create.3nsl			\
+		xprt_register.3nsl			\
+		xprt_unregister.3nsl			\
+		yp_all.3nsl				\
+		yp_bind.3nsl				\
+		yp_first.3nsl				\
+		yp_get_default_domain.3nsl		\
+		yp_master.3nsl				\
+		yp_match.3nsl				\
+		yp_next.3nsl				\
+		yp_order.3nsl				\
+		yp_unbind.3nsl				\
+		yperr_string.3nsl			\
+		ypprot_err.3nsl
 
-MANFILES +=	$(MANSOFILES)
-
-undial.3nsl				:= SOSRC = man3nsl/dial.3nsl
+undial.3nsl				:= LINKSRC = dial.3nsl
 
-endhostent.3nsl				:= SOSRC = man3nsl/gethostbyname.3nsl
-gethostbyaddr.3nsl			:= SOSRC = man3nsl/gethostbyname.3nsl
-gethostbyaddr_r.3nsl			:= SOSRC = man3nsl/gethostbyname.3nsl
-gethostbyname_r.3nsl			:= SOSRC = man3nsl/gethostbyname.3nsl
-gethostent.3nsl				:= SOSRC = man3nsl/gethostbyname.3nsl
-gethostent_r.3nsl			:= SOSRC = man3nsl/gethostbyname.3nsl
-sethostent.3nsl				:= SOSRC = man3nsl/gethostbyname.3nsl
+endhostent.3nsl				:= LINKSRC = gethostbyname.3nsl
+gethostbyaddr.3nsl			:= LINKSRC = gethostbyname.3nsl
+gethostbyaddr_r.3nsl			:= LINKSRC = gethostbyname.3nsl
+gethostbyname_r.3nsl			:= LINKSRC = gethostbyname.3nsl
+gethostent.3nsl				:= LINKSRC = gethostbyname.3nsl
+gethostent_r.3nsl			:= LINKSRC = gethostbyname.3nsl
+sethostent.3nsl				:= LINKSRC = gethostbyname.3nsl
 
-freeipsecalgent.3nsl			:= SOSRC = man3nsl/getipsecalgbyname.3nsl
-getipsecalgbynum.3nsl			:= SOSRC = man3nsl/getipsecalgbyname.3nsl
+freeipsecalgent.3nsl			:= LINKSRC = getipsecalgbyname.3nsl
+getipsecalgbynum.3nsl			:= LINKSRC = getipsecalgbyname.3nsl
 
-getipsecprotobynum.3nsl			:= SOSRC = man3nsl/getipsecprotobyname.3nsl
+getipsecprotobynum.3nsl			:= LINKSRC = getipsecprotobyname.3nsl
 
-endnetconfig.3nsl			:= SOSRC = man3nsl/getnetconfig.3nsl
-freenetconfigent.3nsl			:= SOSRC = man3nsl/getnetconfig.3nsl
-getnetconfigent.3nsl			:= SOSRC = man3nsl/getnetconfig.3nsl
-nc_perror.3nsl				:= SOSRC = man3nsl/getnetconfig.3nsl
-nc_sperror.3nsl				:= SOSRC = man3nsl/getnetconfig.3nsl
-setnetconfig.3nsl			:= SOSRC = man3nsl/getnetconfig.3nsl
+endnetconfig.3nsl			:= LINKSRC = getnetconfig.3nsl
+freenetconfigent.3nsl			:= LINKSRC = getnetconfig.3nsl
+getnetconfigent.3nsl			:= LINKSRC = getnetconfig.3nsl
+nc_perror.3nsl				:= LINKSRC = getnetconfig.3nsl
+nc_sperror.3nsl				:= LINKSRC = getnetconfig.3nsl
+setnetconfig.3nsl			:= LINKSRC = getnetconfig.3nsl
 
-endnetpath.3nsl				:= SOSRC = man3nsl/getnetpath.3nsl
-setnetpath.3nsl				:= SOSRC = man3nsl/getnetpath.3nsl
+endnetpath.3nsl				:= LINKSRC = getnetpath.3nsl
+setnetpath.3nsl				:= LINKSRC = getnetpath.3nsl
 
-getsecretkey.3nsl			:= SOSRC = man3nsl/getpublickey.3nsl
-publickey.3nsl				:= SOSRC = man3nsl/getpublickey.3nsl
+getsecretkey.3nsl			:= LINKSRC = getpublickey.3nsl
+publickey.3nsl				:= LINKSRC = getpublickey.3nsl
 
-endrpcent.3nsl				:= SOSRC = man3nsl/getrpcbyname.3nsl
-getrpcbyname_r.3nsl			:= SOSRC = man3nsl/getrpcbyname.3nsl
-getrpcbynumber.3nsl			:= SOSRC = man3nsl/getrpcbyname.3nsl
-getrpcbynumber_r.3nsl			:= SOSRC = man3nsl/getrpcbyname.3nsl
-getrpcent.3nsl				:= SOSRC = man3nsl/getrpcbyname.3nsl
-getrpcent_r.3nsl			:= SOSRC = man3nsl/getrpcbyname.3nsl
-setrpcent.3nsl				:= SOSRC = man3nsl/getrpcbyname.3nsl
+endrpcent.3nsl				:= LINKSRC = getrpcbyname.3nsl
+getrpcbyname_r.3nsl			:= LINKSRC = getrpcbyname.3nsl
+getrpcbynumber.3nsl			:= LINKSRC = getrpcbyname.3nsl
+getrpcbynumber_r.3nsl			:= LINKSRC = getrpcbyname.3nsl
+getrpcent.3nsl				:= LINKSRC = getrpcbyname.3nsl
+getrpcent_r.3nsl			:= LINKSRC = getrpcbyname.3nsl
+setrpcent.3nsl				:= LINKSRC = getrpcbyname.3nsl
 
-netdir_free.3nsl			:= SOSRC = man3nsl/netdir.3nsl
-netdir_getbyaddr.3nsl			:= SOSRC = man3nsl/netdir.3nsl
-netdir_getbyname.3nsl			:= SOSRC = man3nsl/netdir.3nsl
-netdir_mergeaddr.3nsl			:= SOSRC = man3nsl/netdir.3nsl
-netdir_options.3nsl			:= SOSRC = man3nsl/netdir.3nsl
-netdir_perror.3nsl			:= SOSRC = man3nsl/netdir.3nsl
-netdir_sperror.3nsl			:= SOSRC = man3nsl/netdir.3nsl
-taddr2uaddr.3nsl			:= SOSRC = man3nsl/netdir.3nsl
-uaddr2taddr.3nsl			:= SOSRC = man3nsl/netdir.3nsl
+netdir_free.3nsl			:= LINKSRC = netdir.3nsl
+netdir_getbyaddr.3nsl			:= LINKSRC = netdir.3nsl
+netdir_getbyname.3nsl			:= LINKSRC = netdir.3nsl
+netdir_mergeaddr.3nsl			:= LINKSRC = netdir.3nsl
+netdir_options.3nsl			:= LINKSRC = netdir.3nsl
+netdir_perror.3nsl			:= LINKSRC = netdir.3nsl
+netdir_sperror.3nsl			:= LINKSRC = netdir.3nsl
+taddr2uaddr.3nsl			:= LINKSRC = netdir.3nsl
+uaddr2taddr.3nsl			:= LINKSRC = netdir.3nsl
 
-auth_destroy.3nsl			:= SOSRC = man3nsl/rpc_clnt_auth.3nsl
-authnone_create.3nsl			:= SOSRC = man3nsl/rpc_clnt_auth.3nsl
-authsys_create.3nsl			:= SOSRC = man3nsl/rpc_clnt_auth.3nsl
-authsys_create_default.3nsl		:= SOSRC = man3nsl/rpc_clnt_auth.3nsl
+auth_destroy.3nsl			:= LINKSRC = rpc_clnt_auth.3nsl
+authnone_create.3nsl			:= LINKSRC = rpc_clnt_auth.3nsl
+authsys_create.3nsl			:= LINKSRC = rpc_clnt_auth.3nsl
+authsys_create_default.3nsl		:= LINKSRC = rpc_clnt_auth.3nsl
 
-clnt_call.3nsl				:= SOSRC = man3nsl/rpc_clnt_calls.3nsl
-clnt_freeres.3nsl			:= SOSRC = man3nsl/rpc_clnt_calls.3nsl
-clnt_geterr.3nsl			:= SOSRC = man3nsl/rpc_clnt_calls.3nsl
-clnt_perrno.3nsl			:= SOSRC = man3nsl/rpc_clnt_calls.3nsl
-clnt_perror.3nsl			:= SOSRC = man3nsl/rpc_clnt_calls.3nsl
-clnt_send.3nsl				:= SOSRC = man3nsl/rpc_clnt_calls.3nsl
-clnt_sperrno.3nsl			:= SOSRC = man3nsl/rpc_clnt_calls.3nsl
-clnt_sperror.3nsl			:= SOSRC = man3nsl/rpc_clnt_calls.3nsl
-rpc_broadcast.3nsl			:= SOSRC = man3nsl/rpc_clnt_calls.3nsl
-rpc_broadcast_exp.3nsl			:= SOSRC = man3nsl/rpc_clnt_calls.3nsl
-rpc_call.3nsl				:= SOSRC = man3nsl/rpc_clnt_calls.3nsl
+clnt_call.3nsl				:= LINKSRC = rpc_clnt_calls.3nsl
+clnt_freeres.3nsl			:= LINKSRC = rpc_clnt_calls.3nsl
+clnt_geterr.3nsl			:= LINKSRC = rpc_clnt_calls.3nsl
+clnt_perrno.3nsl			:= LINKSRC = rpc_clnt_calls.3nsl
+clnt_perror.3nsl			:= LINKSRC = rpc_clnt_calls.3nsl
+clnt_send.3nsl				:= LINKSRC = rpc_clnt_calls.3nsl
+clnt_sperrno.3nsl			:= LINKSRC = rpc_clnt_calls.3nsl
+clnt_sperror.3nsl			:= LINKSRC = rpc_clnt_calls.3nsl
+rpc_broadcast.3nsl			:= LINKSRC = rpc_clnt_calls.3nsl
+rpc_broadcast_exp.3nsl			:= LINKSRC = rpc_clnt_calls.3nsl
+rpc_call.3nsl				:= LINKSRC = rpc_clnt_calls.3nsl
 
-clnt_control.3nsl			:= SOSRC = man3nsl/rpc_clnt_create.3nsl
-clnt_create.3nsl			:= SOSRC = man3nsl/rpc_clnt_create.3nsl
-clnt_create_timed.3nsl			:= SOSRC = man3nsl/rpc_clnt_create.3nsl
-clnt_create_vers.3nsl			:= SOSRC = man3nsl/rpc_clnt_create.3nsl
-clnt_create_vers_timed.3nsl		:= SOSRC = man3nsl/rpc_clnt_create.3nsl
-clnt_destroy.3nsl			:= SOSRC = man3nsl/rpc_clnt_create.3nsl
-clnt_dg_create.3nsl			:= SOSRC = man3nsl/rpc_clnt_create.3nsl
-clnt_door_create.3nsl			:= SOSRC = man3nsl/rpc_clnt_create.3nsl
-clnt_pcreateerror.3nsl			:= SOSRC = man3nsl/rpc_clnt_create.3nsl
-clnt_raw_create.3nsl			:= SOSRC = man3nsl/rpc_clnt_create.3nsl
-clnt_spcreateerror.3nsl			:= SOSRC = man3nsl/rpc_clnt_create.3nsl
-clnt_tli_create.3nsl			:= SOSRC = man3nsl/rpc_clnt_create.3nsl
-clnt_tp_create.3nsl			:= SOSRC = man3nsl/rpc_clnt_create.3nsl
-clnt_tp_create_timed.3nsl		:= SOSRC = man3nsl/rpc_clnt_create.3nsl
-clnt_vc_create.3nsl			:= SOSRC = man3nsl/rpc_clnt_create.3nsl
-rpc_createerr.3nsl			:= SOSRC = man3nsl/rpc_clnt_create.3nsl
+clnt_control.3nsl			:= LINKSRC = rpc_clnt_create.3nsl
+clnt_create.3nsl			:= LINKSRC = rpc_clnt_create.3nsl
+clnt_create_timed.3nsl			:= LINKSRC = rpc_clnt_create.3nsl
+clnt_create_vers.3nsl			:= LINKSRC = rpc_clnt_create.3nsl
+clnt_create_vers_timed.3nsl		:= LINKSRC = rpc_clnt_create.3nsl
+clnt_destroy.3nsl			:= LINKSRC = rpc_clnt_create.3nsl
+clnt_dg_create.3nsl			:= LINKSRC = rpc_clnt_create.3nsl
+clnt_door_create.3nsl			:= LINKSRC = rpc_clnt_create.3nsl
+clnt_pcreateerror.3nsl			:= LINKSRC = rpc_clnt_create.3nsl
+clnt_raw_create.3nsl			:= LINKSRC = rpc_clnt_create.3nsl
+clnt_spcreateerror.3nsl			:= LINKSRC = rpc_clnt_create.3nsl
+clnt_tli_create.3nsl			:= LINKSRC = rpc_clnt_create.3nsl
+clnt_tp_create.3nsl			:= LINKSRC = rpc_clnt_create.3nsl
+clnt_tp_create_timed.3nsl		:= LINKSRC = rpc_clnt_create.3nsl
+clnt_vc_create.3nsl			:= LINKSRC = rpc_clnt_create.3nsl
+rpc_createerr.3nsl			:= LINKSRC = rpc_clnt_create.3nsl
 
-rpc_gss_get_mech_info.3nsl		:= SOSRC = man3nsl/rpc_gss_get_mechanisms.3nsl
-rpc_gss_get_versions.3nsl		:= SOSRC = man3nsl/rpc_gss_get_mechanisms.3nsl
-rpc_gss_is_installed.3nsl		:= SOSRC = man3nsl/rpc_gss_get_mechanisms.3nsl
+rpc_gss_get_mech_info.3nsl		:= LINKSRC = rpc_gss_get_mechanisms.3nsl
+rpc_gss_get_versions.3nsl		:= LINKSRC = rpc_gss_get_mechanisms.3nsl
+rpc_gss_is_installed.3nsl		:= LINKSRC = rpc_gss_get_mechanisms.3nsl
 
-rpc_gss_svc_max_data_length.3nsl	:= SOSRC = man3nsl/rpc_gss_max_data_length.3nsl
+rpc_gss_svc_max_data_length.3nsl	:= LINKSRC = rpc_gss_max_data_length.3nsl
 
-rpc_gss_qop_to_num.3nsl			:= SOSRC = man3nsl/rpc_gss_mech_to_oid.3nsl
+rpc_gss_qop_to_num.3nsl			:= LINKSRC = rpc_gss_mech_to_oid.3nsl
 
-authdes_create.3nsl			:= SOSRC = man3nsl/rpc_soc.3nsl
-authunix_create.3nsl			:= SOSRC = man3nsl/rpc_soc.3nsl
-authunix_create_default.3nsl		:= SOSRC = man3nsl/rpc_soc.3nsl
-callrpc.3nsl				:= SOSRC = man3nsl/rpc_soc.3nsl
-clnt_broadcast.3nsl			:= SOSRC = man3nsl/rpc_soc.3nsl
-clntraw_create.3nsl			:= SOSRC = man3nsl/rpc_soc.3nsl
-clnttcp_create.3nsl			:= SOSRC = man3nsl/rpc_soc.3nsl
-clntudp_bufcreate.3nsl			:= SOSRC = man3nsl/rpc_soc.3nsl
-clntudp_create.3nsl			:= SOSRC = man3nsl/rpc_soc.3nsl
-get_myaddress.3nsl			:= SOSRC = man3nsl/rpc_soc.3nsl
-getrpcport.3nsl				:= SOSRC = man3nsl/rpc_soc.3nsl
-pmap_getmaps.3nsl			:= SOSRC = man3nsl/rpc_soc.3nsl
-pmap_getport.3nsl			:= SOSRC = man3nsl/rpc_soc.3nsl
-pmap_rmtcall.3nsl			:= SOSRC = man3nsl/rpc_soc.3nsl
-pmap_set.3nsl				:= SOSRC = man3nsl/rpc_soc.3nsl
-pmap_unset.3nsl				:= SOSRC = man3nsl/rpc_soc.3nsl
-registerrpc.3nsl			:= SOSRC = man3nsl/rpc_soc.3nsl
-svc_fds.3nsl				:= SOSRC = man3nsl/rpc_soc.3nsl
-svc_getcaller.3nsl			:= SOSRC = man3nsl/rpc_soc.3nsl
-svc_getreq.3nsl				:= SOSRC = man3nsl/rpc_soc.3nsl
-svc_register.3nsl			:= SOSRC = man3nsl/rpc_soc.3nsl
-svc_unregister.3nsl			:= SOSRC = man3nsl/rpc_soc.3nsl
-svcfd_create.3nsl			:= SOSRC = man3nsl/rpc_soc.3nsl
-svcraw_create.3nsl			:= SOSRC = man3nsl/rpc_soc.3nsl
-svctcp_create.3nsl			:= SOSRC = man3nsl/rpc_soc.3nsl
-svcudp_bufcreate.3nsl			:= SOSRC = man3nsl/rpc_soc.3nsl
-svcudp_create.3nsl			:= SOSRC = man3nsl/rpc_soc.3nsl
-xdr_authunix_parms.3nsl			:= SOSRC = man3nsl/rpc_soc.3nsl
+authdes_create.3nsl			:= LINKSRC = rpc_soc.3nsl
+authunix_create.3nsl			:= LINKSRC = rpc_soc.3nsl
+authunix_create_default.3nsl		:= LINKSRC = rpc_soc.3nsl
+callrpc.3nsl				:= LINKSRC = rpc_soc.3nsl
+clnt_broadcast.3nsl			:= LINKSRC = rpc_soc.3nsl
+clntraw_create.3nsl			:= LINKSRC = rpc_soc.3nsl
+clnttcp_create.3nsl			:= LINKSRC = rpc_soc.3nsl
+clntudp_bufcreate.3nsl			:= LINKSRC = rpc_soc.3nsl
+clntudp_create.3nsl			:= LINKSRC = rpc_soc.3nsl
+get_myaddress.3nsl			:= LINKSRC = rpc_soc.3nsl
+getrpcport.3nsl				:= LINKSRC = rpc_soc.3nsl
+pmap_getmaps.3nsl			:= LINKSRC = rpc_soc.3nsl
+pmap_getport.3nsl			:= LINKSRC = rpc_soc.3nsl
+pmap_rmtcall.3nsl			:= LINKSRC = rpc_soc.3nsl
+pmap_set.3nsl				:= LINKSRC = rpc_soc.3nsl
+pmap_unset.3nsl				:= LINKSRC = rpc_soc.3nsl
+registerrpc.3nsl			:= LINKSRC = rpc_soc.3nsl
+svc_fds.3nsl				:= LINKSRC = rpc_soc.3nsl
+svc_getcaller.3nsl			:= LINKSRC = rpc_soc.3nsl
+svc_getreq.3nsl				:= LINKSRC = rpc_soc.3nsl
+svc_register.3nsl			:= LINKSRC = rpc_soc.3nsl
+svc_unregister.3nsl			:= LINKSRC = rpc_soc.3nsl
+svcfd_create.3nsl			:= LINKSRC = rpc_soc.3nsl
+svcraw_create.3nsl			:= LINKSRC = rpc_soc.3nsl
+svctcp_create.3nsl			:= LINKSRC = rpc_soc.3nsl
+svcudp_bufcreate.3nsl			:= LINKSRC = rpc_soc.3nsl
+svcudp_create.3nsl			:= LINKSRC = rpc_soc.3nsl
+xdr_authunix_parms.3nsl			:= LINKSRC = rpc_soc.3nsl
 
-svc_dg_enablecache.3nsl			:= SOSRC = man3nsl/rpc_svc_calls.3nsl
-svc_done.3nsl				:= SOSRC = man3nsl/rpc_svc_calls.3nsl
-svc_exit.3nsl				:= SOSRC = man3nsl/rpc_svc_calls.3nsl
-svc_fd_negotiate_ucred.3nsl		:= SOSRC = man3nsl/rpc_svc_calls.3nsl
-svc_fdset.3nsl				:= SOSRC = man3nsl/rpc_svc_calls.3nsl
-svc_freeargs.3nsl			:= SOSRC = man3nsl/rpc_svc_calls.3nsl
-svc_getargs.3nsl			:= SOSRC = man3nsl/rpc_svc_calls.3nsl
-svc_getcallerucred.3nsl			:= SOSRC = man3nsl/rpc_svc_calls.3nsl
-svc_getreq_common.3nsl			:= SOSRC = man3nsl/rpc_svc_calls.3nsl
-svc_getreq_poll.3nsl			:= SOSRC = man3nsl/rpc_svc_calls.3nsl
-svc_getreqset.3nsl			:= SOSRC = man3nsl/rpc_svc_calls.3nsl
-svc_getrpccaller.3nsl			:= SOSRC = man3nsl/rpc_svc_calls.3nsl
-svc_max_pollfd.3nsl			:= SOSRC = man3nsl/rpc_svc_calls.3nsl
-svc_pollfd.3nsl				:= SOSRC = man3nsl/rpc_svc_calls.3nsl
-svc_run.3nsl				:= SOSRC = man3nsl/rpc_svc_calls.3nsl
-svc_sendreply.3nsl			:= SOSRC = man3nsl/rpc_svc_calls.3nsl
+svc_dg_enablecache.3nsl			:= LINKSRC = rpc_svc_calls.3nsl
+svc_done.3nsl				:= LINKSRC = rpc_svc_calls.3nsl
+svc_exit.3nsl				:= LINKSRC = rpc_svc_calls.3nsl
+svc_fd_negotiate_ucred.3nsl		:= LINKSRC = rpc_svc_calls.3nsl
+svc_fdset.3nsl				:= LINKSRC = rpc_svc_calls.3nsl
+svc_freeargs.3nsl			:= LINKSRC = rpc_svc_calls.3nsl
+svc_getargs.3nsl			:= LINKSRC = rpc_svc_calls.3nsl
+svc_getcallerucred.3nsl			:= LINKSRC = rpc_svc_calls.3nsl
+svc_getreq_common.3nsl			:= LINKSRC = rpc_svc_calls.3nsl
+svc_getreq_poll.3nsl			:= LINKSRC = rpc_svc_calls.3nsl
+svc_getreqset.3nsl			:= LINKSRC = rpc_svc_calls.3nsl
+svc_getrpccaller.3nsl			:= LINKSRC = rpc_svc_calls.3nsl
+svc_max_pollfd.3nsl			:= LINKSRC = rpc_svc_calls.3nsl
+svc_pollfd.3nsl				:= LINKSRC = rpc_svc_calls.3nsl
+svc_run.3nsl				:= LINKSRC = rpc_svc_calls.3nsl
+svc_sendreply.3nsl			:= LINKSRC = rpc_svc_calls.3nsl
 
-svc_control.3nsl			:= SOSRC = man3nsl/rpc_svc_create.3nsl
-svc_create.3nsl				:= SOSRC = man3nsl/rpc_svc_create.3nsl
-svc_destroy.3nsl			:= SOSRC = man3nsl/rpc_svc_create.3nsl
-svc_dg_create.3nsl			:= SOSRC = man3nsl/rpc_svc_create.3nsl
-svc_door_create.3nsl			:= SOSRC = man3nsl/rpc_svc_create.3nsl
-svc_fd_create.3nsl			:= SOSRC = man3nsl/rpc_svc_create.3nsl
-svc_raw_create.3nsl			:= SOSRC = man3nsl/rpc_svc_create.3nsl
-svc_tli_create.3nsl			:= SOSRC = man3nsl/rpc_svc_create.3nsl
-svc_tp_create.3nsl			:= SOSRC = man3nsl/rpc_svc_create.3nsl
-svc_vc_create.3nsl			:= SOSRC = man3nsl/rpc_svc_create.3nsl
+svc_control.3nsl			:= LINKSRC = rpc_svc_create.3nsl
+svc_create.3nsl				:= LINKSRC = rpc_svc_create.3nsl
+svc_destroy.3nsl			:= LINKSRC = rpc_svc_create.3nsl
+svc_dg_create.3nsl			:= LINKSRC = rpc_svc_create.3nsl
+svc_door_create.3nsl			:= LINKSRC = rpc_svc_create.3nsl
+svc_fd_create.3nsl			:= LINKSRC = rpc_svc_create.3nsl
+svc_raw_create.3nsl			:= LINKSRC = rpc_svc_create.3nsl
+svc_tli_create.3nsl			:= LINKSRC = rpc_svc_create.3nsl
+svc_tp_create.3nsl			:= LINKSRC = rpc_svc_create.3nsl
+svc_vc_create.3nsl			:= LINKSRC = rpc_svc_create.3nsl
 
-svcerr_auth.3nsl			:= SOSRC = man3nsl/rpc_svc_err.3nsl
-svcerr_decode.3nsl			:= SOSRC = man3nsl/rpc_svc_err.3nsl
-svcerr_noproc.3nsl			:= SOSRC = man3nsl/rpc_svc_err.3nsl
-svcerr_noprog.3nsl			:= SOSRC = man3nsl/rpc_svc_err.3nsl
-svcerr_progvers.3nsl			:= SOSRC = man3nsl/rpc_svc_err.3nsl
-svcerr_systemerr.3nsl			:= SOSRC = man3nsl/rpc_svc_err.3nsl
-svcerr_weakauth.3nsl			:= SOSRC = man3nsl/rpc_svc_err.3nsl
+svcerr_auth.3nsl			:= LINKSRC = rpc_svc_err.3nsl
+svcerr_decode.3nsl			:= LINKSRC = rpc_svc_err.3nsl
+svcerr_noproc.3nsl			:= LINKSRC = rpc_svc_err.3nsl
+svcerr_noprog.3nsl			:= LINKSRC = rpc_svc_err.3nsl
+svcerr_progvers.3nsl			:= LINKSRC = rpc_svc_err.3nsl
+svcerr_systemerr.3nsl			:= LINKSRC = rpc_svc_err.3nsl
+svcerr_weakauth.3nsl			:= LINKSRC = rpc_svc_err.3nsl
 
-svc_add_input.3nsl			:= SOSRC = man3nsl/rpc_svc_input.3nsl
-svc_remove_input.3nsl			:= SOSRC = man3nsl/rpc_svc_input.3nsl
+svc_add_input.3nsl			:= LINKSRC = rpc_svc_input.3nsl
+svc_remove_input.3nsl			:= LINKSRC = rpc_svc_input.3nsl
 
-rpc_reg.3nsl				:= SOSRC = man3nsl/rpc_svc_reg.3nsl
-svc_auth_reg.3nsl			:= SOSRC = man3nsl/rpc_svc_reg.3nsl
-svc_reg.3nsl				:= SOSRC = man3nsl/rpc_svc_reg.3nsl
-svc_unreg.3nsl				:= SOSRC = man3nsl/rpc_svc_reg.3nsl
-xprt_register.3nsl			:= SOSRC = man3nsl/rpc_svc_reg.3nsl
-xprt_unregister.3nsl			:= SOSRC = man3nsl/rpc_svc_reg.3nsl
+rpc_reg.3nsl				:= LINKSRC = rpc_svc_reg.3nsl
+svc_auth_reg.3nsl			:= LINKSRC = rpc_svc_reg.3nsl
+svc_reg.3nsl				:= LINKSRC = rpc_svc_reg.3nsl
+svc_unreg.3nsl				:= LINKSRC = rpc_svc_reg.3nsl
+xprt_register.3nsl			:= LINKSRC = rpc_svc_reg.3nsl
+xprt_unregister.3nsl			:= LINKSRC = rpc_svc_reg.3nsl
 
-xdr_accepted_reply.3nsl			:= SOSRC = man3nsl/rpc_xdr.3nsl
-xdr_authsys_parms.3nsl			:= SOSRC = man3nsl/rpc_xdr.3nsl
-xdr_callhdr.3nsl			:= SOSRC = man3nsl/rpc_xdr.3nsl
-xdr_callmsg.3nsl			:= SOSRC = man3nsl/rpc_xdr.3nsl
-xdr_opaque_auth.3nsl			:= SOSRC = man3nsl/rpc_xdr.3nsl
-xdr_rejected_reply.3nsl			:= SOSRC = man3nsl/rpc_xdr.3nsl
-xdr_replymsg.3nsl			:= SOSRC = man3nsl/rpc_xdr.3nsl
+xdr_accepted_reply.3nsl			:= LINKSRC = rpc_xdr.3nsl
+xdr_authsys_parms.3nsl			:= LINKSRC = rpc_xdr.3nsl
+xdr_callhdr.3nsl			:= LINKSRC = rpc_xdr.3nsl
+xdr_callmsg.3nsl			:= LINKSRC = rpc_xdr.3nsl
+xdr_opaque_auth.3nsl			:= LINKSRC = rpc_xdr.3nsl
+xdr_rejected_reply.3nsl			:= LINKSRC = rpc_xdr.3nsl
+xdr_replymsg.3nsl			:= LINKSRC = rpc_xdr.3nsl
 
-rpcb_getaddr.3nsl			:= SOSRC = man3nsl/rpcbind.3nsl
-rpcb_getmaps.3nsl			:= SOSRC = man3nsl/rpcbind.3nsl
-rpcb_gettime.3nsl			:= SOSRC = man3nsl/rpcbind.3nsl
-rpcb_rmtcall.3nsl			:= SOSRC = man3nsl/rpcbind.3nsl
-rpcb_set.3nsl				:= SOSRC = man3nsl/rpcbind.3nsl
-rpcb_unset.3nsl				:= SOSRC = man3nsl/rpcbind.3nsl
+rpcb_getaddr.3nsl			:= LINKSRC = rpcbind.3nsl
+rpcb_getmaps.3nsl			:= LINKSRC = rpcbind.3nsl
+rpcb_gettime.3nsl			:= LINKSRC = rpcbind.3nsl
+rpcb_rmtcall.3nsl			:= LINKSRC = rpcbind.3nsl
+rpcb_set.3nsl				:= LINKSRC = rpcbind.3nsl
+rpcb_unset.3nsl				:= LINKSRC = rpcbind.3nsl
 
-authdes_getucred.3nsl			:= SOSRC = man3nsl/secure_rpc.3nsl
-authdes_seccreate.3nsl			:= SOSRC = man3nsl/secure_rpc.3nsl
-getnetname.3nsl				:= SOSRC = man3nsl/secure_rpc.3nsl
-host2netname.3nsl			:= SOSRC = man3nsl/secure_rpc.3nsl
-key_decryptsession.3nsl			:= SOSRC = man3nsl/secure_rpc.3nsl
-key_encryptsession.3nsl			:= SOSRC = man3nsl/secure_rpc.3nsl
-key_gendes.3nsl				:= SOSRC = man3nsl/secure_rpc.3nsl
-key_secretkey_is_set.3nsl		:= SOSRC = man3nsl/secure_rpc.3nsl
-key_setsecret.3nsl			:= SOSRC = man3nsl/secure_rpc.3nsl
-netname2host.3nsl			:= SOSRC = man3nsl/secure_rpc.3nsl
-netname2user.3nsl			:= SOSRC = man3nsl/secure_rpc.3nsl
-user2netname.3nsl			:= SOSRC = man3nsl/secure_rpc.3nsl
+authdes_getucred.3nsl			:= LINKSRC = secure_rpc.3nsl
+authdes_seccreate.3nsl			:= LINKSRC = secure_rpc.3nsl
+getnetname.3nsl				:= LINKSRC = secure_rpc.3nsl
+host2netname.3nsl			:= LINKSRC = secure_rpc.3nsl
+key_decryptsession.3nsl			:= LINKSRC = secure_rpc.3nsl
+key_encryptsession.3nsl			:= LINKSRC = secure_rpc.3nsl
+key_gendes.3nsl				:= LINKSRC = secure_rpc.3nsl
+key_secretkey_is_set.3nsl		:= LINKSRC = secure_rpc.3nsl
+key_setsecret.3nsl			:= LINKSRC = secure_rpc.3nsl
+netname2host.3nsl			:= LINKSRC = secure_rpc.3nsl
+netname2user.3nsl			:= LINKSRC = secure_rpc.3nsl
+user2netname.3nsl			:= LINKSRC = secure_rpc.3nsl
 
-xdr_control.3nsl			:= SOSRC = man3nsl/xdr_admin.3nsl
-xdr_getpos.3nsl				:= SOSRC = man3nsl/xdr_admin.3nsl
-xdr_inline.3nsl				:= SOSRC = man3nsl/xdr_admin.3nsl
-xdr_setpos.3nsl				:= SOSRC = man3nsl/xdr_admin.3nsl
-xdr_sizeof.3nsl				:= SOSRC = man3nsl/xdr_admin.3nsl
-xdrrec_endofrecord.3nsl			:= SOSRC = man3nsl/xdr_admin.3nsl
-xdrrec_eof.3nsl				:= SOSRC = man3nsl/xdr_admin.3nsl
-xdrrec_readbytes.3nsl			:= SOSRC = man3nsl/xdr_admin.3nsl
-xdrrec_skiprecord.3nsl			:= SOSRC = man3nsl/xdr_admin.3nsl
+xdr_control.3nsl			:= LINKSRC = xdr_admin.3nsl
+xdr_getpos.3nsl				:= LINKSRC = xdr_admin.3nsl
+xdr_inline.3nsl				:= LINKSRC = xdr_admin.3nsl
+xdr_setpos.3nsl				:= LINKSRC = xdr_admin.3nsl
+xdr_sizeof.3nsl				:= LINKSRC = xdr_admin.3nsl
+xdrrec_endofrecord.3nsl			:= LINKSRC = xdr_admin.3nsl
+xdrrec_eof.3nsl				:= LINKSRC = xdr_admin.3nsl
+xdrrec_readbytes.3nsl			:= LINKSRC = xdr_admin.3nsl
+xdrrec_skiprecord.3nsl			:= LINKSRC = xdr_admin.3nsl
 
-xdr_array.3nsl				:= SOSRC = man3nsl/xdr_complex.3nsl
-xdr_bytes.3nsl				:= SOSRC = man3nsl/xdr_complex.3nsl
-xdr_opaque.3nsl				:= SOSRC = man3nsl/xdr_complex.3nsl
-xdr_pointer.3nsl			:= SOSRC = man3nsl/xdr_complex.3nsl
-xdr_reference.3nsl			:= SOSRC = man3nsl/xdr_complex.3nsl
-xdr_string.3nsl				:= SOSRC = man3nsl/xdr_complex.3nsl
-xdr_union.3nsl				:= SOSRC = man3nsl/xdr_complex.3nsl
-xdr_vector.3nsl				:= SOSRC = man3nsl/xdr_complex.3nsl
-xdr_wrapstring.3nsl			:= SOSRC = man3nsl/xdr_complex.3nsl
+xdr_array.3nsl				:= LINKSRC = xdr_complex.3nsl
+xdr_bytes.3nsl				:= LINKSRC = xdr_complex.3nsl
+xdr_opaque.3nsl				:= LINKSRC = xdr_complex.3nsl
+xdr_pointer.3nsl			:= LINKSRC = xdr_complex.3nsl
+xdr_reference.3nsl			:= LINKSRC = xdr_complex.3nsl
+xdr_string.3nsl				:= LINKSRC = xdr_complex.3nsl
+xdr_union.3nsl				:= LINKSRC = xdr_complex.3nsl
+xdr_vector.3nsl				:= LINKSRC = xdr_complex.3nsl
+xdr_wrapstring.3nsl			:= LINKSRC = xdr_complex.3nsl
 
-xdr_destroy.3nsl			:= SOSRC = man3nsl/xdr_create.3nsl
-xdrmem_create.3nsl			:= SOSRC = man3nsl/xdr_create.3nsl
-xdrrec_create.3nsl			:= SOSRC = man3nsl/xdr_create.3nsl
-xdrstdio_create.3nsl			:= SOSRC = man3nsl/xdr_create.3nsl
+xdr_destroy.3nsl			:= LINKSRC = xdr_create.3nsl
+xdrmem_create.3nsl			:= LINKSRC = xdr_create.3nsl
+xdrrec_create.3nsl			:= LINKSRC = xdr_create.3nsl
+xdrstdio_create.3nsl			:= LINKSRC = xdr_create.3nsl
 
-xdr_bool.3nsl				:= SOSRC = man3nsl/xdr_simple.3nsl
-xdr_char.3nsl				:= SOSRC = man3nsl/xdr_simple.3nsl
-xdr_double.3nsl				:= SOSRC = man3nsl/xdr_simple.3nsl
-xdr_enum.3nsl				:= SOSRC = man3nsl/xdr_simple.3nsl
-xdr_float.3nsl				:= SOSRC = man3nsl/xdr_simple.3nsl
-xdr_free.3nsl				:= SOSRC = man3nsl/xdr_simple.3nsl
-xdr_hyper.3nsl				:= SOSRC = man3nsl/xdr_simple.3nsl
-xdr_int.3nsl				:= SOSRC = man3nsl/xdr_simple.3nsl
-xdr_long.3nsl				:= SOSRC = man3nsl/xdr_simple.3nsl
-xdr_longlong_t.3nsl			:= SOSRC = man3nsl/xdr_simple.3nsl
-xdr_quadruple.3nsl			:= SOSRC = man3nsl/xdr_simple.3nsl
-xdr_short.3nsl				:= SOSRC = man3nsl/xdr_simple.3nsl
-xdr_u_char.3nsl				:= SOSRC = man3nsl/xdr_simple.3nsl
-xdr_u_hyper.3nsl			:= SOSRC = man3nsl/xdr_simple.3nsl
-xdr_u_int.3nsl				:= SOSRC = man3nsl/xdr_simple.3nsl
-xdr_u_long.3nsl				:= SOSRC = man3nsl/xdr_simple.3nsl
-xdr_u_longlong_t.3nsl			:= SOSRC = man3nsl/xdr_simple.3nsl
-xdr_u_short.3nsl			:= SOSRC = man3nsl/xdr_simple.3nsl
-xdr_void.3nsl				:= SOSRC = man3nsl/xdr_simple.3nsl
+xdr_bool.3nsl				:= LINKSRC = xdr_simple.3nsl
+xdr_char.3nsl				:= LINKSRC = xdr_simple.3nsl
+xdr_double.3nsl				:= LINKSRC = xdr_simple.3nsl
+xdr_enum.3nsl				:= LINKSRC = xdr_simple.3nsl
+xdr_float.3nsl				:= LINKSRC = xdr_simple.3nsl
+xdr_free.3nsl				:= LINKSRC = xdr_simple.3nsl
+xdr_hyper.3nsl				:= LINKSRC = xdr_simple.3nsl
+xdr_int.3nsl				:= LINKSRC = xdr_simple.3nsl
+xdr_long.3nsl				:= LINKSRC = xdr_simple.3nsl
+xdr_longlong_t.3nsl			:= LINKSRC = xdr_simple.3nsl
+xdr_quadruple.3nsl			:= LINKSRC = xdr_simple.3nsl
+xdr_short.3nsl				:= LINKSRC = xdr_simple.3nsl
+xdr_u_char.3nsl				:= LINKSRC = xdr_simple.3nsl
+xdr_u_hyper.3nsl			:= LINKSRC = xdr_simple.3nsl
+xdr_u_int.3nsl				:= LINKSRC = xdr_simple.3nsl
+xdr_u_long.3nsl				:= LINKSRC = xdr_simple.3nsl
+xdr_u_longlong_t.3nsl			:= LINKSRC = xdr_simple.3nsl
+xdr_u_short.3nsl			:= LINKSRC = xdr_simple.3nsl
+xdr_void.3nsl				:= LINKSRC = xdr_simple.3nsl